formidable-charts
has a set of beautiful preset themes ready to go. We default to the simple
theme, but if you want to try out the whole set, here's how:
import { LineChart, Themes } from "formidable-charts";
class MyChart extends Component {
render() {
return (
<LineChart theme={Themes.dark} />
)
}
}
Right now we have 4 themes you can choose from:
bright
- A bright, fun theme.
simple
- A simple, yet elegant theme.
dark
- Uh oh who turned the lights out. A dark theme for your charts.
danceparty
- Use this one carefully. You might have too much fun.
Keep your eyes peeled, there are more themes on the way!