We would like to use the gauges series in a teechart for instrumentation display.
The problem is that the margins is to wide. Is there any possibility to reduce the margins so that the margins is only a couple of pixels?
We want to use linear, vertical, numeric and circular gauges.
Gauges and margins
Re: Gauges and margins
Hi Janne,
This seems to work fine here:
This seems to work fine here:
Code: Select all
tChart1.Aspect.View3D = false;
tChart1.Draw();
Steema.TeeChart.Styles.CircularGauge gauges1 = new Steema.TeeChart.Styles.CircularGauge(tChart1.Chart);
//Steema.TeeChart.Styles.VerticalLinearGauge gauges1 = new Steema.TeeChart.Styles.VerticalLinearGauge(tChart1.Chart);
//Steema.TeeChart.Styles.NumericGauge gauges1 = new Steema.TeeChart.Styles.NumericGauge(tChart1.Chart);
//Steema.TeeChart.Styles.LinearGauge gauges1 = new Steema.TeeChart.Styles.LinearGauge(tChart1.Chart);
gauges1.FillSampleValues();
Rectangle rect = gauges1.CustomBounds;
rect = tChart1.Chart.ChartBounds;
gauges1.CustomBounds = rect;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gauges and margins
Hi,
I do not have any property called "CustomBounds".
Is this something that has ben added in later releases?
My version is: 3.5.3225.32185
I do not have any property called "CustomBounds".
Is this something that has ben added in later releases?
My version is: 3.5.3225.32185
Re: Gauges and margins
Hi Janne,
Yes, this is a v2009 new property. So, I'm afraid I can't think on a way to do the same in v3 right now.
Yes, this is a v2009 new property. So, I'm afraid I can't think on a way to do the same in v3 right now.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |