@carbon/charts 0.41.6 → 0.41.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +51 -27
  2. package/build/demo/data/index.d.ts +5 -0
  3. package/build/demo/data/line.d.ts +3 -0
  4. package/build/demo/data/lollipop.d.ts +39 -0
  5. package/build/demo/data/step.d.ts +78 -4
  6. package/build/demo/data/time-series-axis.d.ts +48 -0
  7. package/build/src/axis-chart.d.ts +1 -1
  8. package/build/src/chart.d.ts +1 -1
  9. package/build/src/charts/index.d.ts +1 -0
  10. package/build/src/charts/lollipop.d.ts +6 -0
  11. package/build/src/components/graphs/lollipop.d.ts +9 -0
  12. package/build/src/components/graphs/scatter.d.ts +2 -0
  13. package/build/src/components/index.d.ts +1 -0
  14. package/build/src/configuration.d.ts +2 -1
  15. package/build/src/interfaces/charts.d.ts +5 -0
  16. package/build/src/interfaces/model.d.ts +2 -1
  17. package/build/stories/tutorials/combo-charts.d.ts +4 -0
  18. package/build/stories/tutorials/index.d.ts +1 -0
  19. package/bundle.js +1 -1
  20. package/charts/bar-stacked.js.map +1 -1
  21. package/charts/combo.js +29 -8
  22. package/charts/combo.js.map +1 -1
  23. package/charts/index.d.ts +1 -0
  24. package/charts/index.js +1 -0
  25. package/charts/index.js.map +1 -1
  26. package/charts/lollipop.d.ts +6 -0
  27. package/charts/lollipop.js +50 -0
  28. package/charts/lollipop.js.map +1 -0
  29. package/charts/treemap.js.map +1 -1
  30. package/components/axes/axis.js.map +1 -1
  31. package/components/axes/ruler.js.map +1 -1
  32. package/components/axes/two-dimensional-axes.js.map +1 -1
  33. package/components/axes/zero-line.js.map +1 -1
  34. package/components/component.js.map +1 -1
  35. package/components/essentials/legend.js +3 -3
  36. package/components/essentials/legend.js.map +1 -1
  37. package/components/essentials/tooltip-axis.js +5 -2
  38. package/components/essentials/tooltip-axis.js.map +1 -1
  39. package/components/essentials/tooltip.js.map +1 -1
  40. package/components/graphs/area-stacked.js +7 -3
  41. package/components/graphs/area-stacked.js.map +1 -1
  42. package/components/graphs/area.js +1 -3
  43. package/components/graphs/area.js.map +1 -1
  44. package/components/graphs/bar-grouped.js +1 -2
  45. package/components/graphs/bar-grouped.js.map +1 -1
  46. package/components/graphs/bar-simple.js.map +1 -1
  47. package/components/graphs/bar-stacked.js +4 -2
  48. package/components/graphs/bar-stacked.js.map +1 -1
  49. package/components/graphs/bubble.js +1 -1
  50. package/components/graphs/bubble.js.map +1 -1
  51. package/components/graphs/line.js +8 -4
  52. package/components/graphs/line.js.map +1 -1
  53. package/components/graphs/lollipop.d.ts +9 -0
  54. package/components/graphs/lollipop.js +119 -0
  55. package/components/graphs/lollipop.js.map +1 -0
  56. package/components/graphs/scatter-stacked.js +14 -4
  57. package/components/graphs/scatter-stacked.js.map +1 -1
  58. package/components/graphs/scatter.d.ts +2 -0
  59. package/components/graphs/scatter.js +28 -18
  60. package/components/graphs/scatter.js.map +1 -1
  61. package/components/graphs/skeleton-lines.js.map +1 -1
  62. package/components/index.d.ts +1 -0
  63. package/components/index.js +1 -0
  64. package/components/index.js.map +1 -1
  65. package/configuration.d.ts +2 -1
  66. package/configuration.js +6 -1
  67. package/configuration.js.map +1 -1
  68. package/demo/data/area.js.map +1 -1
  69. package/demo/data/bubble.js.map +1 -1
  70. package/demo/data/bundle.js +1 -1
  71. package/demo/data/combo.js +11 -38
  72. package/demo/data/combo.js.map +1 -1
  73. package/demo/data/index.d.ts +5 -0
  74. package/demo/data/index.js +21 -0
  75. package/demo/data/index.js.map +1 -1
  76. package/demo/data/line.d.ts +3 -0
  77. package/demo/data/line.js +4 -3
  78. package/demo/data/line.js.map +1 -1
  79. package/demo/data/lollipop.d.ts +39 -0
  80. package/demo/data/lollipop.js +37 -0
  81. package/demo/data/lollipop.js.map +1 -0
  82. package/demo/data/step.d.ts +78 -4
  83. package/demo/data/step.js +4 -5
  84. package/demo/data/step.js.map +1 -1
  85. package/demo/data/time-series-axis.d.ts +48 -0
  86. package/demo/data/time-series-axis.js +48 -0
  87. package/demo/data/time-series-axis.js.map +1 -1
  88. package/demo/data/zoom-bar.js.map +1 -1
  89. package/demo/tsconfig.tsbuildinfo +134 -122
  90. package/interfaces/charts.d.ts +5 -0
  91. package/interfaces/charts.js.map +1 -1
  92. package/interfaces/model.d.ts +2 -1
  93. package/interfaces/model.js.map +1 -1
  94. package/model-cartesian-charts.js.map +1 -1
  95. package/model.js +3 -1
  96. package/model.js.map +1 -1
  97. package/package.json +1 -1
  98. package/services/scales-cartesian.js +44 -21
  99. package/services/scales-cartesian.js.map +1 -1
  100. package/styles/color-palatte.scss +12 -8
  101. package/styles/colors.scss +4 -4
  102. package/tsconfig.tsbuildinfo +80 -35
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.41.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.5...v0.41.6) (2020-11-20)
6
+ ## [0.41.11](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.10...v0.41.11) (2020-12-04)
7
7
 
8
8
  **Note:** Version bump only for package @carbon/charts
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [0.41.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.4...v0.41.5) (2020-11-19)
14
+ ## [0.41.10](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.9...v0.41.10) (2020-12-01)
15
15
 
16
16
  **Note:** Version bump only for package @carbon/charts
17
17
 
@@ -19,7 +19,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- ## [0.41.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.3...v0.41.4) (2020-11-16)
22
+ ## [0.41.9](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.8...v0.41.9) (2020-11-27)
23
23
 
24
24
  **Note:** Version bump only for package @carbon/charts
25
25
 
@@ -27,39 +27,67 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
27
 
28
28
 
29
29
 
30
- ## [0.41.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.2...v0.41.3) (2020-11-16)
30
+ ## [0.41.8](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.7...v0.41.8) (2020-11-26)
31
31
 
32
+ **Note:** Version bump only for package @carbon/charts
32
33
 
33
- ### Bug Fixes
34
34
 
35
- * **core:** use fill:transparent for toolbar controls ([#884](https://github.com/carbon-design-system/carbon-charts/issues/884)) ([681ec23](https://github.com/carbon-design-system/carbon-charts/commit/681ec23705d54bbf47f0e71655983ecbbebc7dd8))
36
35
 
37
36
 
38
37
 
38
+ # Change Log
39
39
 
40
+ All notable changes to this project will be documented in this file. See
41
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
40
42
 
41
- ## [0.41.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.1...v0.41.2) (2020-11-13)
43
+ ## [0.41.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.6...v0.41.7) (2020-11-26)
42
44
 
45
+ **Note:** Version bump only for package @carbon/charts
43
46
 
44
- ### Bug Fixes
45
47
 
46
- * **core:** sanitize user provided axis domains ([5865b7a](https://github.com/carbon-design-system/carbon-charts/commit/5865b7a16ea424314115b05af818eed9449d2564))
47
- * **core:** tooltips should hide when mouseout is triggered on the chart holder ([#887](https://github.com/carbon-design-system/carbon-charts/issues/887)) ([9ee5210](https://github.com/carbon-design-system/carbon-charts/commit/9ee5210497032108857f503b69eff2c73b22cf06))
48
48
 
49
49
 
50
50
 
51
+ ## [0.41.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.5...v0.41.6) (2020-11-20)
51
52
 
53
+ **Note:** Version bump only for package @carbon/charts
52
54
 
53
- ## [0.41.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.0...v0.41.1) (2020-11-10)
55
+ ## [0.41.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.4...v0.41.5) (2020-11-19)
54
56
 
57
+ **Note:** Version bump only for package @carbon/charts
58
+
59
+ ## [0.41.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.3...v0.41.4) (2020-11-16)
60
+
61
+ **Note:** Version bump only for package @carbon/charts
62
+
63
+ ## [0.41.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.2...v0.41.3) (2020-11-16)
55
64
 
56
65
  ### Bug Fixes
57
66
 
58
- * **core:** correct axis title paddings in y-axes ([#873](https://github.com/carbon-design-system/carbon-charts/issues/873)) ([8a27a5f](https://github.com/carbon-design-system/carbon-charts/commit/8a27a5f65cbc55a878e603c9aa96c6f38d6ea10d)), closes [#859](https://github.com/carbon-design-system/carbon-charts/issues/859)
67
+ - **core:** use fill:transparent for toolbar controls
68
+ ([#884](https://github.com/carbon-design-system/carbon-charts/issues/884))
69
+ ([681ec23](https://github.com/carbon-design-system/carbon-charts/commit/681ec23705d54bbf47f0e71655983ecbbebc7dd8))
70
+
71
+ ## [0.41.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.1...v0.41.2) (2020-11-13)
72
+
73
+ ### Bug Fixes
59
74
 
75
+ - **core:** sanitize user provided axis domains
76
+ ([5865b7a](https://github.com/carbon-design-system/carbon-charts/commit/5865b7a16ea424314115b05af818eed9449d2564))
77
+ - **core:** tooltips should hide when mouseout is triggered on the chart
78
+ holder
79
+ ([#887](https://github.com/carbon-design-system/carbon-charts/issues/887))
80
+ ([9ee5210](https://github.com/carbon-design-system/carbon-charts/commit/9ee5210497032108857f503b69eff2c73b22cf06))
60
81
 
82
+ ## [0.41.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.0...v0.41.1) (2020-11-10)
61
83
 
84
+ ### Bug Fixes
62
85
 
86
+ - **core:** correct axis title paddings in y-axes
87
+ ([#873](https://github.com/carbon-design-system/carbon-charts/issues/873))
88
+ ([8a27a5f](https://github.com/carbon-design-system/carbon-charts/commit/8a27a5f65cbc55a878e603c9aa96c6f38d6ea10d)),
89
+ closes
90
+ [#859](https://github.com/carbon-design-system/carbon-charts/issues/859)
63
91
 
64
92
  # Change Log
65
93
 
@@ -68,31 +96,27 @@ All notable changes to this project will be documented in this file. See
68
96
 
69
97
  # [0.41.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.40.14...v0.41.0) (2020-11-10)
70
98
 
71
-
72
99
  ### Bug Fixes
73
100
 
74
- * use fill:none to allow transparent toolbar control background ([#858](https://github.com/carbon-design-system/carbon-charts/issues/858)) ([e4bf1bf](https://github.com/carbon-design-system/carbon-charts/commit/e4bf1bf45f59b5a4521aa2b6e5856715f148b1d5))
75
- * **core:** only set zoombar data and sanitize date values if a cartesian time-series chart ([88c8fa1](https://github.com/carbon-design-system/carbon-charts/commit/88c8fa1feee0d8866608bc39426638afb1c81294))
76
-
101
+ - use fill:none to allow transparent toolbar control background
102
+ ([#858](https://github.com/carbon-design-system/carbon-charts/issues/858))
103
+ ([e4bf1bf](https://github.com/carbon-design-system/carbon-charts/commit/e4bf1bf45f59b5a4521aa2b6e5856715f148b1d5))
104
+ - **core:** only set zoombar data and sanitize date values if a cartesian
105
+ time-series chart
106
+ ([88c8fa1](https://github.com/carbon-design-system/carbon-charts/commit/88c8fa1feee0d8866608bc39426638afb1c81294))
77
107
 
78
108
  ### Features
79
109
 
80
- * **core:** add alignment options for gauge charts ([#877](https://github.com/carbon-design-system/carbon-charts/issues/877)) ([5d4a621](https://github.com/carbon-design-system/carbon-charts/commit/5d4a621e4b92e3e1fdaa9a3318467c84379e8881))
81
-
82
-
83
-
84
-
110
+ - **core:** add alignment options for gauge charts
111
+ ([#877](https://github.com/carbon-design-system/carbon-charts/issues/877))
112
+ ([5d4a621](https://github.com/carbon-design-system/carbon-charts/commit/5d4a621e4b92e3e1fdaa9a3318467c84379e8881))
85
113
 
86
114
  ## [0.40.14](https://github.com/carbon-design-system/carbon-charts/compare/v0.40.13...v0.40.14) (2020-11-09)
87
115
 
88
-
89
116
  ### Bug Fixes
90
117
 
91
- * **core:** replace import to lodash with lodash-es ([700ba09](https://github.com/carbon-design-system/carbon-charts/commit/700ba0989ca130c2b750acc868b5bc36192f6f07))
92
-
93
-
94
-
95
-
118
+ - **core:** replace import to lodash with lodash-es
119
+ ([700ba09](https://github.com/carbon-design-system/carbon-charts/commit/700ba0989ca130c2b750acc868b5bc36192f6f07))
96
120
 
97
121
  ## [0.40.13](https://github.com/carbon-design-system/carbon-charts/compare/v0.40.12...v0.40.13) (2020-11-06)
98
122
 
@@ -52,6 +52,11 @@ export declare const chartTypes: {
52
52
  angular: string;
53
53
  vue: string;
54
54
  };
55
+ LollipopChart: {
56
+ vanilla: string;
57
+ angular: string;
58
+ vue: string;
59
+ };
55
60
  PieChart: {
56
61
  vanilla: string;
57
62
  angular: string;
@@ -291,6 +291,9 @@ export declare const lineTimeSeriesRotatedTicksOptions: {
291
291
  mapsTo: string;
292
292
  };
293
293
  };
294
+ legend: {
295
+ clickable: boolean;
296
+ };
294
297
  };
295
298
  export declare const lineHorizontalOptions: {
296
299
  title: string;
@@ -0,0 +1,39 @@
1
+ export declare const lollipopDiscreteData: {
2
+ group: string;
3
+ key: string;
4
+ value: number;
5
+ }[];
6
+ export declare const lollipopDiscreteOptions: {
7
+ title: string;
8
+ axes: {
9
+ bottom: {
10
+ title: string;
11
+ scaleType: string;
12
+ mapsTo: string;
13
+ };
14
+ left: {
15
+ mapsTo: string;
16
+ };
17
+ };
18
+ };
19
+ export declare const lollipopDiscretePresentationData: {
20
+ group: string;
21
+ key: string;
22
+ value: number;
23
+ }[];
24
+ export declare const lollipopDiscretePresentationOptions: {
25
+ title: string;
26
+ axes: {
27
+ left: {
28
+ title: string;
29
+ scaleType: string;
30
+ mapsTo: string;
31
+ };
32
+ bottom: {
33
+ mapsTo: string;
34
+ };
35
+ };
36
+ points: {
37
+ radius: number;
38
+ };
39
+ };
@@ -1,4 +1,21 @@
1
- export declare const stepOptions: any;
1
+ export declare const stepOptions: {
2
+ title: string;
3
+ axes: {
4
+ bottom: {
5
+ title: string;
6
+ mapsTo: string;
7
+ scaleType: string;
8
+ };
9
+ left: {
10
+ mapsTo: string;
11
+ title: string;
12
+ scaleType: string;
13
+ };
14
+ };
15
+ } & {
16
+ title: string;
17
+ curve: string;
18
+ };
2
19
  export declare const stepData: ({
3
20
  group: string;
4
21
  key: string;
@@ -10,13 +27,70 @@ export declare const stepData: ({
10
27
  value: number;
11
28
  audienceSize: number;
12
29
  })[];
13
- export declare const stepTimeSeriesOptions: any;
30
+ export declare const stepTimeSeriesOptions: {
31
+ title: string;
32
+ axes: {
33
+ bottom: {
34
+ title: string;
35
+ mapsTo: string;
36
+ scaleType: string;
37
+ };
38
+ left: {
39
+ mapsTo: string;
40
+ title: string;
41
+ scaleType: string;
42
+ };
43
+ };
44
+ curve: string;
45
+ } & {
46
+ title: string;
47
+ curve: string;
48
+ };
14
49
  export declare const stepTimeSeriesData: {
15
50
  group: string;
16
51
  date: Date;
17
52
  value: number;
18
53
  }[];
19
54
  export declare const stepEmptyStateData: any[];
20
- export declare const stepEmptyStateOptions: any;
55
+ export declare const stepEmptyStateOptions: {
56
+ title: string;
57
+ axes: {
58
+ bottom: {
59
+ title: string;
60
+ mapsTo: string;
61
+ scaleType: string;
62
+ };
63
+ left: {
64
+ mapsTo: string;
65
+ title: string;
66
+ scaleType: string;
67
+ };
68
+ };
69
+ curve: string;
70
+ } & {
71
+ title: string;
72
+ curve: string;
73
+ };
21
74
  export declare const stepSkeletonData: any[];
22
- export declare const stepSkeletonOptions: any;
75
+ export declare const stepSkeletonOptions: {
76
+ title: string;
77
+ axes: {
78
+ bottom: {
79
+ title: string;
80
+ mapsTo: string;
81
+ scaleType: string;
82
+ };
83
+ left: {
84
+ mapsTo: string;
85
+ title: string;
86
+ scaleType: string;
87
+ };
88
+ };
89
+ curve: string;
90
+ } & {
91
+ title: string;
92
+ curve: string;
93
+ data: {
94
+ loading: boolean;
95
+ };
96
+ };
@@ -16,6 +16,9 @@ export declare const lineTimeSeries15secondsOptions: {
16
16
  scaleType: string;
17
17
  };
18
18
  };
19
+ legend: {
20
+ clickable: boolean;
21
+ };
19
22
  };
20
23
  export declare const lineTimeSeriesDataMinute: {
21
24
  labels: string[];
@@ -35,6 +38,9 @@ export declare const lineTimeSeriesMinuteOptions: {
35
38
  scaleType: string;
36
39
  };
37
40
  };
41
+ legend: {
42
+ clickable: boolean;
43
+ };
38
44
  };
39
45
  export declare const lineTimeSeriesData30minutes: {
40
46
  labels: string[];
@@ -54,6 +60,9 @@ export declare const lineTimeSeries30minutesOptions: {
54
60
  scaleType: string;
55
61
  };
56
62
  };
63
+ legend: {
64
+ clickable: boolean;
65
+ };
57
66
  };
58
67
  export declare const lineTimeSeriesDataHourlyDefaultTicksFormats: {
59
68
  labels: string[];
@@ -73,6 +82,9 @@ export declare const lineTimeSeriesHourlyDefaultLocaleOptions: {
73
82
  scaleType: string;
74
83
  };
75
84
  };
85
+ legend: {
86
+ clickable: boolean;
87
+ };
76
88
  };
77
89
  export declare const lineTimeSeriesDataHourlyCustomTicksFormats: {
78
90
  labels: string[];
@@ -100,6 +112,9 @@ export declare const lineTimeSeriesHourlyCustomTicksFormatsOptions: {
100
112
  };
101
113
  };
102
114
  };
115
+ legend: {
116
+ clickable: boolean;
117
+ };
103
118
  };
104
119
  export declare const lineTimeSeriesDataDaily: {
105
120
  labels: string[];
@@ -119,6 +134,9 @@ export declare const lineTimeSeriesDailyOptions: {
119
134
  scaleType: string;
120
135
  };
121
136
  };
137
+ legend: {
138
+ clickable: boolean;
139
+ };
122
140
  };
123
141
  export declare const lineTimeSeriesDataWeekly: {
124
142
  labels: string[];
@@ -141,6 +159,9 @@ export declare const lineTimeSeriesWeeklyOptions: {
141
159
  timeScale: {
142
160
  showDayName: boolean;
143
161
  };
162
+ legend: {
163
+ clickable: boolean;
164
+ };
144
165
  };
145
166
  export declare const lineTimeSeriesDataMonthlyDefaultLocale: {
146
167
  labels: string[];
@@ -160,6 +181,9 @@ export declare const lineTimeSeriesMonthlyDefaultLocaleOptions: {
160
181
  scaleType: string;
161
182
  };
162
183
  };
184
+ legend: {
185
+ clickable: boolean;
186
+ };
163
187
  };
164
188
  export declare const lineTimeSeriesDataMonthlyCustomLocale: {
165
189
  labels: string[];
@@ -182,6 +206,9 @@ export declare const lineTimeSeriesMonthlyCustomLocaleOptions: {
182
206
  timeScale: {
183
207
  localeObject: Locale;
184
208
  };
209
+ legend: {
210
+ clickable: boolean;
211
+ };
185
212
  };
186
213
  export declare const lineTimeSeriesDataQuarterly: {
187
214
  labels: string[];
@@ -201,6 +228,9 @@ export declare const lineTimeSeriesQuarterlyOptions: {
201
228
  scaleType: string;
202
229
  };
203
230
  };
231
+ legend: {
232
+ clickable: boolean;
233
+ };
204
234
  };
205
235
  export declare const lineTimeSeriesDataYearly: {
206
236
  labels: string[];
@@ -220,6 +250,9 @@ export declare const lineTimeSeriesYearlyOptions: {
220
250
  scaleType: string;
221
251
  };
222
252
  };
253
+ legend: {
254
+ clickable: boolean;
255
+ };
223
256
  };
224
257
  export declare const lineTimeSeriesDataSingleDatum: {
225
258
  labels: string[];
@@ -239,6 +272,9 @@ export declare const lineTimeSeriesSingleDatumOptions: {
239
272
  scaleType: string;
240
273
  };
241
274
  };
275
+ legend: {
276
+ clickable: boolean;
277
+ };
242
278
  };
243
279
  export declare const lineTimeSeriesNoExtendedDomainData: {
244
280
  labels: string[];
@@ -261,6 +297,9 @@ export declare const lineTimeSeriesNoExtendedDomainOptions: {
261
297
  timeScale: {
262
298
  addSpaceOnEdges: number;
263
299
  };
300
+ legend: {
301
+ clickable: boolean;
302
+ };
264
303
  };
265
304
  export declare const lineTimeSeriesDataTwoIdenticalLabels: {
266
305
  labels: string[];
@@ -283,6 +322,9 @@ export declare const lineTimeSeriesTwoIdenticalLabelsOptions: {
283
322
  timeScale: {
284
323
  addSpaceOnEdges: number;
285
324
  };
325
+ legend: {
326
+ clickable: boolean;
327
+ };
286
328
  };
287
329
  export declare const lineTimeSeriesTwoIdenticalLabels2Options: {
288
330
  title: string;
@@ -295,6 +337,9 @@ export declare const lineTimeSeriesTwoIdenticalLabels2Options: {
295
337
  timeScale: {
296
338
  addSpaceOnEdges: number;
297
339
  };
340
+ legend: {
341
+ clickable: boolean;
342
+ };
298
343
  };
299
344
  export declare const lineTimeSeriesDataAllLabelsInPrimaryFormat: {
300
345
  labels: string[];
@@ -317,4 +362,7 @@ export declare const lineTimeSeriesAllLabelsInPrimaryFormatOptions: {
317
362
  timeScale: {
318
363
  addSpaceOnEdges: number;
319
364
  };
365
+ legend: {
366
+ clickable: boolean;
367
+ };
320
368
  };
@@ -6,5 +6,5 @@ export declare class AxisChart extends Chart {
6
6
  services: any;
7
7
  model: ChartModelCartesian;
8
8
  constructor(holder: Element, chartConfigs: ChartConfig<AxisChartOptions>);
9
- protected getAxisChartComponents(graphFrameComponents: any[]): (LayoutComponent | AxisChartsTooltip)[];
9
+ protected getAxisChartComponents(graphFrameComponents: any[]): (AxisChartsTooltip | LayoutComponent)[];
10
10
  }
@@ -10,5 +10,5 @@ export declare class Chart {
10
10
  getComponents(): any[];
11
11
  update(animate?: boolean): void;
12
12
  destroy(): void;
13
- protected getChartComponents(graphFrameComponents: any[]): (LayoutComponent | Tooltip)[];
13
+ protected getChartComponents(graphFrameComponents: any[]): (Tooltip | LayoutComponent)[];
14
14
  }
@@ -5,6 +5,7 @@ export * from "./bar-grouped";
5
5
  export * from "./bar-stacked";
6
6
  export * from "./bubble";
7
7
  export * from "./line";
8
+ export * from "./lollipop";
8
9
  export * from "./scatter";
9
10
  export * from "./pie";
10
11
  export * from "./donut";
@@ -0,0 +1,6 @@
1
+ import { AxisChart } from "../axis-chart";
2
+ import { ChartConfig, LollipopChartOptions } from "../interfaces/index";
3
+ export declare class LollipopChart extends AxisChart {
4
+ constructor(holder: Element, chartConfigs: ChartConfig<LollipopChartOptions>);
5
+ getComponents(): any[];
6
+ }
@@ -0,0 +1,9 @@
1
+ import { Scatter } from "./scatter";
2
+ export declare class Lollipop extends Scatter {
3
+ type: string;
4
+ init(): void;
5
+ render(animate: boolean): void;
6
+ handleLegendOnHover: (event: CustomEvent<any>) => void;
7
+ handleLegendMouseOut: (event: CustomEvent<any>) => void;
8
+ destroy(): void;
9
+ }
@@ -2,8 +2,10 @@ import { Component } from "../component";
2
2
  import { Selection } from "d3-selection";
3
3
  export declare class Scatter extends Component {
4
4
  type: string;
5
+ scatterData: any;
5
6
  init(): void;
6
7
  filterBasedOnZoomDomain(data: any): any;
8
+ getScatterData(): any;
7
9
  render(animate: boolean): void;
8
10
  isDatapointThresholdAnomaly(datum: any, index: number): boolean;
9
11
  styleCircles(selection: Selection<any, any, any, any>, animate: boolean): void;
@@ -12,6 +12,7 @@ export * from "./graphs/bar-grouped";
12
12
  export * from "./graphs/bar-stacked";
13
13
  export * from "./graphs/bubble";
14
14
  export * from "./graphs/line";
15
+ export * from "./graphs/lollipop";
15
16
  export * from "./graphs/scatter";
16
17
  export * from "./graphs/scatter-stacked";
17
18
  export * from "./graphs/pie";
@@ -1,4 +1,4 @@
1
- import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, ComboChartOptions, TreemapChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from "./interfaces";
1
+ import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LollipopChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, ComboChartOptions, TreemapChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from "./interfaces";
2
2
  /**
3
3
  * Grid options
4
4
  */
@@ -23,6 +23,7 @@ export declare const options: {
23
23
  areaChart: AreaChartOptions;
24
24
  stackedAreaChart: AreaChartOptions;
25
25
  scatterChart: ScatterChartOptions;
26
+ lollipopChart: LollipopChartOptions;
26
27
  pieChart: PieChartOptions;
27
28
  donutChart: DonutChartOptions;
28
29
  meterChart: MeterChartOptions;
@@ -139,6 +139,11 @@ export interface ScatterChartOptions extends AxisChartOptions {
139
139
  enabled?: boolean;
140
140
  };
141
141
  }
142
+ /**
143
+ * options specific to lollipop charts
144
+ */
145
+ export interface LollipopChartOptions extends ScatterChartOptions {
146
+ }
142
147
  /**
143
148
  * options specific to bubble charts
144
149
  */
@@ -1,4 +1,5 @@
1
1
  import { AxisChartOptions } from "./charts";
2
+ export declare type ChartTabularData = Record<string, any>[];
2
3
  /**
3
4
  * Configuration passed to the chart.
4
5
  *
@@ -6,7 +7,7 @@ import { AxisChartOptions } from "./charts";
6
7
  */
7
8
  export interface ChartConfig<T extends AxisChartOptions> {
8
9
  options: T;
9
- data: ChartData | Promise<ChartData>;
10
+ data: ChartTabularData;
10
11
  }
11
12
  export interface DataSet {
12
13
  /**
@@ -0,0 +1,4 @@
1
+ export declare const comboChartTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -7,3 +7,4 @@ export * from "./tabular-data-format";
7
7
  export * from "./themes";
8
8
  export * from "./event-listeners";
9
9
  export * from "./color-palette";
10
+ export * from "./combo-charts";