Loading ...
Sorry, an error occurred while loading the content.
 

Re: patch for charts-experimental.js

Expand Messages
  • tripp.bridges
    If you want to file a bug for charts. Please see here. http://developer.yahoo.com/yui/charts/#filingbugs In the meantime, you can source your changed file.
    Message 1 of 3 , Aug 18, 2008
      If you want to file a bug for charts. Please see here.
      http://developer.yahoo.com/yui/charts/#filingbugs

      In the meantime, you can source your changed file.

      Thanks,
      Tripp
      --- In ydn-javascript@yahoogroups.com, "grimholtz" <grimholtz@...> wrote:
      >
      > Hi,
      >
      > If I create a chart with a datasource like so:
      >
      > var c = new YAHOO.widget.CartesianChart("line", chartDivId, datasource);
      >
      > then later call c.destroy(), a javascript error occurs on line 1143 of
      > charts-experimental.js. The line is:
      >
      > this._swf.setDataProvider(dataProvider, styleChanged);
      >
      > and the error is that this._swf is null -- as it should be because I
      > destroyed it.
      >
      > So line 1143 should instead be:
      >
      > if (this._swf) this._swf.setDataProvider(dataProvider, styleChanged);
      >
      > How can I get this patched upstream into YUI?
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.