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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ChartSeriesType.Line with an extremely large amount of data

Thread ID:

Created:

Updated:

Platform:

Replies:

53595 Dec 15,2006 09:52 PM UTC Dec 16,2006 12:18 AM UTC WinForms 1
loading
Tags: Chart
Chad Hershberger
Asked On December 15, 2006 09:52 PM UTC

We have 3,000,000 points that we want to display in a ChartControl with a Type set to "ChartSeriesType.Line." The 3,000,000 points represents 72 hours worth of data where the PrimaryXAxis is a DateTime value and the PrimaryYAxis is a double value.

Knowing that multiple data points would fall into a single pixel on the screen based on the resolution and size of the chart, how should we setup a chart view that would depict a reasonable view into the 3,000,000 datapoints. We want the user to use the scrollbar to scroll the data left or right. Note, the vertical "Y" axis can be fixed i.e. no autosizing.


We are using version 4.4.0.51 with C# Windows Forms.

Administrator [Syncfusion]
Replied On December 16, 2006 12:18 AM UTC

Hi Chad,

For getting ScrollBar in chart you have to set EnableXZooming, ZoomFactorX, ZoomPositionX properties. Please have a look at the below code which help you to set these properties.

this.chartControl1.EnableXZooming = true;
this.chartControl1.ZoomFactorX = .1; // Divide into 10 visible regions
this.chartControl1.ZoomPositionX = .4; // Move visible range to start at 40% of range

Please take a look into the attached sample for more information

Chart with ScrollBar sample

Let me know if this helps.

Thanks for your interest in Syncfusion products.

Regards,
Sureshbabu

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.

Warning Icon 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.Close Icon

;