Hi steema,
we have some issues related to Scrollpager tool of Tchart given as below,
We want to show Left and Right axis on Scrollpager as shown in Tchart.
Series1 Y axis is Left.
Series2 Y axis is Right.
We want to show both axis of Series1 and Series2 in ScrollPager also.
Thanks in advance.
Thanks
Show Left and Right axis on Tchart as well as in Scrollpage
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Show Left and Right axis on Tchart as well as in Scrollpage
You could try:amol wrote: We want to show both axis of Series1 and Series2 in ScrollPager also.
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Line series1 = new Line(tChart1.Chart);
Line series2 = new Line(tChart1.Chart);
series1.FillSampleValues(400);
series2.FillSampleValues(400);
series2.VertAxis = VerticalAxis.Right;
ScrollPager tool = new ScrollPager(tChart1.Chart);
tool.Series = series1;
tool.SubChartTChart[0].VertAxis = VerticalAxis.Both;
}
Best Regards,
Christopher Ireland / 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 |
Re: Show Left and Right axis on Tchart as well as in Scrollpage
Thanks For Reply,
But we have one more query given as below,
if Series 2 Vertaxis property is Right then the Left Axis will be not show and Width of ScrollPager will also not change.
Thanks in advance.
But we have one more query given as below,
if Series 2 Vertaxis property is Right then the Left Axis will be not show and Width of ScrollPager will also not change.
Thanks in advance.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Show Left and Right axis on Tchart as well as in Scrollpage
Hello,
In the latest version of TeeChart.dll, the following code:
gives the following chart:
In the latest version of TeeChart.dll, the following code:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Line series1 = new Line(tChart1.Chart);
Line series2 = new Line(tChart1.Chart);
series1.FillSampleValues(400);
series2.FillSampleValues(400);
series2.VertAxis = VerticalAxis.Right;
ScrollPager tool = new ScrollPager(tChart1.Chart);
tool.Series = series1;
tool.SubChartTChart[0].VertAxis = VerticalAxis.Right;
}
Best Regards,
Christopher Ireland / 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 |