UNPKG

break-even-chart

Version:
23 lines (19 loc) 1.06 kB
# ReactJS BreakEvenChart [![version](https://img.shields.io/npm/v/break-even-chart.svg)](https://www.npmjs.com/package/break-even-chart) [![downloads](https://img.shields.io/npm/dm/break-even-chart.svg)](https://www.npmjs.com/package/break-even-chart) [![license](https://shields.io/badge/license-MIT-green)](http://opensource.org/licenses/MIT) [![bundle size](https://img.shields.io/bundlephobia/minzip/break-even-chart.svg)](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) |