I have changed the facebrush color to red, but I didn't find how to change the background color of the number
Thanks
How change background of a numeric gauge
How change background of a numeric gauge
- Attachments
-
- background.png (3.74 KiB) Viewed 8259 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: How change background of a numeric gauge
Try:wakeup wrote:I have changed the facebrush color to red, but I didn't find how to change the background color of the number
Code: Select all
private void InitializeChart()
{
NumericGauge series = new Steema.TeeChart.Styles.NumericGauge(tChart1.Chart);
series.FillSampleValues();
series.FaceBrush.Gradient.Visible = false;
series.FaceBrush.Color = Color.Red;
foreach (Marker item in series.Markers)
{
item.UsePalette = false;
item.Shape.Gradient.Visible = false;
item.Shape.Color = Color.Red;
}
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How change background of a numeric gauge
It doesn't run. I don't know why is it yellow...
Is it possible to chanche from charteditor?
Is it possible to chanche from charteditor?
- Attachments
-
- background.png (18.99 KiB) Viewed 8241 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: How change background of a numeric gauge
The code I posted works as expected using TeeChart v.4.1.2014.02240 - which version are you using?wakeup wrote:It doesn't run. I don't know why is it yellow...
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How change background of a numeric gauge
Sorry, you are right, it runs. Thanks