-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I'm using the following code to render a bar chart, but I encounter misalignment when the x-value is 0:
var options = {
chart: {
height: 380,
width: "100%",
},
series: [
{
name: "Series 1",
data:[[0, 1], [1, 2], [2, 3] , [3, 4]]
}
],
xaxis: {
type: 'numeric'
}
};
<Chart
options={options}
series={options.series}
type={'bar'}
height={'100%'}
width={'100%'}
/>
However, all other x-values work fine, but the bar for 0 seems misaligned. What can I do fix this?
Brandon-Ballard25
Metadata
Metadata
Assignees
Labels
No labels
