rakannimer / react-google-charts

A thin, typed, React wrapper over Google Charts Visualization and Charts API.
https://react-google-charts.com/
MIT License
1.6k stars 346 forks source link

Baseline not working for bar charts #350

Open dandymon opened 4 years ago

dandymon commented 4 years ago

The baseline option tag is ignored or not rendered for bar charts when rendering in React. As per: http://plnkr.co/edit/senuycDzkMuoxQRl

Tried with and without viewwindow option tag, still doesn't start from below 0.

dandymon commented 4 years ago

Upon further reading I think this is linked to this issue. https://github.com/rakannimer/react-google-charts/issues/335

I can call the chart type ColumnChart and it does regard the baseline option, as well as other options I hadn't noticed weren't being passed. It just doesn't look pretty. Were there any fixed for allowing material charts to use the options tag, or a different way to get options to the graph? The Material ones are much more pleasing to the eye.

Dan