PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
The Property Colour Series allows you to:
  • Find out the color of a series in a chart.
  • Modify the color of a series in a chart.
Remark: This property is equivalent to grSeriesColor.
Versions 16 and later
Linux This property is now available for WINDEV applications in Linux.
New in version 16
Linux This property is now available for WINDEV applications in Linux.
Linux This property is now available for WINDEV applications in Linux.
Example
IF GRF_MyGraph[2].ColourSeries = grColorAutomatic THEN
GRF_MonGraph[2].ColorSeries = 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 can correspond 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 can correspond 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