@carbon/charts 0.30.8 → 0.30.9
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 +14 -8
- package/bundle.js +1 -1
- package/components/graphs/bar-stacked.js +1 -2
- package/components/graphs/bar-stacked.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
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.30.9](https://github.com/IBM/carbon-charts/compare/v0.30.8...v0.30.9) (2020-04-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **bar-stacked:** render 0 value bars ([425e11d](https://github.com/IBM/carbon-charts/commit/425e11d9dacb8bbaf9740759754eab1f0aa45843))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.30.8](https://github.com/IBM/carbon-charts/compare/v0.30.7...v0.30.8) (2020-04-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @carbon/charts
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Carbon Charting components
|
|
4
4
|
|
|
5
|
-
## Getting
|
|
5
|
+
## Getting started
|
|
6
6
|
|
|
7
7
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
8
8
|
|
|
@@ -17,15 +17,21 @@ instead:
|
|
|
17
17
|
yarn add @carbon/charts d3
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
## Step-by-step
|
|
20
|
+
## Step-by-step instructions
|
|
21
21
|
[Read on carbondesignsystem.com](https://www.carbondesignsystem.com/data-visualization/getting-started/vanilla)
|
|
22
22
|
|
|
23
|
-
##
|
|
24
|
-
[
|
|
23
|
+
## Codesandbox examples
|
|
24
|
+
[Sample use cases can be seen here](https://carbon-design-system.github.io/carbon-charts).
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
Although we will definitely introduce new models in the future as we start shipping new components such as maps, Data and options follow the same model in all charts, with minor exceptions and differences in specific components, .
|
|
26
|
+
**When opening the link above**, click on the **Edit on Codesandbox** button for each demo to see an isolated project showing you how to reproduce the demo.
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
## Charting data & options
|
|
29
|
+
Although we will definitely introduce new models in the future as we start shipping new components such as maps, Data and options follow the same model in all charts, with minor exceptions and differences in specific components.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
For instance in the case of a donut chart you're able to pass in an additional field called `center` in your options configuring the donut center.
|
|
32
|
+
|
|
33
|
+
For instructions on using the **tabular data format**, see [here](https://carbon-design-system.github.io/carbon-charts/?path=/story/tutorials--tabular-data-format)
|
|
34
|
+
|
|
35
|
+
There are also additional options available depending on the chart type being used, [see our demo examples here](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/data).
|
|
36
|
+
|
|
37
|
+
Customizable options (specific to chart type) can be found [here](https://carbon-design-system.github.io/carbon-charts/documentation/modules/_interfaces_charts_.html)
|