@carbon/charts 0.41.35 → 0.41.36
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 +10 -1
- package/build/demo/data/combo.d.ts +4 -31
- package/build/src/interfaces/axis-scales.d.ts +6 -1
- package/build/src/interfaces/charts.d.ts +1 -1
- package/build/src/interfaces/enums.d.ts +7 -0
- package/bundle.js +1 -1
- package/components/axes/axis.js +34 -13
- package/components/axes/axis.js.map +1 -1
- package/demo/data/bubble.js +4 -4
- package/demo/data/bubble.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/data/combo.d.ts +4 -31
- package/demo/data/combo.js +4 -42
- package/demo/data/combo.js.map +1 -1
- package/demo/data/index.js +0 -6
- package/demo/data/index.js.map +1 -1
- package/demo/tsconfig.tsbuildinfo +10 -10
- package/interfaces/axis-scales.d.ts +6 -1
- package/interfaces/axis-scales.js.map +1 -1
- package/interfaces/charts.d.ts +1 -1
- package/interfaces/charts.js.map +1 -1
- package/interfaces/enums.d.ts +7 -0
- package/interfaces/enums.js +8 -0
- package/interfaces/enums.js.map +1 -1
- package/model.js +3 -2
- package/model.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
## [0.41.36](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.35...v0.41.36) (2021-02-22)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @carbon/charts
|
|
9
9
|
|
|
@@ -11,6 +11,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
## [0.41.35](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.34...v0.41.35) (2021-02-22)
|
|
20
|
+
|
|
21
|
+
**Note:** Version bump only for package @carbon/charts
|
|
22
|
+
|
|
14
23
|
# Change Log
|
|
15
24
|
|
|
16
25
|
All notable changes to this project will be documented in this file. See
|
|
@@ -346,37 +346,6 @@ export declare const comboLoadingOptions: {
|
|
|
346
346
|
correspondingDatasets: string[];
|
|
347
347
|
}[];
|
|
348
348
|
};
|
|
349
|
-
export declare const comboErrorData: ({
|
|
350
|
-
group: string;
|
|
351
|
-
key: string;
|
|
352
|
-
temp: number;
|
|
353
|
-
value?: undefined;
|
|
354
|
-
} | {
|
|
355
|
-
group: string;
|
|
356
|
-
key: string;
|
|
357
|
-
value: number;
|
|
358
|
-
temp?: undefined;
|
|
359
|
-
})[];
|
|
360
|
-
export declare const comboErrorOptions: {
|
|
361
|
-
experimental: boolean;
|
|
362
|
-
title: string;
|
|
363
|
-
axes: {
|
|
364
|
-
left: {
|
|
365
|
-
mapsTo: string;
|
|
366
|
-
title: string;
|
|
367
|
-
};
|
|
368
|
-
bottom: {
|
|
369
|
-
scaleType: string;
|
|
370
|
-
mapsTo: string;
|
|
371
|
-
};
|
|
372
|
-
right: {
|
|
373
|
-
title: string;
|
|
374
|
-
mapsTo: string;
|
|
375
|
-
scaleType: string;
|
|
376
|
-
correspondingDatasets: string[];
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
349
|
export declare const comboStackedAreaLine: ({
|
|
381
350
|
group: string;
|
|
382
351
|
date: Date;
|
|
@@ -393,17 +362,21 @@ export declare const comboStackedAreaLineOptions: {
|
|
|
393
362
|
title: string;
|
|
394
363
|
axes: {
|
|
395
364
|
left: {
|
|
365
|
+
title: string;
|
|
396
366
|
stacked: boolean;
|
|
397
367
|
mapsTo: string;
|
|
368
|
+
titleOrientation: string;
|
|
398
369
|
};
|
|
399
370
|
bottom: {
|
|
400
371
|
scaleType: string;
|
|
401
372
|
mapsTo: string;
|
|
402
373
|
};
|
|
403
374
|
right: {
|
|
375
|
+
title: string;
|
|
404
376
|
scaleType: string;
|
|
405
377
|
mapsTo: string;
|
|
406
378
|
correspondingDatasets: string[];
|
|
379
|
+
titleOrientation: string;
|
|
407
380
|
};
|
|
408
381
|
};
|
|
409
382
|
curve: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ScaleTypes, TickRotations } from './enums';
|
|
1
|
+
import { ScaleTypes, TickRotations, AxisTitleOrientations } from './enums';
|
|
2
2
|
import { AxisDomain } from 'd3';
|
|
3
3
|
import { Locale } from 'date-fns';
|
|
4
4
|
import { ThresholdOptions } from './components';
|
|
@@ -42,6 +42,11 @@ export interface AxisOptions {
|
|
|
42
42
|
* optional title for the scales
|
|
43
43
|
*/
|
|
44
44
|
title?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Override for the orientation of the title (for vertical axes).
|
|
47
|
+
* The title string can be overrided to be rotated left or right.
|
|
48
|
+
*/
|
|
49
|
+
titleOrientation?: AxisTitleOrientations;
|
|
45
50
|
/**
|
|
46
51
|
* thresholds
|
|
47
52
|
* Example:
|
|
@@ -181,3 +181,10 @@ export declare enum ToolbarControlTypes {
|
|
|
181
181
|
ZOOM_OUT = "Zoom out",
|
|
182
182
|
RESET_ZOOM = "Reset zoom"
|
|
183
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* enum of title orientations for _vertical axes_
|
|
186
|
+
*/
|
|
187
|
+
export declare enum AxisTitleOrientations {
|
|
188
|
+
LEFT = "left",
|
|
189
|
+
RIGHT = "right"
|
|
190
|
+
}
|