chinmayu Report post Posted September 22, 2009 (edited) Hi I am using Data streaming charts to show dynamic update from a database .... when the data is not being pulled in real time the chart displayed is perfect .... But when the data is being pulled in real time .... the chart looks over stretched .. All the attributes are similar except those which are necessary for real time update .... Chart Attributes for Normal Chart ::: Chart Attributes for Real Time Data Chart ::: Attached are the Real time chart and Normal Chart for Comparison .... Also following code renders the chart for both the types .... i.e normal and Real Time What Am i missing or doing wrong ? Thanks a million in advance .... Chinmay I've put my code in and code tags still they are not showing up .... Please bear with me ... Edited September 22, 2009 by Guest Share this post Link to post Share on other sites
Guest Rajroop Report post Posted September 22, 2009 Hi Chinmayu, I'm afraid the only difference between the Line Chart and the Real-time Line chart is that of the flow in data, in case of the Real-time Line Chart. The display of the Real-time Line Chart would solely depend on the data that is passed to the chart and plotted. In case, you would want to change the way the Real-time Line is plotting on the canvas, there are a few ways to 'tweak' this. 1. You could try and set a higher upper limit of the Y-Axis so as to make the Line appear centric in its display on the chart. 2. You could also use numDisplaySets attribute to set a lower number of data items that you want as history on the chart. This will help in a less 'stretched' display of the line. I hope this helps. Share this post Link to post Share on other sites
chinmayu Report post Posted September 22, 2009 Thanks for your response ... But i was more kinda concerned about the outlines .... and the horizontal colored sections .... they are stretching outside the designated area .... Why the real line graph is skewed ... Its like the chart is going outside the chart container ...... Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted September 23, 2009 Hi, Could you please send us the XML code for the real time graph? Awaiting for your reply. Share this post Link to post Share on other sites
chinmayu Report post Posted September 25, 2009 Sorry for replying so late .... Enclosed is the Mslinereal.xml file .... Do let me know if you need anything else .... Thanks a lot MSlinereal.xml Share this post Link to post Share on other sites