A pack of extensions for grommet 2
created:7/7/2021
updated:7/7/2021
loc
4
comments
125%
passed
2
failed
2
coverage
100%

PolarChart

Component

import { PolarChart } from 'grommet-controls';

Main

() => (
<PolarChart
data={{
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'Dataset 1',
data: [94, 94, 97, 92, 96, 91, 99],
opacity: 0.2,
},
],
}}
options={{
themedData: true,
legend: {
position: 'right',
},
scale: {
ticks: {
beginAtZero: true,
},
reverse: false,
},
}}
/>
)

Commits

Date
Author
Commit Message
8/27/2019

atanasster

avatar of atanasster
initial commit 2.x alpha
1 commits

External dependencies

package
imports
peer
Polar
*

Internal dependencies

file
imports
"../withChartTheme"
withChartTheme

Stories

Options

() => (
<PolarChart
data={rndDatasets(1, { opacity: 0.2 }, true)}
options={{
themedData: true,
legend: {
position: 'right',
},
scale: {
ticks: {
beginAtZero: true,
},
reverse: false,
},
}}
/>
)