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
SourceDescription (Property)
In french: SourceDescription
..SourceDescription allows you to find out the name of the element used as data source for a series.
Remarks:
  • grSourceSeries is used to define the data source of series.
  • ..Source allows you to identify the type of source used (table column, list box, ...).
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 by 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 ..Source.
<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