Home
> Discussions & Support
> Topic
Empty String Passed to GetElementbyId()
Posted by KathrynAsha
Empty String Passed to GetElementbyId() April 11, 2010 05:19PM |
Registered: 14 years ago Posts: 2 |
Hi Guys,
I love the JSCharts component but i cannot seem to track down a warning being issued whenever i display a chart. The chart displays fine and has all the data in it as well as styling but it keeps bringing up the following 2 warnings per chart.draw().
"Warning: Empty string passed to getElementById()."
"Warning: Empty string passed to getElementById()."
I am using FF3.5.1 and here is the creation code
var myChart_Prices = new JSChart('id_TRADE_Chart_1', 'line');
myChart_Prices.setDataArray(Chart_Price_HIG_Array,'Highest Price');
myChart_Prices.setDataArray(Chart_Price_LOW_Array,'Lowest Price');
myChart_Prices.setDataArray(Chart_Price_AVG_Array,'Average Price');
myChart_Prices.setSize(759, 223);
myChart_Prices.setAxisValuesNumberX (15);
myChart_Prices.setAxisValuesDecimals(0)
myChart_Prices.setAxisNameX ('Days');
myChart_Prices.setAxisNameY('Cr');
myChart_Prices.setIntervalEndX ( 0);
myChart_Prices.setIntervalStartX ( -30);
myChart_Prices.setTitle('Market Price History for Cargo item');
myChart_Prices.draw();
Have i missed something?
This is pretty important as it is the only problem i have encountered with it and i will be buying the multisite licence to use it if i can get this sorted.
Cheers
Kay.
P.s. And no...just ignore it as it has no impact is not an option...lol. Those little yellow warning symbols are the bane of my life.
I love the JSCharts component but i cannot seem to track down a warning being issued whenever i display a chart. The chart displays fine and has all the data in it as well as styling but it keeps bringing up the following 2 warnings per chart.draw().
"Warning: Empty string passed to getElementById()."
"Warning: Empty string passed to getElementById()."
I am using FF3.5.1 and here is the creation code
var myChart_Prices = new JSChart('id_TRADE_Chart_1', 'line');
myChart_Prices.setDataArray(Chart_Price_HIG_Array,'Highest Price');
myChart_Prices.setDataArray(Chart_Price_LOW_Array,'Lowest Price');
myChart_Prices.setDataArray(Chart_Price_AVG_Array,'Average Price');
myChart_Prices.setSize(759, 223);
myChart_Prices.setAxisValuesNumberX (15);
myChart_Prices.setAxisValuesDecimals(0)
myChart_Prices.setAxisNameX ('Days');
myChart_Prices.setAxisNameY('Cr');
myChart_Prices.setIntervalEndX ( 0);
myChart_Prices.setIntervalStartX ( -30);
myChart_Prices.setTitle('Market Price History for Cargo item');
myChart_Prices.draw();
Have i missed something?
This is pretty important as it is the only problem i have encountered with it and i will be buying the multisite licence to use it if i can get this sorted.
Cheers
Kay.
P.s. And no...just ignore it as it has no impact is not an option...lol. Those little yellow warning symbols are the bane of my life.
Re: Empty String Passed to GetElementbyId() April 20, 2010 01:37PM |
Registered: 14 years ago Posts: 2 |
Re: Empty String Passed to GetElementbyId() March 08, 2011 01:07PM |
Registered: 13 years ago Posts: 1 |
Sorry, you do not have permission to post/reply in this forum.