PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SeriesColor (Property)
In french: CouleurSérie
..SeriesColor is used to:
  • Find out the color of a series in a chart.
  • Modify the color of a series in a chart.
Note: This property is equivalent to grSeriesColor.
Versions 16 and later
Linux This property is now available for the WINDEV applications in Linux.
New in version 16
Linux This property is now available for the WINDEV applications in Linux.
Linux This property is now available for the WINDEV applications in Linux.
Example
IF CHART_MyChart[2]..SeriesColor = grColorAutomatic THEN
CHART_MyChart[2]..SeriesColor = LightRed
END
Syntax

Finding out the color of a series Hide the details

<Result> = <Series>..SeriesColor
<Result>: Integer or Integer constant
Color of specified series. This color corresponds to:
  • the grColorAutomatic constant (if the color is defined automatically).
  • an RGB color (returned by RGB),
  • a preset color.
<Series>: Character string
Series whose color is requested. Use the following notation: <Chart Name>[<Series Number>].

Modifying the color of a series Hide the details

<Series>..SeriesColor = <New Color>
<Series>: Character string
Series whose color must be modified. Use the following notation: <Chart Name>[<Series Number>].
<New Color>: Integer or Integer constant
Color of specified series. This color corresponds to:
  • the grColorAutomatic constant (if the color must be defined automatically).
  • an RGB color (returned by RGB),
  • a preset color.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment