Reminder: By default, the colors of series (or the colors of sections) are selected according to a preset order among a set of 13 colors.

Versions 15 and later

This function is now available for WEBDEV sites in Linux.

Caution: A specific configuration is required to use this function in Linux. See The charts for more details.

New in version 15

This function is now available for WEBDEV sites in Linux.

Caution: A specific configuration is required to use this function in Linux. See The charts for more details.

This function is now available for WEBDEV sites in Linux.

Caution: A specific configuration is required to use this function in Linux. See The charts for more details.

Versions 16 and later

This function is now available for WINDEV applications in Linux.

New in version 16

This function is now available for WINDEV applications in Linux.

This function is now available for WINDEV applications in Linux.

Versions 17 and later

This function is now available for iPhone/iPad applications.

New in version 17

This function is now available for iPhone/iPad applications.

This function is now available for iPhone/iPad applications.

Versions 18 and later

This function is now available in Windows Store apps mode.

New in version 18

This function is now available in Windows Store apps mode.

This function is now available in Windows Store apps mode.

Versions 21 and later

This function is now available in Universal Windows 10 App mode.

New in version 21

This function is now available in Universal Windows 10 App mode.

This function is now available in Universal Windows 10 App mode.

Versions 23 and later

This function is now available for PHP sites.

New in version 23

This function is now available for PHP sites.

This function is now available for PHP sites.

Example

// Adds a data into the "Scatter" chart named "MyChart".// This value (10, 20) is added at the end of the first series.grScatterAddDataXY("MyChart", 1, 10, 20)// The series 1 of "MyChart" is colored in yellowgrScatterSeriesColor("MyChart", 1, LightYellow)

// Adds a data into the CHART_MyChart control ("Scatter" chart).// This value (20, 20) is added at the end of the first series.grScatterAddDataXY(CHART_MyChart, 1, 20, 20)// The series 1 of CHART_MyChart is colored in greengrScatterSeriesColor(CHART_MyChart, 1, LightGreen)

[ + ] Using the main chart designer features of WINDEV:- Create a Pie, Column or Line chart- Define the display area of a chart- Define the chart options (legend, percentage, ...)- Draw a line on a chart