By default I have a tick every 10 values, but how can I change it?
Thanks
Circular gauge ticks frequency
Re: Circular gauge ticks frequency
Hello wakeup,
You an change the increment of the circular gauge axis, as do in next line of code:
I hope will helps.
Thanks,
You an change the increment of the circular gauge axis, as do in next line of code:
Code: Select all
circulargauge1.Axis.Increment = 5;
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 |
Re: Circular gauge ticks frequency
It runs with CircularGauges and LinearGauges but not with basic Gauges. How can I do it in them?
Thanks
Thanks
Re: Circular gauge ticks frequency
Hello wakeup,
With basic Gauges, please try next:
I hope will helps.
Thanks,
With basic Gauges, please try next:
Code: Select all
Steema.TeeChart.Styles.Gauges gauge = new Steema.TeeChart.Styles.Gauges(tChart1.Chart);
tChart1.Axes.Left.Increment = 5;
I hope will helps.
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 |
Re: Circular gauge ticks frequency
It works but it is a bit strange it you have several serie in the same chart
If you change the increment of a circular gauge
circulargauge1.Axis.Increment = 5;
it changes also the increment of the gauges.
And if you change the increment of a basic gauge
tChart1.Axes.Left.Increment = 5;
it changes alto the increment in the circular gauges of the same chart
But if you change the increment of a horizontal gauge and vertical gauge, it doesn't affect to the other series in the same chart.
I think it is a bit anoying for the user... Or have I misunderstood something?
Thanks
If you change the increment of a circular gauge
circulargauge1.Axis.Increment = 5;
it changes also the increment of the gauges.
And if you change the increment of a basic gauge
tChart1.Axes.Left.Increment = 5;
it changes alto the increment in the circular gauges of the same chart
But if you change the increment of a horizontal gauge and vertical gauge, it doesn't affect to the other series in the same chart.
I think it is a bit anoying for the user... Or have I misunderstood something?
Thanks
Re: Circular gauge ticks frequency
Hello wakeup,
I apologize with you, because I forgot tell you is possible use GetVertAxis() to change the increment for Basic Gauge, Circular and Linear Gauge.
On the other hand, Gauge series always works with vertical Axis, the other axes never are used in this type of Series.
Could you tell us if next code works if you want?
I hope will helps.
Thanks,
I apologize with you, because I forgot tell you is possible use GetVertAxis() to change the increment for Basic Gauge, Circular and Linear Gauge.
On the other hand, Gauge series always works with vertical Axis, the other axes never are used in this type of Series.
Could you tell us if next code works if you want?
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
Steema.TeeChart.Styles.Gauges gauge = new Steema.TeeChart.Styles.Gauges(tChart1.Chart);
gauge.GetVertAxis.Increment = 1;
}
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 |