https://github.com/dreamlinerm/vue-fire-chart
A vue component to show a half circle fire chart.
https://github.com/dreamlinerm/vue-fire-chart
Last synced: 8 months ago
JSON representation
A vue component to show a half circle fire chart.
- Host: GitHub
- URL: https://github.com/dreamlinerm/vue-fire-chart
- Owner: Dreamlinerm
- Created: 2024-08-11T10:10:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:22:27.000Z (about 1 year ago)
- Last Synced: 2025-02-13T10:49:36.465Z (8 months ago)
- Language: Vue
- Homepage:
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue Fire Chart

## Install
`npm i vue-fire-chart`
## Import
`import { fireChart } from 'vue-fire-chart'`
## Props
- **circleOptions** `{number}`: The labels for the circles.
- **example/default**: `["Braunkohle", "Steinkohle", "Erdgas", "Windkraft"]`
- **circleData** `{number}`: The height of the circles.
- **example/default**: `[1137, 853, 381, 10]`
- **yaxisTitle** `{string}`: The title of the y-axis.
- **example/default**: `"Gramm CO₂ je erzeugter kWh"`
- **textColor** `{string}`: The color of the text.
- **example/default**: `"white"`
- **fontSize** `{string}`: The font-size of the text.
- **example/default**: `"0.3em"`
- **colors** `{array}`: The colors of the circles.
- **example/default**: `["#d23227", "#f67d20", "#ffe10c", "#fffffd"]`
- **circle** `{boolean}`: If the circles should be circles or ovals.
- **example/default**: `true`