Hello antoine,
If the Increment property is to small, the label on the axis can't be read. Is it possible to autosize the label?
You can try to use property separation of axes labels to separate the labels. And also I recommend you to read this
thread where almost all possibilities about overlapping labels where discussed and as left axis is the axis that Gauges/CircularGauge series use so those are the labels you should work with.
Is it a semi-log or a log? What I mean by semi-log is that the axis is linear decade.
I have checked it and your are right. I have added it in wish-list with number [
TF02015626] to be consider inclusion in next maintenance releases of TeeChart.Net.
When I use this:
Code: Select all
((CircularGauge)tc_Chart.Series[0]).Value = rand.Next(10000);
If the random number is superior the max value of the gauge(1000), the gauge does not resize.
Using this code and last version of TeeChart.Net WPF the gauge resize for me.
Code: Select all
Random rnd;
private void InitializeChart()
{
rnd = new Random();
Steema.TeeChart.WPF.Styles.CircularGauge gauge = new Steema.TeeChart.WPF.Styles.CircularGauge();
gauge.TotalAngle = 270;
gauge.RotationAngle = 225;
tChart1.Series.Clear();
tChart1.Series.Add(gauge);
tChart1[0].FillSampleValues();
tChart1.Invalidate();
gauge.Minimum = 0;
gauge.Maximum = 1000;
gauge.Value = rnd.Next(10000);
tChart1.Axes.Left.Increment = 100;
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.LogarithmicBase = 10;
}
private void button1_Click(object sender, EventArgs e)
{
rnd = new Random();
(tChart1[0] as Steema.TeeChart.WPF.Styles.CircularGauge).Value = rnd.Next(10000);
}
Could you please, check if previous code works for you? On the other hand, you can tell us which version of TeeChart are you using, now?
Thanks,