Dear all,
I have a tChart with several series of bars. Each of them are displayed on its own axis, everything works fine.
But these bars seem to be displayed "in the air". I would like to put a black bar at the bottom of each axis to seperate series.
I know that's it's working with another tChart with Lines series we have in our application.
What can I do ?
Thank you very much
Damien
tChart - Multi axis separation
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Damien,
You could use either custom horizontal axes for each series or ColorLine tools. You'll find more information about both features in the features demo available at TeeChart's program group.
Hope this helps!
You could use either custom horizontal axes for each series or ColorLine tools. You'll find more information about both features in the features demo available at TeeChart's program group.
Hope this helps!
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 |
Hi Narcìs,
According to the Help file, I've tried something like that:
Steema.TeeChart.Axis ax;
tChartHisto.Axes.Custom.Add(ax = new Steema.TeeChart.Axis());
ax.Horizontal = true;
ax.RelativePosition = axisPower.StartPosition;
tChartHisto.Series[0].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Custom;
tChartHisto.Series[0].CustomHorizAxis = ax;
ax.AxisPen.Color = Color.Black;
ax.AxisPen.Width = 2;
...but it's not working.
Could you help me ?
Thanks.
Damien
According to the Help file, I've tried something like that:
Steema.TeeChart.Axis ax;
tChartHisto.Axes.Custom.Add(ax = new Steema.TeeChart.Axis());
ax.Horizontal = true;
ax.RelativePosition = axisPower.StartPosition;
tChartHisto.Series[0].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Custom;
tChartHisto.Series[0].CustomHorizAxis = ax;
ax.AxisPen.Color = Color.Black;
ax.AxisPen.Width = 2;
...but it's not working.
Could you help me ?
Thanks.
Damien
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Damien,
Try removing this line:
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here.
You can either post your files at news://www.steema.net/steema.public.attachments newgroup or at our upload page.
Thanks in advance!
Try removing this line:
Code: Select all
tChartHisto.Series[0].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Custom;
You can either post your files at news://www.steema.net/steema.public.attachments newgroup or at our upload page.
Thanks in advance!
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Damien
You're very welcome! I'm glad to hear that helped .
You're very welcome! I'm glad to hear that helped .
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 |