@carbon/charts 0.37.1 → 0.38.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 +11 -0
- package/README.md +2 -2
- package/build/src/components/axes/ruler.d.ts +2 -0
- package/build/src/configuration.d.ts +5 -1
- package/build/src/interfaces/axis-scales.d.ts +4 -0
- package/build/src/interfaces/components.d.ts +6 -0
- package/bundle.js +1 -1
- package/components/axes/axis.js +30 -25
- package/components/axes/axis.js.map +1 -1
- package/components/axes/ruler.d.ts +2 -0
- package/components/axes/ruler.js +14 -9
- package/components/axes/ruler.js.map +1 -1
- package/configuration.d.ts +5 -1
- package/configuration.js +12 -0
- package/configuration.js.map +1 -1
- package/demo/tsconfig.tsbuildinfo +4 -4
- package/interfaces/axis-scales.d.ts +4 -0
- package/interfaces/axis-scales.js.map +1 -1
- package/interfaces/components.d.ts +6 -0
- package/interfaces/components.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +9 -9
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.38.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.1...v0.38.0) (2020-09-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **core:** enable or disable ruler ([#765](https://github.com/carbon-design-system/carbon-charts/issues/765)) ([bef6daf](https://github.com/carbon-design-system/carbon-charts/commit/bef6daf53e2c7c825d39daa160e9f721ddec0b29))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.37.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.0...v0.37.1) (2020-09-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @carbon/charts
|
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -S @carbon/charts d3
|
|
10
|
+
npm install -S @carbon/charts d3@5.x
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
|
|
14
14
|
instead:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
yarn add @carbon/charts d3
|
|
17
|
+
yarn add @carbon/charts d3@5.x
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
**Note:** you'd also need to install `carbon-components` if you're not using a
|
|
@@ -11,7 +11,9 @@ export declare class Ruler extends Component {
|
|
|
11
11
|
}[];
|
|
12
12
|
isXGridEnabled: any;
|
|
13
13
|
isYGridEnabled: any;
|
|
14
|
+
isEventListenerAdded: boolean;
|
|
14
15
|
render(): void;
|
|
16
|
+
removeBackdropEventListeners(): void;
|
|
15
17
|
formatTooltipData(tooltipData: any): any;
|
|
16
18
|
showRuler([x, y]: [number, number]): any;
|
|
17
19
|
hideRuler(): void;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, GridOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from "./interfaces";
|
|
1
|
+
import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from "./interfaces";
|
|
2
2
|
/**
|
|
3
3
|
* Grid options
|
|
4
4
|
*/
|
|
5
5
|
export declare const grid: GridOptions;
|
|
6
|
+
/**
|
|
7
|
+
* Ruler options
|
|
8
|
+
*/
|
|
9
|
+
export declare const ruler: RulerOptions;
|
|
6
10
|
/**
|
|
7
11
|
* Tooltip options
|
|
8
12
|
*/
|