I am building a scatter graph in angular 4 using ng2-google-charts from https://www.npmjs.com/package/ng2-google-charts
So actually i think this is a wrapper of google chart service
The graph looks fine with few values. However , i try with a graph with lots of value ( around 100). The graph become like this
As you see, the two axises is too small to display all the range for all of the values. ( cannot see any value on the x-axis)
Is there anyway to solve this problem ??
Refer to this docs : https://developers.google.com/chart/interactive/docs/gallery/scatterchart#configuration-options
Attempt: i have try to set the width and height of the chart manually using configuration and this works
chartArea:{width:"80%"},
height: 500,
width: 1350
But is there anyway that the chart will auto define a size to fit all the values beautifully