@carbon/charts 0.41.10 → 0.41.14

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 (70) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/build/demo/data/bar.d.ts +5 -2
  3. package/build/src/interfaces/charts.d.ts +6 -8
  4. package/build/src/model.d.ts +0 -1
  5. package/bundle.js +1 -1
  6. package/components/essentials/legend.js +8 -12
  7. package/components/essentials/legend.js.map +1 -1
  8. package/components/essentials/tooltip.js +3 -5
  9. package/components/essentials/tooltip.js.map +1 -1
  10. package/components/graphs/bar-grouped.js +1 -1
  11. package/components/graphs/bar-grouped.js.map +1 -1
  12. package/components/graphs/bar-simple.js +1 -1
  13. package/components/graphs/bar-simple.js.map +1 -1
  14. package/components/graphs/bar-stacked.js +1 -1
  15. package/components/graphs/bar-stacked.js.map +1 -1
  16. package/components/graphs/bubble.js +2 -2
  17. package/components/graphs/bubble.js.map +1 -1
  18. package/components/graphs/gauge.js +2 -2
  19. package/components/graphs/gauge.js.map +1 -1
  20. package/components/graphs/line.js +1 -1
  21. package/components/graphs/line.js.map +1 -1
  22. package/components/graphs/meter.js +1 -1
  23. package/components/graphs/meter.js.map +1 -1
  24. package/components/graphs/pie.js +1 -1
  25. package/components/graphs/pie.js.map +1 -1
  26. package/components/graphs/radar.js +6 -6
  27. package/components/graphs/radar.js.map +1 -1
  28. package/components/graphs/scatter.js +8 -7
  29. package/components/graphs/scatter.js.map +1 -1
  30. package/components/graphs/treemap.js +13 -2
  31. package/components/graphs/treemap.js.map +1 -1
  32. package/configuration.js +3 -1
  33. package/configuration.js.map +1 -1
  34. package/demo/data/bar.d.ts +5 -2
  35. package/demo/data/bar.js +6 -3
  36. package/demo/data/bar.js.map +1 -1
  37. package/demo/data/bundle.js +1 -1
  38. package/demo/data/index.js +1 -1
  39. package/demo/data/index.js.map +1 -1
  40. package/demo/styles.css +8 -4
  41. package/demo/styles.css.map +1 -1
  42. package/demo/styles.min.css +1 -1
  43. package/demo/styles.min.css.map +1 -1
  44. package/demo/tsconfig.tsbuildinfo +7 -7
  45. package/interfaces/charts.d.ts +6 -8
  46. package/interfaces/charts.js +0 -1
  47. package/interfaces/charts.js.map +1 -1
  48. package/model.d.ts +0 -1
  49. package/model.js +11 -31
  50. package/model.js.map +1 -1
  51. package/package.json +1 -1
  52. package/services/scales-cartesian.js.map +1 -1
  53. package/styles/components/_tooltip.scss +2 -1
  54. package/styles-g10.css +2 -1
  55. package/styles-g10.css.map +1 -1
  56. package/styles-g10.min.css +1 -1
  57. package/styles-g10.min.css.map +1 -1
  58. package/styles-g100.css +2 -1
  59. package/styles-g100.css.map +1 -1
  60. package/styles-g100.min.css +1 -1
  61. package/styles-g100.min.css.map +1 -1
  62. package/styles-g90.css +2 -1
  63. package/styles-g90.css.map +1 -1
  64. package/styles-g90.min.css +1 -1
  65. package/styles-g90.min.css.map +1 -1
  66. package/styles.css +2 -1
  67. package/styles.css.map +1 -1
  68. package/styles.min.css +1 -1
  69. package/styles.min.css.map +1 -1
  70. package/tsconfig.tsbuildinfo +19 -19
package/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
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.14](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.13...v0.41.14) (2020-12-07)
7
+
8
+ **Note:** Version bump only for package @carbon/charts
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.41.13](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.12...v0.41.13) (2020-12-07)
15
+
16
+ **Note:** Version bump only for package @carbon/charts
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.41.12](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.11...v0.41.12) (2020-12-07)
23
+
24
+ **Note:** Version bump only for package @carbon/charts
25
+
26
+
27
+
28
+
29
+
30
+ ## [0.41.11](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.10...v0.41.11) (2020-12-04)
31
+
32
+ **Note:** Version bump only for package @carbon/charts
33
+
34
+
35
+
36
+
37
+
6
38
  ## [0.41.10](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.9...v0.41.10) (2020-12-01)
7
39
 
8
40
  **Note:** Version bump only for package @carbon/charts
@@ -68,7 +68,7 @@ export declare const simpleBarOptions: {
68
68
  };
69
69
  };
70
70
  };
71
- export declare const simpleBarColorPaletteOptions: {
71
+ export declare const simpleBarColorOverrideOptions: {
72
72
  title: string;
73
73
  axes: {
74
74
  left: {
@@ -81,9 +81,12 @@ export declare const simpleBarColorPaletteOptions: {
81
81
  };
82
82
  color: {
83
83
  pairing: {
84
- numberOfVariants: number;
85
84
  option: number;
86
85
  };
86
+ scale: {
87
+ "Qty": string;
88
+ "Misc": string;
89
+ };
87
90
  };
88
91
  };
89
92
  export declare const simpleBarCustomLegendOrderOptions: {
@@ -276,16 +276,14 @@ export interface RadarChartOptions extends BaseChartOptions {
276
276
  };
277
277
  }
278
278
  /**
279
- * options specific to combo bar charts
279
+ * options specific to combo charts
280
280
  */
281
281
  export interface ComboChartOptions extends AxisChartOptions {
282
- comboChartTypes?: {
283
- [ChartTypes.LINE]?: [];
284
- [ChartTypes.STACKED_BAR]?: [];
285
- [ChartTypes.GROUPED_BAR]?: [];
286
- [ChartTypes.SIMPLE_BAR]?: [];
287
- [ChartTypes.SCATTER]?: [];
288
- };
282
+ comboChartTypes: Array<{
283
+ type: ChartTypes | any;
284
+ options?: object;
285
+ correspondingDatasets: Array<string>;
286
+ }>;
289
287
  }
290
288
  export interface TreemapChartOptions extends BaseChartOptions {
291
289
  }
@@ -74,7 +74,6 @@ export declare class ChartModel {
74
74
  getIsFilled(group: any, key?: any, data?: any, defaultFilled?: boolean): any;
75
75
  getFillColor(group: any, key?: any, data?: any): any;
76
76
  getStrokeColor(group: any, key?: any, data?: any): any;
77
- getFillScale(): any;
78
77
  isUserProvidedColorScaleValid(): any;
79
78
  getColorClassName(configs: {
80
79
  classNameTypes: ColorClassNameTypes[];