how to plot a pointgraph and a fastline series in the same graph.
I would use the left and the right side of the graphs as two different y axises for both the graph types.
how to plot a pointgraph and a fastline series in the same g
Re: how to plot a pointgraph and a fastline series in the same g
Hello cs_ech,
If you want assign for each series a different axes, you only needs use property CustomHorzAxes or CustomVertAxes of series. Please, see next simple example as assign to particular series an Axes.
Code Example:
I hope will help.
Thanks,
If you want assign for each series a different axes, you only needs use property CustomHorzAxes or CustomVertAxes of series. Please, see next simple example as assign to particular series an Axes.
Code Example:
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private Steema.TeeChart.Styles.FastLine fast;
private Steema.TeeChart.Styles.Points points;
private void InitializeChart()
{
fast = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
points = new Steema.TeeChart.Styles.Points(tChart1.Chart);
tChart1.Aspect.View3D = false;
fast.FillSampleValues(10);
points.FillSampleValues(10);
fast.CustomVertAxis = tChart1.Chart.Axes.Left;
points.CustomVertAxis = tChart1.Chart.Axes.Right;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |