@carbon/charts 0.41.1 → 0.41.5

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 (184) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/axis-chart.js +2 -0
  3. package/axis-chart.js.map +1 -1
  4. package/build/demo/data/area.d.ts +25 -0
  5. package/build/demo/data/bubble.d.ts +24 -0
  6. package/build/demo/data/combo.d.ts +422 -0
  7. package/build/demo/data/index.d.ts +6 -0
  8. package/build/demo/data/line.d.ts +31 -0
  9. package/build/demo/data/scatter.d.ts +31 -0
  10. package/build/src/charts/bar-stacked.d.ts +2 -2
  11. package/build/src/charts/combo.d.ts +7 -0
  12. package/build/src/charts/index.d.ts +1 -0
  13. package/build/src/components/axes/{ruler-stacked-bar.d.ts → ruler-stacked.d.ts} +1 -1
  14. package/build/src/components/axes/zoom-bar.d.ts +1 -1
  15. package/build/src/components/component.d.ts +7 -0
  16. package/build/src/components/graphs/scatter.d.ts +0 -1
  17. package/build/src/components/index.d.ts +2 -1
  18. package/build/src/configuration.d.ts +2 -1
  19. package/build/src/interfaces/charts.d.ts +11 -2
  20. package/build/src/interfaces/enums.d.ts +12 -0
  21. package/build/src/model.d.ts +17 -10
  22. package/build/src/services/scales-cartesian.d.ts +27 -9
  23. package/build/src/tools.d.ts +2 -0
  24. package/build/stories/tutorials/api.d.ts +4 -0
  25. package/build/stories/tutorials/color-palette.d.ts +4 -1
  26. package/build/stories/tutorials/event-listeners.d.ts +4 -1
  27. package/build/stories/tutorials/getting-started/angular.d.ts +5 -1
  28. package/build/stories/tutorials/getting-started/react.d.ts +5 -1
  29. package/build/stories/tutorials/getting-started/vanilla.d.ts +5 -1
  30. package/build/stories/tutorials/getting-started/vue.d.ts +5 -1
  31. package/build/stories/tutorials/index.d.ts +2 -0
  32. package/build/stories/tutorials/tabular-data-format.d.ts +4 -1
  33. package/build/stories/tutorials/themes.d.ts +4 -0
  34. package/build/stories/utils.d.ts +1 -9
  35. package/bundle.js +1 -1
  36. package/charts/area-stacked.js +2 -2
  37. package/charts/area-stacked.js.map +1 -1
  38. package/charts/bar-stacked.d.ts +2 -2
  39. package/charts/bar-stacked.js +2 -2
  40. package/charts/bar-stacked.js.map +1 -1
  41. package/charts/combo.d.ts +7 -0
  42. package/charts/combo.js +111 -0
  43. package/charts/combo.js.map +1 -0
  44. package/charts/index.d.ts +1 -0
  45. package/charts/index.js +1 -0
  46. package/charts/index.js.map +1 -1
  47. package/components/axes/axis.js +7 -8
  48. package/components/axes/axis.js.map +1 -1
  49. package/components/axes/grid.js +8 -9
  50. package/components/axes/grid.js.map +1 -1
  51. package/components/axes/{ruler-stacked-bar.d.ts → ruler-stacked.d.ts} +1 -1
  52. package/components/axes/{ruler-stacked-bar.js → ruler-stacked.js} +8 -8
  53. package/components/axes/ruler-stacked.js.map +1 -0
  54. package/components/axes/ruler.js +5 -5
  55. package/components/axes/ruler.js.map +1 -1
  56. package/components/axes/toolbar.js +4 -4
  57. package/components/axes/toolbar.js.map +1 -1
  58. package/components/axes/two-dimensional-axes.js +2 -2
  59. package/components/axes/two-dimensional-axes.js.map +1 -1
  60. package/components/axes/zero-line.js +12 -8
  61. package/components/axes/zero-line.js.map +1 -1
  62. package/components/axes/zoom-bar.d.ts +1 -1
  63. package/components/axes/zoom-bar.js +7 -7
  64. package/components/axes/zoom-bar.js.map +1 -1
  65. package/components/component.d.ts +7 -0
  66. package/components/component.js +24 -3
  67. package/components/component.js.map +1 -1
  68. package/components/essentials/legend.js +4 -4
  69. package/components/essentials/legend.js.map +1 -1
  70. package/components/essentials/threshold.js +4 -4
  71. package/components/essentials/threshold.js.map +1 -1
  72. package/components/essentials/title-meter.js +3 -3
  73. package/components/essentials/title-meter.js.map +1 -1
  74. package/components/essentials/title.js +1 -1
  75. package/components/essentials/title.js.map +1 -1
  76. package/components/essentials/tooltip-axis.js +10 -8
  77. package/components/essentials/tooltip-axis.js.map +1 -1
  78. package/components/essentials/tooltip.js +9 -5
  79. package/components/essentials/tooltip.js.map +1 -1
  80. package/components/graphs/area-stacked.js +11 -13
  81. package/components/graphs/area-stacked.js.map +1 -1
  82. package/components/graphs/area.js +15 -12
  83. package/components/graphs/area.js.map +1 -1
  84. package/components/graphs/bar-grouped.js +29 -23
  85. package/components/graphs/bar-grouped.js.map +1 -1
  86. package/components/graphs/bar-simple.js +4 -3
  87. package/components/graphs/bar-simple.js.map +1 -1
  88. package/components/graphs/bar-stacked.js +10 -8
  89. package/components/graphs/bar-stacked.js.map +1 -1
  90. package/components/graphs/bar.js +1 -1
  91. package/components/graphs/bar.js.map +1 -1
  92. package/components/graphs/bubble.js +4 -3
  93. package/components/graphs/bubble.js.map +1 -1
  94. package/components/graphs/donut.js +2 -2
  95. package/components/graphs/donut.js.map +1 -1
  96. package/components/graphs/gauge.js +7 -7
  97. package/components/graphs/gauge.js.map +1 -1
  98. package/components/graphs/line.js +24 -21
  99. package/components/graphs/line.js.map +1 -1
  100. package/components/graphs/meter.js +1 -1
  101. package/components/graphs/meter.js.map +1 -1
  102. package/components/graphs/pie.js +3 -3
  103. package/components/graphs/pie.js.map +1 -1
  104. package/components/graphs/radar.js +5 -5
  105. package/components/graphs/radar.js.map +1 -1
  106. package/components/graphs/scatter-stacked.js +14 -11
  107. package/components/graphs/scatter-stacked.js.map +1 -1
  108. package/components/graphs/scatter.d.ts +0 -1
  109. package/components/graphs/scatter.js +27 -32
  110. package/components/graphs/scatter.js.map +1 -1
  111. package/components/graphs/skeleton-lines.js +5 -5
  112. package/components/graphs/skeleton-lines.js.map +1 -1
  113. package/components/graphs/skeleton.js +4 -4
  114. package/components/graphs/skeleton.js.map +1 -1
  115. package/components/index.d.ts +2 -1
  116. package/components/index.js +2 -1
  117. package/components/index.js.map +1 -1
  118. package/configuration.d.ts +2 -1
  119. package/configuration.js +6 -2
  120. package/configuration.js.map +1 -1
  121. package/demo/data/area.d.ts +25 -0
  122. package/demo/data/area.js +41 -4
  123. package/demo/data/area.js.map +1 -1
  124. package/demo/data/bubble.d.ts +24 -0
  125. package/demo/data/bubble.js +39 -0
  126. package/demo/data/bubble.js.map +1 -1
  127. package/demo/data/bundle.js +1 -1
  128. package/demo/data/combo.d.ts +422 -0
  129. package/demo/data/combo.js +545 -0
  130. package/demo/data/combo.js.map +1 -0
  131. package/demo/data/index.d.ts +6 -0
  132. package/demo/data/index.js +102 -0
  133. package/demo/data/index.js.map +1 -1
  134. package/demo/data/line.d.ts +31 -0
  135. package/demo/data/line.js +38 -0
  136. package/demo/data/line.js.map +1 -1
  137. package/demo/data/scatter.d.ts +31 -0
  138. package/demo/data/scatter.js +33 -0
  139. package/demo/data/scatter.js.map +1 -1
  140. package/demo/data/zoom-bar.js.map +1 -1
  141. package/demo/styles.css +14 -8
  142. package/demo/styles.css.map +1 -1
  143. package/demo/styles.min.css +1 -1
  144. package/demo/styles.min.css.map +1 -1
  145. package/demo/tsconfig.tsbuildinfo +35 -21
  146. package/interfaces/charts.d.ts +11 -2
  147. package/interfaces/charts.js +1 -0
  148. package/interfaces/charts.js.map +1 -1
  149. package/interfaces/enums.d.ts +12 -0
  150. package/interfaces/enums.js +13 -0
  151. package/interfaces/enums.js.map +1 -1
  152. package/model.d.ts +17 -10
  153. package/model.js +66 -31
  154. package/model.js.map +1 -1
  155. package/package.json +1 -1
  156. package/services/essentials/dom-utils.js +19 -3
  157. package/services/essentials/dom-utils.js.map +1 -1
  158. package/services/scales-cartesian.d.ts +27 -9
  159. package/services/scales-cartesian.js +135 -52
  160. package/services/scales-cartesian.js.map +1 -1
  161. package/styles/color-palatte.scss +243 -0
  162. package/styles/colors.scss +23 -272
  163. package/styles/components/_toolbar.scss +2 -2
  164. package/styles-g10.css +2 -2
  165. package/styles-g10.css.map +1 -1
  166. package/styles-g10.min.css +1 -1
  167. package/styles-g10.min.css.map +1 -1
  168. package/styles-g100.css +2 -2
  169. package/styles-g100.css.map +1 -1
  170. package/styles-g100.min.css +1 -1
  171. package/styles-g100.min.css.map +1 -1
  172. package/styles-g90.css +2 -2
  173. package/styles-g90.css.map +1 -1
  174. package/styles-g90.min.css +1 -1
  175. package/styles-g90.min.css.map +1 -1
  176. package/styles.css +2 -2
  177. package/styles.css.map +1 -1
  178. package/styles.min.css +1 -1
  179. package/styles.min.css.map +1 -1
  180. package/tools.d.ts +2 -0
  181. package/tools.js +4 -2
  182. package/tools.js.map +1 -1
  183. package/tsconfig.tsbuildinfo +125 -100
  184. package/components/axes/ruler-stacked-bar.js.map +0 -1
@@ -103,3 +103,34 @@ export declare const scatterSkeletonOptions: {
103
103
  loading: boolean;
104
104
  };
105
105
  };
106
+ export declare const scatterDualAxesData: ({
107
+ group: string;
108
+ date: string;
109
+ orderCount: number;
110
+ productCount?: undefined;
111
+ } | {
112
+ group: string;
113
+ date: string;
114
+ productCount: number;
115
+ orderCount?: undefined;
116
+ })[];
117
+ export declare const scatterDualAxesOptions: {
118
+ title: string;
119
+ axes: {
120
+ bottom: {
121
+ mapsTo: string;
122
+ scaleType: string;
123
+ };
124
+ left: {
125
+ title: string;
126
+ mapsTo: string;
127
+ scaleType: string;
128
+ };
129
+ right: {
130
+ title: string;
131
+ mapsTo: string;
132
+ scaleType: string;
133
+ correspondingDatasets: string[];
134
+ };
135
+ };
136
+ };
@@ -1,6 +1,6 @@
1
1
  import { AxisChart } from "../axis-chart";
2
- import { ChartConfig, ScatterChartOptions } from "../interfaces/index";
2
+ import { ChartConfig, BarChartOptions } from "../interfaces/index";
3
3
  export declare class StackedBarChart extends AxisChart {
4
- constructor(holder: Element, chartConfigs: ChartConfig<ScatterChartOptions>);
4
+ constructor(holder: Element, chartConfigs: ChartConfig<BarChartOptions>);
5
5
  getComponents(): any[];
6
6
  }
@@ -0,0 +1,7 @@
1
+ import { AxisChart } from "../axis-chart";
2
+ import { ChartConfig, ComboChartOptions } from "../interfaces/index";
3
+ export declare class ComboChart extends AxisChart {
4
+ constructor(holder: Element, chartConfigs: ChartConfig<ComboChartOptions>);
5
+ getGraphComponents(): any;
6
+ getComponents(): any[];
7
+ }
@@ -11,4 +11,5 @@ export * from "./donut";
11
11
  export * from "./meter";
12
12
  export * from "./radar";
13
13
  export * from "./gauge";
14
+ export * from "./combo";
14
15
  export * from "./treemap";
@@ -1,5 +1,5 @@
1
1
  import { Ruler } from "./ruler";
2
- export declare class StackedBarRuler extends Ruler {
2
+ export declare class StackedRuler extends Ruler {
3
3
  formatTooltipData(tooltipData: any): any;
4
4
  hideRuler(): void;
5
5
  }
@@ -1,7 +1,6 @@
1
1
  import { Component } from "../component";
2
2
  import { ChartModelCartesian } from "../../model-cartesian-charts";
3
3
  export declare class ZoomBar extends Component {
4
- protected model: ChartModelCartesian;
5
4
  type: string;
6
5
  MIN_SELECTION_DIFF: number;
7
6
  brushSelector: string;
@@ -10,6 +9,7 @@ export declare class ZoomBar extends Component {
10
9
  brush: import("d3-brush").BrushBehavior<unknown>;
11
10
  xScale: any;
12
11
  yScale: any;
12
+ protected model: ChartModelCartesian;
13
13
  init(): void;
14
14
  render(animate?: boolean): void;
15
15
  addBrushEventListener(zoomDomain: any, axesLeftMargin: any, width: any): void;
@@ -1,6 +1,7 @@
1
1
  import { ChartModel } from "../model";
2
2
  export declare class Component {
3
3
  type: string;
4
+ id: string;
4
5
  protected parent: any;
5
6
  protected configs: any;
6
7
  protected model: ChartModel;
@@ -16,4 +17,10 @@ export declare class Component {
16
17
  getContainerSVG(configs?: {
17
18
  withinChartClip: boolean;
18
19
  }): any;
20
+ /**
21
+ * graphs used in combo charts share a model with global options but can receive their own local options.
22
+ * this function retrieves the global options and merges it with any options passed into this
23
+ * component's config.options object.
24
+ */
25
+ getOptions(): any;
19
26
  }
@@ -11,7 +11,6 @@ export declare class Scatter extends Component {
11
11
  handleChartHolderOnMouseOut: (event: CustomEvent<any>) => void;
12
12
  handleLegendOnHover: (event: CustomEvent<any>) => void;
13
13
  handleLegendMouseOut: (event: CustomEvent<any>) => void;
14
- getTooltipData(hoveredX: any, hoveredY: any): any;
15
14
  addEventListeners(): void;
16
15
  destroy(): void;
17
16
  }
@@ -20,6 +20,7 @@ export * from "./graphs/donut";
20
20
  export * from "./graphs/skeleton";
21
21
  export * from "./graphs/skeleton-lines";
22
22
  export * from "./graphs/treemap";
23
+ export * from "./graphs/radar";
23
24
  export * from "./layout/spacer";
24
25
  export * from "./layout/layout";
25
26
  export * from "./axes/two-dimensional-axes";
@@ -28,7 +29,7 @@ export * from "./axes/grid-brush";
28
29
  export * from "./axes/chart-clip";
29
30
  export * from "./axes/grid";
30
31
  export * from "./axes/ruler";
31
- export * from "./axes/ruler-stacked-bar";
32
+ export * from "./axes/ruler-stacked";
32
33
  export * from "./axes/toolbar";
33
34
  export * from "./axes/zero-line";
34
35
  export * from "./axes/zoom-bar";
@@ -1,4 +1,4 @@
1
- import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, TreemapChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from "./interfaces";
1
+ import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, 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
  */
@@ -28,6 +28,7 @@ export declare const options: {
28
28
  meterChart: MeterChartOptions;
29
29
  radarChart: RadarChartOptions;
30
30
  gaugeChart: GaugeChartOptions;
31
+ comboChart: ComboChartOptions;
31
32
  treemapChart: TreemapChartOptions;
32
33
  };
33
34
  export * from "./configuration-non-customizable";
@@ -1,4 +1,4 @@
1
- import { GaugeTypes, Statuses, ArrowDirections, Alignments } from "./enums";
1
+ import { GaugeTypes, Statuses, ArrowDirections, Alignments, ChartTypes } from "./enums";
2
2
  import { LegendOptions, TooltipOptions, GridOptions, AxesOptions, ZoomBarsOptions } from "./index";
3
3
  import { BarOptions, StackedBarOptions } from "./components";
4
4
  import { TimeScaleOptions } from "./axis-scales";
@@ -271,7 +271,16 @@ export interface RadarChartOptions extends BaseChartOptions {
271
271
  };
272
272
  }
273
273
  /**
274
- * options specific to treemap charts
274
+ * options specific to combo bar charts
275
275
  */
276
+ export interface ComboChartOptions extends AxisChartOptions {
277
+ comboChartTypes?: {
278
+ [ChartTypes.LINE]?: [];
279
+ [ChartTypes.STACKED_BAR]?: [];
280
+ [ChartTypes.GROUPED_BAR]?: [];
281
+ [ChartTypes.SIMPLE_BAR]?: [];
282
+ [ChartTypes.SCATTER]?: [];
283
+ };
284
+ }
276
285
  export interface TreemapChartOptions extends BaseChartOptions {
277
286
  }
@@ -161,6 +161,18 @@ export declare enum TickRotations {
161
161
  AUTO = "auto",
162
162
  NEVER = "never"
163
163
  }
164
+ /**
165
+ * enum of chartTypes that work with combo chart
166
+ */
167
+ export declare enum ChartTypes {
168
+ SCATTER = "scatter",
169
+ LINE = "line",
170
+ SIMPLE_BAR = "simple-bar",
171
+ STACKED_BAR = "stacked-bar",
172
+ GROUPED_BAR = "grouped-bar",
173
+ AREA = "area",
174
+ STACKED_AREA = "stacked-area"
175
+ }
164
176
  /**
165
177
  * enum of supported toolbar control types
166
178
  */
@@ -17,8 +17,14 @@ export declare class ChartModel {
17
17
  protected colorScale: any;
18
18
  protected colorClassNames: any;
19
19
  constructor(services: any);
20
- getAllDataFromDomain(): any;
21
- getDisplayData(): any;
20
+ getAllDataFromDomain(groups?: any): any;
21
+ /**
22
+ * Charts that have group configs passed into them, only want to retrieve the display data relevant to that chart
23
+ * @param groups the included datasets for the particular chart
24
+ */
25
+ getDisplayData(groups?: any): any;
26
+ setStackedGroups(groups: any): void;
27
+ getStackedGroups(): any;
22
28
  getData(): any;
23
29
  isDataEmpty(): boolean;
24
30
  /**
@@ -26,17 +32,18 @@ export declare class ChartModel {
26
32
  * @param newData The new raw data to be set
27
33
  */
28
34
  setData(newData: any): any;
29
- getDataGroups(): any;
30
- getActiveDataGroups(): any;
31
- getDataGroupNames(): any;
32
- getActiveDataGroupNames(): any;
33
- getGroupedData(): {
35
+ getDataGroups(groups?: any): any;
36
+ getActiveDataGroups(groups?: any): any;
37
+ getDataGroupNames(groups?: any): any;
38
+ getActiveDataGroupNames(groups?: any): any;
39
+ getGroupedData(groups?: any): {
34
40
  name: string;
35
41
  data: any;
36
42
  }[];
37
- getDataValuesGroupedByKeys(): any;
38
- getStackedData({ percentage }?: {
39
- percentage: boolean;
43
+ getDataValuesGroupedByKeys(groups?: any): any;
44
+ getStackedData({ percentage, groups }: {
45
+ percentage?: boolean;
46
+ groups?: any;
40
47
  }): any[][];
41
48
  /**
42
49
  * @return {Object} The chart's options
@@ -15,15 +15,25 @@ export declare class CartesianScales extends Service {
15
15
  };
16
16
  protected domainAxisPosition: AxisPositions;
17
17
  protected rangeAxisPosition: AxisPositions;
18
+ protected secondaryDomainAxisPosition: AxisPositions;
19
+ protected secondaryRangeAxisPosition: AxisPositions;
20
+ protected dualAxes: Boolean;
18
21
  protected orientation: CartesianOrientations;
19
- getDomainAxisPosition(): AxisPositions;
20
- getRangeAxisPosition(): AxisPositions;
22
+ getDomainAxisPosition({ datum }?: {
23
+ datum?: any;
24
+ }): AxisPositions;
25
+ getRangeAxisPosition({ datum, groups }?: {
26
+ datum?: any;
27
+ groups?: any;
28
+ }): AxisPositions;
21
29
  getAxisOptions(position: AxisPositions): any;
22
30
  getDomainAxisOptions(): any;
23
31
  getRangeAxisOptions(): any;
24
32
  update(animate?: boolean): void;
25
33
  findDomainAndRangeAxes(): void;
26
34
  determineOrientation(): void;
35
+ isDualAxes(): Boolean;
36
+ determineAxisDuality(): void;
27
37
  getOrientation(): CartesianOrientations;
28
38
  getScaleByPosition(axisPosition: AxisPositions): any;
29
39
  getScaleTypeByPosition(axisPosition: AxisPositions): any;
@@ -41,14 +51,22 @@ export declare class CartesianScales extends Service {
41
51
  getRangeValue(d: any, i: any): any;
42
52
  getMainXScaleType(): any;
43
53
  getMainYScaleType(): any;
44
- getDomainIdentifier(): any;
45
- getRangeIdentifier(): any;
54
+ getDomainIdentifier(datum?: any): any;
55
+ getRangeIdentifier(datum?: any): any;
46
56
  extendsDomain(axisPosition: AxisPositions, domain: any): number[] | Date[];
47
- protected findMainVerticalAxisPosition(): AxisPositions.LEFT | AxisPositions.RIGHT;
48
- protected findMainHorizontalAxisPosition(): AxisPositions.TOP | AxisPositions.BOTTOM;
49
- protected findDomainAndRangeAxesPositions(mainVerticalAxisPosition: AxisPositions, mainHorizontalAxisPosition: AxisPositions): {
50
- domainAxisPosition: any;
51
- rangeAxisPosition: any;
57
+ protected findVerticalAxesPositions(): {
58
+ primary: AxisPositions;
59
+ secondary: AxisPositions;
60
+ };
61
+ protected findHorizontalAxesPositions(): {
62
+ primary: AxisPositions;
63
+ secondary: AxisPositions;
64
+ };
65
+ protected findDomainAndRangeAxesPositions(verticalAxesPositions: any, horizontalAxesPositions: any): {
66
+ primaryDomainAxisPosition: any;
67
+ secondaryDomainAxisPosition: any;
68
+ primaryRangeAxisPosition: any;
69
+ secondaryRangeAxisPosition: any;
52
70
  };
53
71
  protected getScaleDomain(axisPosition: AxisPositions): any;
54
72
  protected createScale(axisPosition: AxisPositions): any;
@@ -6,6 +6,8 @@ export declare namespace Tools {
6
6
  export const merge: any;
7
7
  export const removeArrayDuplicates: any;
8
8
  export const clamp: any;
9
+ export const flatten: any;
10
+ export const camelCase: any;
9
11
  export const isEmpty: any;
10
12
  export const isEqual: any;
11
13
  export const flatMapDeep: any;
@@ -0,0 +1,4 @@
1
+ export declare const apiTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -1 +1,4 @@
1
- export declare const colorPaletteTutorial: string;
1
+ export declare const colorPaletteTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -1 +1,4 @@
1
- export declare const eventListenersTutorial: string;
1
+ export declare const eventListenersTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -1 +1,5 @@
1
- export declare const angularTutorial: string;
1
+ export declare const angularTutorial: {
2
+ name: string;
3
+ type: string;
4
+ content: string;
5
+ };
@@ -1 +1,5 @@
1
- export declare const reactTutorial: string;
1
+ export declare const reactTutorial: {
2
+ name: string;
3
+ type: string;
4
+ content: string;
5
+ };
@@ -1 +1,5 @@
1
- export declare const vanillaTutorial: string;
1
+ export declare const vanillaTutorial: {
2
+ name: string;
3
+ type: string;
4
+ content: string;
5
+ };
@@ -1 +1,5 @@
1
- export declare const vueTutorial: string;
1
+ export declare const vueTutorial: {
2
+ name: string;
3
+ type: string;
4
+ content: string;
5
+ };
@@ -2,6 +2,8 @@ export * from "./getting-started/angular";
2
2
  export * from "./getting-started/react";
3
3
  export * from "./getting-started/vue";
4
4
  export * from "./getting-started/vanilla";
5
+ export * from "./api";
5
6
  export * from "./tabular-data-format";
7
+ export * from "./themes";
6
8
  export * from "./event-listeners";
7
9
  export * from "./color-palette";
@@ -1 +1,4 @@
1
- export declare const tabularTutorial: string;
1
+ export declare const tabularTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const themesTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -1,13 +1,5 @@
1
1
  export declare const addControls: (container: any, chart: any) => void;
2
- export declare const addRadioButtonEventListeners: {
3
- (container: any): void;
4
- displayName: string;
5
- __docgenInfo: {
6
- "description": string;
7
- "displayName": string;
8
- "props": {};
9
- };
10
- };
2
+ export declare const addRadioButtonEventListeners: (container: any, chart: any) => void;
11
3
  /**
12
4
  * Generates random data going backwards from now once a minute
13
5
  * @param {number} quantity number of data points to create