@carbon/charts-react 0.30.5 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +16 -10
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
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
+ **Note:** Version bump only for package @carbon/charts-react
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.30.8](https://github.com/IBM/carbon-charts/compare/v0.30.7...v0.30.8) (2020-04-03)
15
+
16
+ **Note:** Version bump only for package @carbon/charts-react
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.30.7](https://github.com/IBM/carbon-charts/compare/v0.30.6...v0.30.7) (2020-03-31)
23
+
24
+ **Note:** Version bump only for package @carbon/charts-react
25
+
26
+
27
+
28
+
29
+
30
+ ## [0.30.6](https://github.com/IBM/carbon-charts/compare/v0.30.5...v0.30.6) (2020-03-30)
31
+
32
+ **Note:** Version bump only for package @carbon/charts-react
33
+
34
+
35
+
36
+
37
+
6
38
  ## [0.30.5](https://github.com/IBM/carbon-charts/compare/v0.30.4...v0.30.5) (2020-03-30)
7
39
 
8
40
  **Note:** Version bump only for package @carbon/charts-react
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  > Carbon Charting React Wrappers
4
4
 
5
- **[Storybook Demos](https://carbon-design-system.github.io/carbon-charts/react)**
5
+ **[Storybook demos](https://carbon-design-system.github.io/carbon-charts/react)**
6
6
 
7
- **[Storybook Demo Sources](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/react/stories)**
7
+ **[Storybook demo sources](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/data)**
8
8
 
9
- ## Getting Started
9
+ ## Getting started
10
10
  Run the following command using [npm](https://www.npmjs.com/):
11
11
 
12
12
  ```bash
@@ -20,15 +20,21 @@ instead:
20
20
  yarn add @carbon/charts @carbon/charts-react d3
21
21
  ```
22
22
 
23
- ## Step-by-step Instructions
23
+ ## Step-by-step instructions
24
24
  [Read on carbondesignsystem.com](https://www.carbondesignsystem.com/data-visualization/getting-started/react)
25
25
 
26
- ## Sample Project
27
- [![Edit Carbon Charts - React](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/carbon-charts-react-isck2)
26
+ ## Codesandbox examples
27
+ [Sample use cases can be seen here](https://carbon-design-system.github.io/carbon-charts/react).
28
28
 
29
- ## Charting Data & Options
30
- 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, .
29
+ **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.
31
30
 
32
- For instance, in the case of pie and donut charts, you would only provide one data set. In the case of donut charts, you can pass in an additional field called `center` in your options configuring the donut center.
31
+ ## Charting data & options
32
+ 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.
33
33
 
34
- There are also additional options available depending on the chart type being used, [for more examples please see here](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/demo-data).
34
+ 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.
35
+
36
+ For instructions on using the **tabular data format**, see [here](https://carbon-design-system.github.io/carbon-charts/?path=/story/tutorials--tabular-data-format)
37
+
38
+ 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).
39
+
40
+ Customizable options (specific to chart type) can be found [here](https://carbon-design-system.github.io/carbon-charts/documentation/modules/_interfaces_charts_.html)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-react",
3
- "version": "0.30.5",
3
+ "version": "0.30.9",
4
4
  "description": "Carbon charting components for React",
5
5
  "main": "./bundle.js",
6
6
  "module": "./index.js",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "homepage": "https://github.com/IBM/carbon-charts#readme",
47
47
  "dependencies": {
48
- "@carbon/charts": "^0.30.5"
48
+ "@carbon/charts": "^0.30.9"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": "^16.6.3",