Page 1 of 1

CircularGauge.Axis.Labels.Visible not working

Posted: Mon Jul 23, 2007 10:50 pm
by 13046033
How can I hide axis labels for a CircularGauge?

Using the editor appears to remove the label but as soon as the program executes the labels are still visible.

Setting CircularGauge.Axis.Labels.Visible = false; in code doesn't work either.

tChart1.Axes.Left.Labels.Visible = false; also doesn't work.

I want the axis displayed but since I can't seem to control the labels I'd like to hide them.

Posted: Tue Jul 24, 2007 6:47 am
by Chris
Hello,
Setting CircularGauge.Axis.Labels.Visible = false; in code doesn't work either.
Again, thank you for reporting this issue to us. This problem has now been fix and the fix will be in the maintenance release due out shortly. In the meantime you can workaround the issue like this:

Code: Select all

		private Steema.TeeChart.Styles.CircularGauge gauge;
		private void InitializeChart()
		{
			tChart1.Series.Add(gauge = new Steema.TeeChart.Styles.CircularGauge());
			Bitmap bmp = tChart1.Bitmap;
			gauge.Axis.Labels.Visible = false;			
		}

Posted: Tue Jul 24, 2007 1:15 pm
by 13046033
Chris wrote:Hello,

In the meantime you can workaround the issue like this:

Code: Select all

		private Steema.TeeChart.Styles.CircularGauge gauge;
		private void InitializeChart()
		{
			tChart1.Series.Add(gauge = new Steema.TeeChart.Styles.CircularGauge());
			Bitmap bmp = tChart1.Bitmap;
			gauge.Axis.Labels.Visible = false;			
		}
Thanks! The axis labels are hidden after accessing the TChart.Bitmap.

Also, thanks for the heads up about the next release. I'm looking forward to it.