Open oscar-gallog opened 5 years ago
So I'm having a problem, I'm trying to change the width from my Bar Chart, and like the documentation says:
<PureChart type="bar" data={series} width={globals.width * 0.9} height={globals.height * 0.3} backgroundColor={'white'} xAxisColor={'red'} yAxisColor={'red'} labelColor={'green'} style={{ borderColor: 'green', borderWidth: 1, width: 600 }} />
But it doesn't change a thing, even if I put the same width value on the parent (which it actually changes) the bar chart continues to be super slim, it doesn't grow at all, any idea why?
use defaultColumnWidth instead of width defaultColumnWidth:{500}
after set defaultColumnWidth, the chart not able to fully scroll to the end.(left to right)
So I'm having a problem, I'm trying to change the width from my Bar Chart, and like the documentation says:
<PureChart type="bar" data={series} width={globals.width * 0.9} height={globals.height * 0.3} backgroundColor={'white'} xAxisColor={'red'} yAxisColor={'red'} labelColor={'green'} style={{ borderColor: 'green', borderWidth: 1, width: 600 }} />
But it doesn't change a thing, even if I put the same width value on the parent (which it actually changes) the bar chart continues to be super slim, it doesn't grow at all, any idea why?