Skip to content

Commit

Permalink
Gh pages v3.0.3 (#261)
Browse files Browse the repository at this point in the history
* Update docs

* rebuild docs

* Update docs

* Update docs (#190)

* Changelog casing fix

* decorate events and remove original decorations (#182)

* Fix warnings in tests and add SankeyNodeTerminal tests (#184)

* Update event handler test on XYPlot

* Fix Bar warnings in tests

* Fix XLine warnings in tests

* Fix AreaBarChart warnings

* Update SankeyDiagram tests

* Bump mixin-deep from 1.3.1 to 1.3.2 (#186)

Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint-utils from 1.4.0 to 1.4.3 (#185)

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <[email protected]>

* 2.0.2 release (#188)

* 2.0.2 release

* Update package-lock

* 2.0.2

* Update docs

* Gh pages v3 (#210)

* Changelog casing fix

* decorate events and remove original decorations (#182)

* Fix warnings in tests and add SankeyNodeTerminal tests (#184)

* Update event handler test on XYPlot

* Fix Bar warnings in tests

* Fix XLine warnings in tests

* Fix AreaBarChart warnings

* Update SankeyDiagram tests

* Bump mixin-deep from 1.3.1 to 1.3.2 (#186)

Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint-utils from 1.4.0 to 1.4.3 (#185)

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <[email protected]>

* 2.0.2 release (#188)

* 2.0.2 release

* Update package-lock

* 2.0.2

* Update docs in master (#189)

* Update docs

* rebuild docs

* Update docs

* Update docs

* Added Precommit hooks (#191)

* Added Precommit hooks

* Update package.json for precommit hooks

* Remove docs from build (#192)

* Update package-lock.json

* Remove docs from build process

* Disable cache for travis builds

* Revert "Added Precommit hooks (#191)" (#193)

This reverts commit 777320a.

* v3.0.0 release (#195)

* Revert "Revert "Added Precommit hooks (#191)" (#193)" (#194)

This reverts commit c6ae448.

* Update dependencies to enable Greenkeeper 🌴 (#187)

* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* chore(package): update lockfile package-lock.json

* Fix issues with cross-env upgrade

* Update jsdom setup

* Remove docs from npm build command

* Remove support for node < 8

* Update docs based on raw-loader upgrade

* Add Pie Chart Styles  (#201)

* WIP: PieChart prop of getValue -> slice, added pieSliceStyle prop to PieChart

* replace example code color picker with d3 function

* update docs

* address pr comments

* undo slice destructure

* update docs and fix CleanWebpack package usage

* doc update

* docs update

* remove doc build config

* Doc updates (#207)

* update punctuation for AreaBarChart

* require data as a prop for AreaBarChart

* update docs for AreaChart && add required next to props that are required

* update Bar docs

* update BarChart docs

* update ColorHeatmap docs

* FunnelChart docs

* update FunnelChart docs

* update Histogram docs

* update KernelDensityEstimation docs

* update LineChart docs

* MarkerLineChart docs update

* RangeBarChart doc update

* add iteration through enum types for docs, update sankey diagram docs

* remove extra spaces

* update docs for TreeMap

* Bar doc updates

* update all the docs with more descriptive prop types

* docs update for XLine

* update the rest of the docs

* 3.0.0

* v3.0.0 release

* Gh pages v3 0 1 (#213)

* Changelog casing fix

* decorate events and remove original decorations (#182)

* Fix warnings in tests and add SankeyNodeTerminal tests (#184)

* Update event handler test on XYPlot

* Fix Bar warnings in tests

* Fix XLine warnings in tests

* Fix AreaBarChart warnings

* Update SankeyDiagram tests

* Bump mixin-deep from 1.3.1 to 1.3.2 (#186)

Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint-utils from 1.4.0 to 1.4.3 (#185)

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <[email protected]>

* 2.0.2 release (#188)

* 2.0.2 release

* Update package-lock

* 2.0.2

* Update docs in master (#189)

* Update docs

* rebuild docs

* Update docs

* Update docs

* Added Precommit hooks (#191)

* Added Precommit hooks

* Update package.json for precommit hooks

* Remove docs from build (#192)

* Update package-lock.json

* Remove docs from build process

* Disable cache for travis builds

* Revert "Added Precommit hooks (#191)" (#193)

This reverts commit 777320a.

* v3.0.0 release (#195)

* Revert "Revert "Added Precommit hooks (#191)" (#193)" (#194)

This reverts commit c6ae448.

* Update dependencies to enable Greenkeeper 🌴 (#187)

* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* chore(package): update lockfile package-lock.json

* Fix issues with cross-env upgrade

* Update jsdom setup

* Remove docs from npm build command

* Remove support for node < 8

* Update docs based on raw-loader upgrade

* Add Pie Chart Styles  (#201)

* WIP: PieChart prop of getValue -> slice, added pieSliceStyle prop to PieChart

* replace example code color picker with d3 function

* update docs

* address pr comments

* undo slice destructure

* update docs and fix CleanWebpack package usage

* doc update

* docs update

* remove doc build config

* Doc updates (#207)

* update punctuation for AreaBarChart

* require data as a prop for AreaBarChart

* update docs for AreaChart && add required next to props that are required

* update Bar docs

* update BarChart docs

* update ColorHeatmap docs

* FunnelChart docs

* update FunnelChart docs

* update Histogram docs

* update KernelDensityEstimation docs

* update LineChart docs

* MarkerLineChart docs update

* RangeBarChart doc update

* add iteration through enum types for docs, update sankey diagram docs

* remove extra spaces

* update docs for TreeMap

* Bar doc updates

* update all the docs with more descriptive prop types

* docs update for XLine

* update the rest of the docs

* 3.0.0

* v3.0.0 release

* Fix xy plot lesson in docs (#211)

* Fix xy plot lesson in docs

* Add TODO regarding Interaction and GettersAndAccessors lesson and fix those imports just in case

* Prettier ignore build (#212)

* Add prettierignore to ignore build files

* ignore node modules

* 3.0.1

* v3.0.1 release

* Gh pages v3.0.2 (#237)

* Changelog casing fix

* decorate events and remove original decorations (#182)

* Fix warnings in tests and add SankeyNodeTerminal tests (#184)

* Update event handler test on XYPlot

* Fix Bar warnings in tests

* Fix XLine warnings in tests

* Fix AreaBarChart warnings

* Update SankeyDiagram tests

* Bump mixin-deep from 1.3.1 to 1.3.2 (#186)

Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint-utils from 1.4.0 to 1.4.3 (#185)

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <[email protected]>

* 2.0.2 release (#188)

* 2.0.2 release

* Update package-lock

* 2.0.2

* Update docs in master (#189)

* Update docs

* rebuild docs

* Update docs

* Update docs

* Added Precommit hooks (#191)

* Added Precommit hooks

* Update package.json for precommit hooks

* Remove docs from build (#192)

* Update package-lock.json

* Remove docs from build process

* Disable cache for travis builds

* Revert "Added Precommit hooks (#191)" (#193)

This reverts commit 777320a.

* v3.0.0 release (#195)

* Revert "Revert "Added Precommit hooks (#191)" (#193)" (#194)

This reverts commit c6ae448.

* Update dependencies to enable Greenkeeper 🌴 (#187)

* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* chore(package): update lockfile package-lock.json

* Fix issues with cross-env upgrade

* Update jsdom setup

* Remove docs from npm build command

* Remove support for node < 8

* Update docs based on raw-loader upgrade

* Add Pie Chart Styles  (#201)

* WIP: PieChart prop of getValue -> slice, added pieSliceStyle prop to PieChart

* replace example code color picker with d3 function

* update docs

* address pr comments

* undo slice destructure

* update docs and fix CleanWebpack package usage

* doc update

* docs update

* remove doc build config

* Doc updates (#207)

* update punctuation for AreaBarChart

* require data as a prop for AreaBarChart

* update docs for AreaChart && add required next to props that are required

* update Bar docs

* update BarChart docs

* update ColorHeatmap docs

* FunnelChart docs

* update FunnelChart docs

* update Histogram docs

* update KernelDensityEstimation docs

* update LineChart docs

* MarkerLineChart docs update

* RangeBarChart doc update

* add iteration through enum types for docs, update sankey diagram docs

* remove extra spaces

* update docs for TreeMap

* Bar doc updates

* update all the docs with more descriptive prop types

* docs update for XLine

* update the rest of the docs

* 3.0.0

* v3.0.0 release

* Fix xy plot lesson in docs (#211)

* Fix xy plot lesson in docs

* Add TODO regarding Interaction and GettersAndAccessors lesson and fix those imports just in case

* Prettier ignore build (#212)

* Add prettierignore to ignore build files

* ignore node modules

* 3.0.1

* v3.0.1 release

* Update sinon to the latest version 🚀 (#216)

* chore(package): update sinon to version 8.0.0

* chore(package): update lockfile package-lock.json

* Update eslint-config-prettier to the latest version 🚀 (#217)

* chore(package): update eslint-config-prettier to version 6.8.0

* chore(package): update lockfile package-lock.json

* Update cross-env to the latest version 🚀 (#225)

* chore(package): update cross-env to version 7.0.0

* chore(package): update lockfile package-lock.json

* Update mocha to the latest version 🚀 (#226)

* chore(package): update mocha to version 7.0.1

* chore(package): update lockfile package-lock.json

* Rename upcoming deprecated Lifecycle methods (#214)

* rename lifecycle methods in src

* update examples

* fix weird prettier stuff

* Greenkeeper/@spotify/eslint config base 6.0.0 (#227)

* chore(package): update @spotify/eslint-config-base to version 6.0.0

Closes #219

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>

* Greenkeeper/@spotify/prettier config 6.0.0 (#230)

* chore(package): update @spotify/prettier-config to version 6.0.0

Closes #221

* chore(package): update lockfile package-lock.json

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>

* Greenkeeper/@spotify/eslint config react 6.0.0 (#228)

* chore(package): update @spotify/eslint-config-react to version 6.0.0

Closes #220

* chore(package): update lockfile package-lock.json

* fix lint errors

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>

* Remove deprecated Lifecycle hooks (#234)

* remove unsafe calls from animated examples

* remove unsafe calls from TreeMap

* remove unsafe calls from KernelDensityEstimation

* remove unsafe calls from LineChart

* remove Unsafe calls from SankeyDiagram

* remove deprecated lifecycle hooks from ZoomContainer

* 3.0.2

* v3.0.2 release

Co-authored-by: Kris Salvador <[email protected]>
Co-authored-by: Tanay Vardhan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anita <[email protected]>
Co-authored-by: Ian MacIntosh <[email protected]>
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Erica Hyman <[email protected]>

* docs

Co-authored-by: Kris Salvador <[email protected]>
Co-authored-by: Isaac Ezer <[email protected]>
Co-authored-by: Tanay Vardhan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ian MacIntosh <[email protected]>
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Erica Hyman <[email protected]>
  • Loading branch information
8 people authored Jun 18, 2020
1 parent 0145298 commit 51b296d
Show file tree
Hide file tree
Showing 7 changed files with 2,381 additions and 1,665 deletions.
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,20 @@ Reactochart is a library of React components for creating data visualization cha

1. Install reactochart using npm.


```
npm i reactochart --save
```

2. Then you can import an individual Reactochart component:


```jsx
import LineChart from 'reactochart/LineChart'
import LineChart from 'reactochart/LineChart';
```

3. If you prefer, you can import all of Reactochart at once, though this may hinder some optimizations, such as webpack tree-shaking:


```jsx
import {XYPlot, XAxis, YAxis, LineChart} from 'reactochart';
import { XYPlot, XAxis, YAxis, LineChart } from 'reactochart';
```

or
Expand All @@ -46,32 +43,32 @@ import * as Reactochart from 'reactochart';

4. Import reactochart's base styles


```jsx
import 'reactochart/styles.css'
import 'reactochart/styles.css';
```

5. Build your first chart and see it rendered! For example, the following code snippet:


```jsx
import XYPlot from 'reactochart/XYPlot';
import XAxis from 'reactochart/XAxis';
import YAxis from 'reactochart/YAxis';
import LineChart from 'reactochart/LineChart';
import 'reactochart/styles.css'
import 'reactochart/styles.css';

const MyFirstLineChart = (props) => (
const MyFirstLineChart = props => (
<XYPlot>
<XAxis title="Phase" />
<YAxis title="Intensity" />
<LineChart
data={Array(100).fill().map((e, i) => i+1)}
data={Array(100)
.fill()
.map((e, i) => i + 1)}
x={d => d}
y={d => Math.sin(d*.1)}
y={d => Math.sin(d * 0.1)}
/>
</XYPlot>
)
);
```

results in this:
Expand Down Expand Up @@ -155,7 +152,7 @@ If you'd like to contribute to the development this project, first fork & clone

- Run `npm run dev` to run the development server (webpack-dev-server), which will serve a live development version of the examples at [localhost:9876](http://localhost:9876).
- Make changes to the library code in the `src` directory, and/or changes to the examples in the `examples/src` directory.
- If you'd like to make changes or add further component documentation, follow the example on [`react-docgen`](https://github.com/reactjs/react-docgen#example).
- If you'd like to make changes or add further component documentation, follow the example on [`react-docgen`](https://github.com/reactjs/react-docgen#example).
- Once you're happy with your library and/or documentation changes, run `npm run docs`. This allows the documentation build to run with your updated `src` code. `git add` and `git commit` the updated build.
- `git push` to your forked version of the repo.
- Open a Github pull request with your changes against `master`. 🎉
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
</div>

<div class="container-fluid" id="container">Loading...</div>
<script type="text/javascript" src="bundle.842ca399cc199401252e.js"></script></body>
<script type="text/javascript" src="bundle.67f8ed340ab76ee9592f.js"></script></body>
</html>
Loading

0 comments on commit 51b296d

Please sign in to comment.