-
Notifications
You must be signed in to change notification settings - Fork 14
Data
Thomas Möller edited this page Feb 12, 2022
·
7 revisions
Data
This class holds the data in a format optimized for chart.js.
- none
The following sections contain a detailed description of the methods and properties.
This method adds a series of values to the named dataset
- TheDataset :: Name of the dataset, if no dataset with this name is available, one will be created
- TheData :: string with data values in the format of the defined chart type
myChart.Chart.Data.AddData "MyDemoData", "1,2,3,4,5,6"
--
This method initializes and names a new dataset.
- TheDatasetName
myChart.Data.AddDatasetName "DemoData"
--
This method adds a single label.
- TheLabel
myChart.Chart.Data.AddLabel "Demo"
--
This method adds a list of labels.
- TheLabels :: array or comma separated list
myChart.Chart.Data.AddLabels "Jan,Feb"
--