Dear Suba,
Thanks for reply.
But I still can't managed to do that. I have more than 25000 of records as initial and new data will be added into the chart at real time.
The data structure of my database table are as follow:
Price Time
100 2008-01-17 17:32:03.253
200 2008-01-17 17:32:43.253
300 2008-01-17 17:33:43.253
I tried to calculate Zoom factor based on your suggestion for better display.But it doesn't work.
Please take a look at the attachment file.
Regards,
Aung
>Hi Anug,
Thank you for using Syncfusion product.
Programmatically the chart can be zoomed using ZoomFactorX and ZoomFactorY. The Zoom factor is usually between 0 and 1. When set to 1, the chart isn't zoomed. When set to 0.5, the chart is double its usual size. Scrollbars will automatically appear to allow any section of the hidden range to be viewed. The default value is 1. The ZoomPositionX returns the offset position when zoomed along the X axis.
The zooming factor is the value by which intervals are multiplied to have the effect of a more fine grained range. The interval value is calculated based on the ChartDateTimeInterval values of the axes. For example, if the calculated interval is 5 and the zoom factor is 0.5, then the zoomed interval with this zoom factor will be 2.5. Therefore, there will be twice as many interval points across the same range. Scrollbars will automatically appear to allow any section of the zoomed range to be viewed.
Please look into the sample and let me know if its helps:
http://websamples.syncfusion.com/samples/Chart.Windows/70669/main.htm Kindly refer the documentation for more information about Zooming:
http://www2.syncfusion.com/ug_61/chart/default.html Regards,
Suba
sample.zip