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.
Unfortunately, activation email could not send to your email. Please try again.

Implementing Chart Area X Axis scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

104309 Jul 10,2012 04:07 AM Aug 31,2012 03:20 AM Windows Forms 4
loading
Tags: Chart
Vignesh Babu
Asked On July 10, 2012 04:07 AM

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.

Vignesh Babu
Replied On July 16, 2012 03:28 AM

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 ?


Sivakumar D [Syncfusion]
Replied On August 9, 2012 05:01 AM

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


Vignesh Babu
Replied On August 30, 2012 04:09 AM

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

Sivakumar D [Syncfusion]
Replied On August 31, 2012 03:20 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;