BackColor – background color
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
BackColor
")
WriteCWProperty
(GraphVarName, "
BackColor
", Value)
Description: The background color for labeling axes depends on the ScaleTextInsideChar‐
tArea property - also the scaling texts.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (QString)
Value Value to be set (QString) as RGB value in the form
"#RRGGBB", for example, "#04B7FB"
ChartBackColor – background color of the drawing area
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
ChartBackColor
")
WriteCWProperty
(GraphVarName, "
ChartBackColor
", Value)
Description: Background color for the drawing area.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (QString)
Value Value to be set (QString) as RGB value in the form
"#RRGGBB", for example, "#04B7FB"
ForeColor - foreground color for labeling and default pen color
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
ForeColor
")
WriteCWProperty
(GraphVarName, "
ForeColor
", Value)
Description: Foreground color for text and default pen color
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (QString)
Value Value to be set (QString) as RGB value in the form
"#RRGGBB", for example, "#04B7FB"
ForeColorY2 - foreground color for labeling the second Y axis (right)
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
ForeColorY2
")
WriteCWProperty
(GraphVarName, "
ForeColorY2
", Value)
Description: Foreground color for the texts of the second Y axis (right)
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (QString)
Value Value to be set (QString) as RGB value in the form
"#RRGGBB", for example, "#04B7FB"
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 227