RDEN

Members
  • Content count

    9
  • Joined

  • Last visited

About RDEN

  • Rank
    Forum Newbie

Profile Information

  • Gender
    Male
  1. Hi, I have also noticed that a new div with css class _SmartLabel_Container is appended to the DOM each time a chart is rendered or updated in the 3.3.1-sr3 version. These divs are never removed from the DOM even after a call to the default dispose() method. Your replacement is doing the trick shamasis but is it planned to be fixed in future release ? because it is not a viable solution to make this manual change between each FusionCharts lib release.
  2. Hi, I encountered the following js error (FusionCharts.HC.js) when trying to dispose charts on IE8 from ajax rendered tabs (richfaces tabs) : Unable to get property 'removeChild' of undefined or null reference To give a little more context, i have some ajax rendered tabs each of them rendering some charts. When a tab switch is performed, current tab charts are rendered and i need to dispose previous ones. I am checking that the FusionCharts instance exists before calling .dispose() but it doesn't help : var chart = FusionCharts(chartId); if(!!chart) chart.dispose(); Indeed the FusionCharts instance exists but the associated html5 markup is no longer in the DOM (due to the ajax re-render) and it seems that the part of the dispose method responsible of removing the markup from the DOM is still called. Debugging reveals that the error comes from the line 'this.canvas.parentNode.removeChild(this.canvas);' (FusionCharts.HC.js) where 'this.canvas.parentNode' is null : b.prototype.remove = function () { K("raphael.remove", this); this.canvas.parentNode.removeChild(this.canvas); for (var c in this) this[c] = typeof this[c] == "function" ? b._removedFactory(c) : null; return !0 }; Maybe some tests can be added to be sure that chart markup is present before trying to remove it ? I temporarily bypassed the problem by adding a null check before the removeChild() call. Also there is no error on chrome nor firefox.
  3. Context menu items translation

    Hi ! Thanks for your reply ! Unfortunately i don't have the sources. Hope this feature will be included in a future update
  4. Hi, I would like to know if there is a way to translate context menu items. My application is for French users and I want to translate the followings : - Print Chart - Enable Rotation - Enable Slicing Movement - View 2D - View 3D I found the following XML attributes : - exportDataMenuItemLabel - aboutMenuItemLabel to translate some menu items but what about the others ? Thanks