@carbon/charts 0.43.0 → 0.44.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.44.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.43.0...v0.44.0) (2021-08-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** support negative values in stacked bar ([#1121](https://github.com/carbon-design-system/carbon-charts/issues/1121)) ([b71cc79](https://github.com/carbon-design-system/carbon-charts/commit/b71cc79876fe56b49cbb08441f41e17ee37fbcff))
12
+
13
+
14
+
15
+
16
+
6
17
  # [0.43.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.42.1...v0.43.0) (2021-08-17)
7
18
 
8
19
 
@@ -352,6 +352,26 @@ export declare const stackedBarOptions: {
352
352
  };
353
353
  };
354
354
  };
355
+ export declare const stackedBarNegativeData: {
356
+ group: string;
357
+ key: string;
358
+ value: number;
359
+ }[];
360
+ export declare const stackedBarNegativeOptions: {
361
+ title: string;
362
+ axes: {
363
+ left: {
364
+ mapsTo: string;
365
+ stacked: boolean;
366
+ };
367
+ bottom: {
368
+ mapsTo: string;
369
+ scaleType: string;
370
+ };
371
+ };
372
+ } & {
373
+ title: string;
374
+ };
355
375
  export declare const stackedHorizontalBarData: {
356
376
  group: string;
357
377
  key: string;
@@ -47,9 +47,10 @@ export declare class ChartModel {
47
47
  bins?: any;
48
48
  groups?: any;
49
49
  }): any;
50
- getStackedData({ percentage, groups }: {
50
+ getStackedData({ percentage, groups, divergent }: {
51
51
  percentage?: boolean;
52
52
  groups?: any;
53
+ divergent?: boolean;
53
54
  }): any[][];
54
55
  /**
55
56
  * @return {Object} The chart's options