Hello Steema Support,
I am using Tee chart in SilverLight Application in this chart I am using two Series one is Bar and another one is line. For Line series I am using Bottom axes as X value and Right Axes as Y value and Bar series Left axes is Y value . I want to Show two separate Bottom Axes one is For Bar Chart and another one is for Line as it is shown in attaching Image.
Any suggestion will be highly appreciated.
Thanks & Regards
Plano team
Query Regarding Axes in Teechart
Query Regarding Axes in Teechart
- Attachments
-
- Query Regarding Axes in Teechart
- Axeespics.png (19.09 KiB) Viewed 7683 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Query Regarding Axes in Teechart
Hello,
In that case you can use custom axes. You'll find information in tutorial 4 and the All Features\Welcome !\Axes\Permanent custom axes example in the features demo. Both tutorials and demo are available at TeeChart's program group.
In that case you can use custom axes. You'll find information in tutorial 4 and the All Features\Welcome !\Axes\Permanent custom axes example in the features demo. Both tutorials and demo are available at TeeChart's program group.
Best Regards,
Narcís Calvet / 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: Query Regarding Axes in Teechart
Hello Steema Support,
Thanks for the reply, but I want to show axes in the manner which I have shown in previously attached image and by that tutorial of the tee chart it is possible only on that similar bottom axes but I want to use two separate bottom axes one is for Line & other one is for bar and all the time both axes must be visible.
I am also attaching one sample project for this.
Please include teechart dll version 4.1.2011.4192.
Any Solution will be highly appreciated.
Thanks & regards
Plano team
Thanks for the reply, but I want to show axes in the manner which I have shown in previously attached image and by that tutorial of the tee chart it is possible only on that similar bottom axes but I want to use two separate bottom axes one is for Line & other one is for bar and all the time both axes must be visible.
I am also attaching one sample project for this.
Please include teechart dll version 4.1.2011.4192.
Any Solution will be highly appreciated.
Thanks & regards
Plano team
- Attachments
-
- Test.rar
- (34.82 KiB) Downloaded 665 times
Re: Query Regarding Axes in Teechart
Hello Amol,
I suggest you add next lines of code in your InitializeBarValues method to achieve as you want:
Can you tell us if previous code works in your end?
Thanks,
I suggest you add next lines of code in your InitializeBarValues method to achieve as you want:
Code: Select all
tChartGraph.Panel.MarginBottom = 100;
tChartGraph.Axes.Left.PositionUnits = PositionUnits.Pixels;
tChartGraph.Axes.Bottom.PositionUnits = PositionUnits.Pixels;
tChartGraph.Panel.MarginUnits = PanelMarginUnits.Pixels;
tChartGraph.Draw();
axisLineBottom.RelativePosition = -10;
tChartGraph.Legend.Left = axisbarBottom.IAxisSize / 2;
tChartGraph.Legend.Top = tChartGraph.Axes.Left.IEndPos +(int) tChartGraph.Panel.MarginBottom;
CustomAxes axes = tChartGraph.Axes.Custom;
for (int t = 0; t < axes.Count; t++)
{
axes[t].Visible = true;
}
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 |