FlexibleXYPlot x-axis starting with negative value
nitishmittal1990 opened this issue · 1 comments
nitishmittal1990 commented
FlexibleXYPlot
x-axis is starting with a negative value even though xBaseValue
is set to 1.
Inside FlexibleXYPlot
I am using VerticalBarSeries
component, there also data which I am passing to VerticalBarSeries
is [{x: 0, y: 0}, {x: 5, y: 14}, {x: 10, y: 23}, {x: 15, y: 6}, {x: 20, y: 6}]
.
I am expecting my x-axis to start with 0 instead of -2.
Attaching codesandbox link https://codesandbox.io/s/react-vis-bar-chart-w25hn
nanandn commented
I have a similar problem. @nitishmittal1990 did you find a solution for this?
Anand