Hi Forum.
I have to questions:
1) In this moment im using am app to show some data, through the teechart.
Im using two axis, X and Y.
In the Y-axis, i'm using logarithmic values, with values from 0 to 5000.
The point is that the label values of the Y-axis only are 0 and 1000.
So the question is, how can I modified the Y-axis values to show intermediate values?
2) Working with the same app, the values of the X-axis are from 0 to 1.3.
Why, sometimes, in the X-axis only appear the values 0 and 1? and not the intermediate values 0.2 0.4 0.6 ....
I had set the ticks and every available option in the tools, but this values sometimes appear, and sometimes not.
Even so, when I export the teechart image to eps, I only get the values 0 and 1 in the X-axis, and later I have to modify the eps file, to include the remaining values, and this is too tedious.
Thanks
PD: I'm using Teechart for .Net, v3.
how to modify label values in teechart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: how to modify label values in teechart
Hi lolo,
Yes, you can change axis Increment property. For more information on axis settings please read tutorial 4. Tutorials can be found at TeeChart's program group. For example:lolo wrote: 1) In this moment im using am app to show some data, through the teechart.
Im using two axis, X and Y.
In the Y-axis, i'm using logarithmic values, with values from 0 to 5000.
The point is that the label values of the Y-axis only are 0 and 1000.
So the question is, how can I modified the Y-axis values to show intermediate values?
Code: Select all
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.Increment = 100;
This depends on the size of the chart. TeeChart automatically plots as much labels as can be fitted into the axes provided they don't overlap. If Increment is set to automatic, the bigger the chart is, the lower increment you'll get and the more labels will be plotted.lolo wrote: 2) Working with the same app, the values of the X-axis are from 0 to 1.3.
Why, sometimes, in the X-axis only appear the values 0 and 1? and not the intermediate values 0.2 0.4 0.6 ....
I had set the ticks and every available option in the tools, but this values sometimes appear, and sometimes not.
You can set the size of the exported image before saving the file, for example:lolo wrote: Even so, when I export the teechart image to eps, I only get the values 0 and 1 in the X-axis, and later I have to modify the eps file, to include the remaining values, and this is too tedious.
Code: Select all
tChart1.Export.Image.EPS.Width = 800;
tChart1.Export.Image.EPS.Height = 600;
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 |