CircularGauge.Axis.Labels.Visible not working

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
arnshea
Newbie
Newbie
Posts: 5
Joined: Tue Jul 10, 2007 12:00 am

CircularGauge.Axis.Labels.Visible not working

Post by arnshea » Mon Jul 23, 2007 10:50 pm

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.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Tue Jul 24, 2007 6:47 am

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;			
		}
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

arnshea
Newbie
Newbie
Posts: 5
Joined: Tue Jul 10, 2007 12:00 am

Post by arnshea » Tue Jul 24, 2007 1:15 pm

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.

Post Reply