How change background of a numeric gauge
Posted: Thu Mar 20, 2014 11:17 am
I have changed the facebrush color to red, but I didn't find how to change the background color of the number
Thanks
Thanks
Steema Software - Customer Support Forums
http://teechart.com/support/
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;
}
}
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...