ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Chart properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SourceDescription (Property)
In french: SourceDescription
The SourceDescription property is used to get the name of the element used as data source of a series.
Remarks:
  • grSourceSeries is used to define the data source of series.
  • The Source property is used to get the type of source used (table column, list, etc.).
Example
IF CHART_MyChart[3].Source = grTableColumn AND ...
CHART_MyChart[3].SourceDescription = "MyColumn" THEN
// Changes the data source
grSourceSeries(CHART_MyChart, 3, grListBox, "MyList")
END
Syntax

Finding out the name of the element used as data source for a series Hide the details

<Result> = <Series>.SourceDescription
<Result>: Character string
Name of element used as data source. This name can correspond to:
  • the name of a table column if the data source is a "Table column".
  • the name of a WLanguage procedure if the data source is a WLanguage procedure.
  • the name of a list box if the data source is a list box.
  • a list of values if the data source is defined through programming.
  • the name of an item (in <File name>.<Item name> format) if the data source is an item of a data file.
  • the name of a WLanguage array if the data source is a WLanguage array.
The type of data source is returned by the Source property.
<Series>: Character string
Series to use. Use the following notation: <Chart name>[<Series number>].
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/04/2023

Send a report | Local help