3 y axes plotting on a common x axis of time

Hi,,

I am looking for a single chart that has 3 different y axis with values on a common x axis of time.

The time should be in the interval of 5 min.

Any help or samples would be great.

Thanks,

Saleem


1 Reply

VR Vallarasu Ravichandran Syncfusion Team March 18, 2026 09:34 AM UTC

Hi Saleem,

 

Thank you for reaching out.

Yes, we can absolutely display three different Y‑axes on a single chart while sharing a common X‑axis based on 5‑minute time intervals. In our WinForms Chart control, additional axes can be created and assigned to specific series as needed.

Below is an example code snippet showing how you can configure the primary axis and then add one or more secondary Y‑axes.

 

Configuring the Primary X and Y Axes

 

C#

// Configure primary X‑axis

this.chartControl1.PrimaryXAxis.ValueType = ChartValueType.DateTime;

// Configure primary Y‑axis

this.chartControl1.PrimaryYAxis.ValueType = ChartValueType.Double;

 

Adding a Secondary Y‑Axis

 

C#

// Create a new chart axis instance

ChartAxis secYAxis = new ChartAxis();

 

// Set orientation

secYAxis.Orientation = ChartOrientation.Vertical;

 

// Add it to the chart's axis collection

this.chartControl1.Axes.Add(secYAxis);

 

// Assign to a specific series

this.chartControl1.Series[1].YAxis = secYAxis;

 

Adding Another Y‑Axis

Follow the above pattern to create and assign another axis to the axis collection and the required series.

Each axis will appear on the chart, and you can customize its position, label style, color, and alignment as needed

 

We can use the DateTimeRange property of the primary X‑axis to customize the range of the axis. This allows you to set the minimum value, maximum value, interval, and interval type according to your requirements.


Reference:

How to handle different types of axes and display them in reverse order in WinForms Chart?

Multiple Axes in Windows Forms Chart control | Syncfusion

Chart Axes Opposed Position in Windows Forms Chart control | Syncfusion

Specifying Custom Ranges for DataTime ValueType in Windows Forms Chart control | Syncfusion

 

If you need any further assistance, feel free to reach out.

 

Best regards,

Vallarasu R


Loader.
Up arrow icon