@carbon/charts 1.1.0 → 1.3.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,36 @@
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
+ # [1.3.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.2.1...v1.3.0) (2022-06-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** bar group time series ([#1398](https://github.com/carbon-design-system/carbon-charts/issues/1398)) ([6ff1bb1](https://github.com/carbon-design-system/carbon-charts/commit/6ff1bb19ec95f5cd5da34ce8639fa9c079461d5f)), closes [#1396](https://github.com/carbon-design-system/carbon-charts/issues/1396) [#1373](https://github.com/carbon-design-system/carbon-charts/issues/1373)
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.2.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.2.0...v1.2.1) (2022-06-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **core:** add aria-label attribute to toolbar container ([#1391](https://github.com/carbon-design-system/carbon-charts/issues/1391)) ([9c38a76](https://github.com/carbon-design-system/carbon-charts/commit/9c38a764c08a2c2430ce72ac61b0e5e8aef54e74)), closes [#1390](https://github.com/carbon-design-system/carbon-charts/issues/1390)
23
+
24
+
25
+
26
+
27
+
28
+ # [1.2.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.1.0...v1.2.0) (2022-06-13)
29
+
30
+ **Note:** Version bump only for package @carbon/charts
31
+
32
+
33
+
34
+
35
+
6
36
  # [1.1.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.0.4...v1.1.0) (2022-06-08)
7
37
 
8
38
 
@@ -3,6 +3,16 @@ export declare const groupedBarData: {
3
3
  key: string;
4
4
  value: number;
5
5
  }[];
6
+ export declare const groupedBarTimeSeriesData: {
7
+ group: string;
8
+ date: Date;
9
+ value: number;
10
+ }[];
11
+ export declare const groupedBarTimeSeriesDenseData: {
12
+ group: string;
13
+ date: Date;
14
+ value: number;
15
+ }[];
6
16
  export declare const groupedBarOptions: {
7
17
  title: string;
8
18
  axes: {
@@ -52,6 +62,42 @@ export declare const groupedHorizontalBarOptions: {
52
62
  };
53
63
  };
54
64
  };
65
+ export declare const groupedBarTimeSeriesOptions: {
66
+ title: string;
67
+ axes: {
68
+ left: {
69
+ mapsTo: string;
70
+ };
71
+ bottom: {
72
+ mapsTo: string;
73
+ scaleType: string;
74
+ };
75
+ };
76
+ };
77
+ export declare const groupedBarHorizontalTimeSeriesOptions: {
78
+ title: string;
79
+ axes: {
80
+ left: {
81
+ mapsTo: string;
82
+ scaleType: string;
83
+ };
84
+ bottom: {
85
+ mapsTo: string;
86
+ };
87
+ };
88
+ };
89
+ export declare const groupedBarTimeSeriesDenseOptions: {
90
+ title: string;
91
+ axes: {
92
+ left: {
93
+ mapsTo: string;
94
+ };
95
+ bottom: {
96
+ mapsTo: string;
97
+ scaleType: string;
98
+ };
99
+ };
100
+ };
55
101
  export declare const simpleBarData: {
56
102
  group: string;
57
103
  value: number;
@@ -11,6 +11,12 @@ export declare const zoomBarSimpleBarTimeSeriesData: {
11
11
  value: number;
12
12
  }[];
13
13
  export declare const zoomBarSimpleBarTimeSeriesOptions: any;
14
+ export declare const zoomBarGroupedBarTimeSeriesData: {
15
+ group: string;
16
+ date: Date;
17
+ value: number;
18
+ }[];
19
+ export declare const zoomBarGroupedBarTimeSeriesOptions: any;
14
20
  export declare const zoomBarStackedBarTimeSeriesData: {
15
21
  group: string;
16
22
  date: Date;
@@ -6,6 +6,7 @@ export declare class GroupedBar extends Bar {
6
6
  renderType: RenderTypes;
7
7
  groupScale: ScaleBand<any>;
8
8
  padding: number;
9
+ readonly defaultStepFactor = 70;
9
10
  init(): void;
10
11
  render(animate: boolean): void;
11
12
  handleLegendOnHover: (event: CustomEvent<any>) => void;
@@ -14,6 +15,7 @@ export declare class GroupedBar extends Bar {
14
15
  destroy(): void;
15
16
  protected getDataCorrespondingToLabel(label: string): any;
16
17
  protected getGroupWidth(): number;
18
+ protected getDomainScaleStep(): number;
17
19
  protected getTotalGroupPadding(): number;
18
20
  protected getBarWidth(): any;
19
21
  protected setGroupScale(): void;
@@ -19,8 +19,9 @@ export declare class DOMUtils extends Service {
19
19
  protected width: string;
20
20
  protected height: string;
21
21
  init(): void;
22
- getChartID(): string;
22
+ getChartID(): any;
23
23
  generateElementIDString(originalID: any): string;
24
+ private initializeID;
24
25
  addMainContainer(): void;
25
26
  update(): void;
26
27
  styleHolderElement(): void;