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

Secondary Y-Axis Questions

Thread ID:





61353 May 24,2007 02:45 AM UTC May 28,2007 07:19 AM UTC WinForms 3
Tags: Chart
Asked On May 24, 2007 02:45 AM UTC

I am considering your product for use in our project. The control I need is a line graph control with these features:

1) Ability to have any number of Y-axis's tied to the data (e.g. say 3, 4 or even 10 secondary axes). Many chart programs have support for 2 (Y1 and Y2). I need more than two. This link on your web site shows two, but can even more be added?


2) The y-axis legend would stack all on one side showing the minimum/maximum values for each line. Just like the first "Network Load" image on the link above, but instead of stacking on the x-axis it stacks on the y-axis.

3) The axis legends would be color coded to match the line drawn.

4) Zooming the x or y axis would zoom all data lines together. When zooming the y-axis, all the axis legends would update showing the new min/max values for that range.

5) Scrolling the data on x-axis and y-axis needs to be possible.

6) Waving the mouse over line data points will show a popup of the exact value at that point (or if you have some other way of getting an exact value on a graph, let me know).

Its been tough finding a control that will meet these requirements.

Thanks for your assistance.


Rashidha F [Syncfusion]
Replied On May 24, 2007 10:47 AM UTC

Hi DaveL,

Thanks for evaluating Essential Chart.

You can able to achieve your all requirement using Essential Chart Control.

1)Multiple Axes:

Essential Chart support Multiple X and Y axes. You can able to add more than one secondary xy axes in chart control.

2)Axes Alignment:

Able to align the secondary axes using ChartAxesLayoutMode feature and possible to locate and customize the size of the primary and secondary axes. Also it's support to display an axes Min/Max value as a legend text while zooming using visible range property.

The following code snippet which illustrates how to align axes in different manner.

//Y axes alignment:

this.chartControl1.ChartArea.YAxesLayoutMode = ChartAxesLayoutMode.SideBySide;
this.chartControl1.ChartArea.YAxesLayoutMode = ChartAxesLayoutMode.Stacking;

//X axes alignment:

this.chartControl1.ChartArea.XAxesLayoutMode = ChartAxesLayoutMode.SideBySide;
this.chartControl1.ChartArea.XAxesLayoutMode = ChartAxesLayoutMode.Stacking;


Able to customize the Legend item color and series color. You can able to match the legend item color to series color.

4,5)Zooming and Scrolling Support:

Essential Chart Support both primary xy, multiple axes zooming and scrolling.

The following code snippet which illustrates how to enable XY axes zooming.


6)You can able to display data points using PrepareStyle Event and tooltip feature in ChartControl.

Please take a look at the attached sample.


The above sample exhibit the following features in chart control.

a)Multiple Y-axes.
b)Axes alignment .
c)Customization of the axes, legend and series color.
d)Axes Zooming and scrolling.

Let me know if you have any more queries.

Thanks and Regards,

Replied On May 24, 2007 10:40 PM UTC

Thank you, this was very helpful and looks to be very close to what I need.

One more question. Some of the data I'm plotting has missing data, or gaps. Can the chart handle "skipping" a data point and just drawing a straight line right over the missing data point?

For instance, if I have two sets of data:

Reading Data1 Data2
1 100 53
2 55 23
3 66
4 35 12
5 97 72

Data 2 is missing the 3rd value. I'd like the graph to draw a stright line betwen 23 and 12 skipping over the 3rd data point. When the graph lines are drawn, both lines are the same length (one is not shorter).

Make sense?

Many chart controls can't handle this.

Please advise.

Rashidha F [Syncfusion]
Replied On May 28, 2007 07:19 AM UTC

Hi DaveL,

My apologies for the delay in responding to you.

You can able to achieve your requirements using Essential Chart. Please take a look at the attached sample.


Let me if you have any more queries.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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