You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* An array of dataset objects. Each object defines a dataset which is displayed.
61
+
*
62
+
* <h4>Optional properties</h4>
63
+
* - `label`: string containing the label of the dataset which is also displayed in the legend.
64
+
* - `data`: array of objects which contains the data.
65
+
* - `color`: any valid CSS color or CSS variable. Defaults to the `sapChart_Ordinal` colors.
66
+
* - ´opacity´: number contains value of opacity of dataset
67
+
*
68
+
* Example of dataset:
69
+
* <code>
70
+
* [
71
+
* {
72
+
* label: 'America',
73
+
* opacity: 0.7,
74
+
* data: [
75
+
* {
76
+
* users: 120,
77
+
* sessions: 200,
78
+
* volume: 302
79
+
* },
80
+
* {
81
+
* users: 20,
82
+
* sessions: 230,
83
+
* volume: 392
84
+
* }
85
+
* ]
86
+
* }
87
+
* ]
88
+
* </code>
89
+
*/
46
90
dataset?: ScatterDataObject[];
47
91
/**
48
-
* An array of config objects. Each object is defining one line in the chart.
92
+
* An array of config objects. Each object is defining one axis in the chart.
49
93
*
50
94
* <h4>Required properties</h4>
51
-
* - `accessor`: string containing the path to the dataset key this line should display. Supports object structures by using <code>'parent.child'</code>.
52
-
* Can also be a getter.
95
+
* - `accessor`: string containing the path to the dataset key this line should display. Supports object structures by using <code>'parent.child'</code>.
96
+
* Can also be a getter.
97
+
* - `axis`: string containing definition of axis. Must be x, y or z data to the axis.
53
98
*
99
+
* <h4>Optional properties</h4>
100
+
* - `label`: Label to display in tooltips. Falls back to the <code>accessor</code> if not present.
101
+
* - `formatter`: function will be called for each data label and allows you to format it according to your needs. Also addresses labels of axis.
0 commit comments