@carbon/charts 1.5.6 → 1.5.8
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 +22 -0
- package/build/src/interfaces/axis-scales.d.ts +11 -0
- package/build/src/interfaces/charts.d.ts +2 -1
- package/build/src/services/scales-cartesian.d.ts +1 -1
- package/bundle.js +1 -1
- package/components/graphs/wordcloud.js +6 -2
- package/components/graphs/wordcloud.js.map +1 -1
- package/interfaces/axis-scales.d.ts +11 -0
- package/interfaces/axis-scales.js.map +1 -1
- package/interfaces/charts.d.ts +2 -1
- package/interfaces/charts.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.5.8](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.7...v1.5.8) (2022-09-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** wordcloud should not render if `value` is not a number ([#1449](https://github.com/carbon-design-system/carbon-charts/issues/1449)) ([822f813](https://github.com/carbon-design-system/carbon-charts/commit/822f81360e1c9f2fdcc625a0d538f9af92c62fd9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.5.7](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.6...v1.5.7) (2022-09-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **core:** add missing properties to AxisOptions interface ([#1432](https://github.com/carbon-design-system/carbon-charts/issues/1432)) ([f88f310](https://github.com/carbon-design-system/carbon-charts/commit/f88f31000add77ba4affb78aa82276069d0f501a)), closes [#1413](https://github.com/carbon-design-system/carbon-charts/issues/1413)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [1.5.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.5...v1.5.6) (2022-09-14)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @carbon/charts
|
|
@@ -122,6 +122,17 @@ export interface AxisOptions extends BasedAxisOptions {
|
|
|
122
122
|
*/
|
|
123
123
|
percentage?: boolean;
|
|
124
124
|
}
|
|
125
|
+
export interface ComboChartAxisOptions extends AxisOptions {
|
|
126
|
+
/**
|
|
127
|
+
* should be set to `true` for the
|
|
128
|
+
* left axis to be the primary axis
|
|
129
|
+
*/
|
|
130
|
+
main?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* used to map data on the secondary axis
|
|
133
|
+
*/
|
|
134
|
+
correspondingDatasets?: Array<string>;
|
|
135
|
+
}
|
|
125
136
|
export interface BinnedAxisOptions {
|
|
126
137
|
/**
|
|
127
138
|
* should be set to `true` on the domain
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GaugeTypes, Statuses, ArrowDirections, Alignments, ChartTypes, TreeTypes, DividerStatus, ColorLegendType, ChartTheme } from './enums';
|
|
2
2
|
import { LegendOptions, TooltipOptions, GridOptions, AxesOptions, ZoomBarsOptions } from './index';
|
|
3
3
|
import { BarOptions, StackedBarOptions, ToolbarOptions } from './components';
|
|
4
|
-
import { AxisOptions, BinnedAxisOptions, TimeScaleOptions } from './axis-scales';
|
|
4
|
+
import { AxisOptions, BinnedAxisOptions, ComboChartAxisOptions, TimeScaleOptions } from './axis-scales';
|
|
5
5
|
/**
|
|
6
6
|
* Base chart options common to any chart
|
|
7
7
|
*/
|
|
@@ -397,6 +397,7 @@ export interface RadarChartOptions extends BaseChartOptions {
|
|
|
397
397
|
* options specific to combo charts
|
|
398
398
|
*/
|
|
399
399
|
export interface ComboChartOptions extends AxisChartOptions {
|
|
400
|
+
axes?: AxesOptions<ComboChartAxisOptions>;
|
|
400
401
|
comboChartTypes: Array<{
|
|
401
402
|
type: ChartTypes | any;
|
|
402
403
|
options?: object;
|
|
@@ -58,7 +58,7 @@ export declare class CartesianScales extends Service {
|
|
|
58
58
|
getMainYScaleType(): any;
|
|
59
59
|
getDomainIdentifier(datum?: any): any;
|
|
60
60
|
getRangeIdentifier(datum?: any): any;
|
|
61
|
-
extendsDomain(axisPosition: AxisPositions, domain: any):
|
|
61
|
+
extendsDomain(axisPosition: AxisPositions, domain: any): number[] | Date[];
|
|
62
62
|
protected findVerticalAxesPositions(): {
|
|
63
63
|
primary: AxisPositions;
|
|
64
64
|
secondary: AxisPositions;
|