wallerius Report post Posted September 9, 2009 Hi all Don't know if this question has been up? Tried to search the forum bu couldn't fina a solution to it. So this is what I want to do: I want to use the Line2D graph and plot number of items (yaxis) over days (xaxis). The data looks like y, x 20, 0 22, 23 24, 24 30, 101 26, 168 When I plot this the axis is uniformly divided, but I dont wont that, since the angle of the graph is quite important. Using scattered graph doesn't seem to solve the issue Pls help Rgds /W Share this post Link to post Share on other sites
Guest Rajroop Report post Posted September 9, 2009 Hey W, Welcome. Could you please send us your XML so that we might have a look? Looking forward to your reply. Share this post Link to post Share on other sites
wallerius Report post Posted October 13, 2009 Thanks Sorry for late replay, been on holiday in Philipines for 4 weeks. XML looks something like; <graph yAxisMinValue='120' yAxisMaxValue='140' caption='Scandic Hotels' subcaption='Since 2007-04-26' xAxisName='Time' yAxisName='Numer of Hotels' decimalPrecision='0' numberPrefix='Hotels' showNames='1' showValues='0' showAlternateHGridColor='1' AlternateHGridColor='ff5904' divLineColor='ff5904' divLineAlpha='20' alternateHGridAlpha='5'><set name='0' value='135' tooltext='Tooltext' /> <set name='160' value='136' tooltext='Tooltext' /> <set name='4' value='137' tooltext='Tooltext' /> <set name='5' value='138' tooltext='Tooltext' /> <set name='6' value='139' tooltext='Tooltext' /> <set name='28' value='140' tooltext='Tooltext' /> </graph> ASP Code: Call renderChart("FusionCharts/Line.swf", "", strXML1, "ChartId", 600, 350, false, false) What I would like to do is to have name-value as x-label, and value as y-label. (Since "name" above is number of days passed since last change in "value") Hope this helps /W Share this post Link to post Share on other sites
Guest Madhumita Report post Posted October 13, 2009 Hello, You can have the x-axis scale like you need it by adding empty sets(<set /> ) between adjacent data plots . However, you'd need to connect the null data with the connectNullData='1' in the <chart> element, which is a part of FusionCharts v3. FusionCharts Free does not have this feature. You can try and download the FusionCharts Trial Version from the following link: http://www.fusioncharts.com/download.asp I am attaching a sample XML which i created for you. It will run perfectly in the trial version(se enclosed screenshot). Hope this helps. data.xml Share this post Link to post Share on other sites