smsc Report post Posted March 19, 2009 Good morning all, I need to handle a lot of data, in particular on a single chart 1440 values (minutes of the days). So, my data will be for example: X Axis (value) Y Axis (time - minutes of the day) Value1 00:00 Value2 00:01 Value3 00:02 Value4 00:03 ... ... Value1440 23:59 Etc.... I choose ScrollAreaData's chart for this kind of data, and it works fine. The only problem I have is, due to high number of data, value on Y axis was not shown as reported on attached image. My question is: Is it possible to report only a few data like on X axis ?? I mean on Y axis is it possible to put for example only 24 values?? (each hours of the day) Hope my request is clear! Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 19, 2009 Hi, Could you please try using numVisiblePlot='24' attribute in <chart> element? Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 (edited) Thanks for reply. After change numVisiblePlot='24' value, ALL Y Axis' values was shown (same datas as previous chart), and also an horizzontal scroll bar was shown. Is there a way to show all datas without scroll bar and sure for me only a few value on Y Axis was enough for me. This is the chart elements: formatnumberscale="0" numdivlines='9' showValues='0' numVDivLines='22' showAlternateVGridColor='1' numVisiblePlot='24' plotGradientColor='' plotFillAlpha='30' Edited March 20, 2009 by Guest Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Please remove numVisiblePlot attribute if you don't want to display X-Axis values, and if you just want to display few Y-Axis value then please use numDivLines='{Number}' attrbute.. Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 Sorry, but I think you don't undertand me. I need to show all values in one page (without scroll bar) and if possible only some value on y Axis like this one (made myself with ms paint): Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Thanks for pointing it out, I was confuse with the axis you was talking about and that is a X-Axis anyway. Could you please try using labelStep='{Number}' attribute in <chart> element? Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 You are absolutely right, and excuse me for my mistake... :satisfied: ...and finally, IT WORKS! Thanks! Thanks! Thanks! And if I can ask, is it possible to put just some values directly on charts like this???: Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Yes, it is possible, but you need to use showValue='1' in <set> element in which you want to show values. Example: <dataset seriesName='2006'> <set value='27400' showValue='1' /> <set value='29800'/> <set value='25800' /> <set value='26800' /> <set value='29600' /> <set value='32600' /> <set value='31800' /> <set value='36700' /> <set value='29700' /> <set value='31900' /> <set value='34800' showValue='1' /> <set value='24800' /> <set value='27400' /> <set value='29800'/> <set value='25800' /> Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 Againt, thanks it works! And if I can abuse of your patience, is it possible to change value color and size and set it as bold? Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 (edited) Hi, Could you please try applying style on DATAVALUES object. Example: <chart .......> <!-- Chart Data --> <styles> <definition> <style name='FontStyle' type='font' size='12 Bold='1' /> </definition> <application> <apply toObject='DATAVALUES' styles='FontStyle' /> </application> </styles> </chart> Edited March 20, 2009 by Guest Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 (edited) Got "Invalid XML Data", this is the scheme of my XML file: -chart- -categories- -category label='0.00' /- -category label='0.01' /- ... ... -/categories- -dataset- -set value='839' /- -set value='836' showValue='1' /- ... ... -/dataset- -/chart- Now, where I can put provided style data? If I put first -/chart- I got invalid XML! Edited March 20, 2009 by Guest Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Please see this: <chart numVisiblePlot='70' showValues='0' > <categories> <category label='Jan' /> <category label='Feb' /> <category label='Mar' /> <category label='Apr' /> <category label='May' /> <category label='Jun' /> <category label='Jul' /> <category label='Aug' /> <category label='Sep' /> <category label='Oct' /> <category label='Nov' /> <category label='Dec' /> </categories> <dataset seriesName='2006'> <set value='27400' showValue='1' /> <set value='29800'/> <set value='25800' /> <set value='26800' /> <set value='29600' /> <set value='32600' /> <set value='31800' /> <set value='36700' /> <set value='29700' /> <set value='31900' /> <set value='34800' showValue='1' /> <set value='24800' /> </dataset> <dataset seriesName='2005'> <set value='10000'/> <set value='11500'/> <set value='12500'/> <set value='15000'/> <set value='11000' /> <set value='9800' /> <set value='11800' /> <set value='19700' /> <set value='21700' /> <set value='21900' /> <set value='22900' /> <set value='20800' /> <set value='27400' /> </dataset> <trendlines> <line startValue='26000' color='91C728' displayValue='Target' showOnTop='1'/> </trendlines> <styles> <definition> <style name='FontStyle' type='font' size='12' bold='1' /> </definition> <application> <apply toObject='DATAVALUES' styles='FontStyle' /> </application> </styles> </chart> Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 Ok, now it works, thanks again. And it will be perfect if is it possible to move value on chart just a little bit upper, since they are shown over the chart... Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 20, 2009 Hi, Yes, Could you please try using valuePadding='Number (pixel value)' attribute in <chart> element? Share this post Link to post Share on other sites
smsc Report post Posted March 20, 2009 Ok it works too... Thanks for your great support! Share this post Link to post Share on other sites