We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Implementing Chart Area X Axis scrolling

There are many components to be listed in the X axis. Is there any way that instead of Auto spacing the points according to the chart size, the scroll bar needs to be displayed with the appropriate spacing intervals.And also aligning the X Axis label with the scroll bar. Let me know if any other inputs are required.

Thanks.

4 Replies

VB Vignesh Babu July 16, 2012 07:28 AM UTC

Hi,

I am using Stacked Column chart. I need to populate more columns along X axis. Is there any way for displaying the scroll bar along the X axis for the chart area. Can you share the sample if any ?



SD Sivakumar D Syncfusion Team August 9, 2012 09:01 AM UTC

Hi Vignesh,

 Thanks for using Syncfusion Products.

Sorry for the delay.

 We supports interactive Zooming features along the x and y axis. We suggest you to use “Zoomfactor” of PrimaryXAxis to display the scrollbar along the x axis when huge number of points (i.e. more number of columns) added in chart.

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.

Please refer below code snippet.

[C#]

<code>

this.chartControl1.PrimaryXAxis.ZoomFactor = 0.05;

</code>

For more information about ZoomFactor, Please refer our online documenation link below.

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Chart/Documents/zoomingandscrolling1.htm

For your convenience, we have modified the sample and the same can be downloaded from the following link.

F104309.zip

Please let me know if you have any other questions or concerns.

Regards,

Siva



VB Vignesh Babu August 30, 2012 08:09 AM UTC

Hi Siva, 

Thanks for the reply.
The sample you shared is compiled in .Net framework 4.0. I am using 3.5 Version of .Net and the Syncfusion version is 8.2.0.18. And also the CursorLocation in chart area was not supported in this version.It would be useful if you share the sample matching this configuration.

Thanks


SD Sivakumar D Syncfusion Team August 31, 2012 07:20 AM UTC

Hi Vignesh,

Thanks for your update.

We have modified the sample in .net framework 3.5 and the sample can be downloaded from below link.

F104309.zip

Please let me know if you have any other questions or concerns.

Regards,

Siva


Loader.
Live Chat Icon For mobile
Up arrow icon