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.
CircularGauge.Axis.Labels.Visible not working
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello,
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:Setting CircularGauge.Axis.Labels.Visible = false; in code doesn't work either.
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/
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/
Thanks! The axis labels are hidden after accessing the TChart.Bitmap.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; }
Also, thanks for the heads up about the next release. I'm looking forward to it.