Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2077 - The Linear Gauge series doesn't changes face color (backcolor)
Summary: The Linear Gauge series doesn't changes face color (backcolor)
Status: RESOLVED NOTABUG
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 10:34 EDT by sandra pazos
Modified: 2020-04-06 12:57 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2018-08-17 10:34:47 EDT
The Linear Gauge series doesn't changes face color (backcolor) 
Private Sub Form_Load()
TChart1.Legend.Visible = False
TChart1.Series(0).asLinearGauge.Face.Color = vbWhite
TChart1.Series(0).asLinearGauge.Face.Brush.Gradient.Visible = False
TChart1.Series(0).asLinearGauge.Face.Brush.BackColor = vbWhite
End Sub
Comment 1 sandra pazos 2018-08-17 10:41:11 EDT
The problem affect to the linear gauge series font text, too.
Comment 2 pep jorge 2020-04-06 12:57:16 EDT
In order to change the back color via code you have to set the ShapeVisible property to True first, as Face is invisible by default.
The following code works fine here :

TChart1.AddSeries scLinearGauge
TChart1.Panel.Gradient.Visible = False
TChart1.Legend.Visible = False
TChart1.Series(0).asLinearGauge.Face.ShapeVisible = True
TChart1.Series(0).asLinearGauge.Face.Color = vbWhite
TChart1.Series(0).asLinearGauge.Face.Brush.Gradient.Visible = False
TChart1.Series(0).asLinearGauge.Face.Brush.BackColor = vbWhite