break-even-chart
Version:
Break Even Chart component for ReactJS
23 lines (19 loc) • 1.06 kB
Markdown
# ReactJS BreakEvenChart
[](https://www.npmjs.com/package/break-even-chart)
[](https://www.npmjs.com/package/break-even-chart)
[](http://opensource.org/licenses/MIT)
[](https://bundlephobia.com/result?p=break-even-chart)
based on react-google-charts
## Quickstart
```bash
npm install break-even-chart
```
## Documentation
|Prop | Description |
| --- | --- |
| `salesPrice` | sales price of single unit |
| `variableCosts` | variable costs of single unit |
| `fixedCosts` | fixed costs of single unit |
| `options` | options for react-google-chart [docs](https://developers.google.com/chart/interactive/docs/gallery/linechart#configuration-options) **WIP**|
| `width` | width of the chart (default: 100% of parent)|
| `height` | height of the chart (default: 100% of parent) |