On 6/29/09 12:58 PM, "matt_3251091" <sommer.matt@...> wrote:
Hello there. I'm having an issue when creating a chart using an XHRDataSource (the issue goes away when I test with a local test data file).. the issue is that my chart draws with a set of [what appears to be] default axis values ($0-$1 in this case of the Y), and this axis pops to the correct axis (for example, $50-$60) based on my CurrencyAxis function once the data and line on the chart is loaded. The delay is at most a quarter to half a second, but it creates a blank chart with small values on the Y axis that then are replaced with the correct values. This happens for the X axis too (date range goes from 12:00) to the correct range. So, im wondering if there is a way to not have the chart render until everything is formated correctly and in the correct range, the pop from one axis values to the other is very unattractive. I'm creating the whole chart at once using the example methods: ---thanks!
var mychart = new YAHOO.widget.LineChart("chart", jsonData,
//only needed for flash player express install