
| //Replaces the automatically generated X-axis ticks with the specified array. I've had a play around and found that using "ticks" will override your Gridlines and MinorGridlines. It's probably not the format you want but this is the best I can come up with. Ive reduced the font size and increased the width so you can see the results of the hAxis |
var linearOptions = { title: 'Power by frequency linear spectrum', curveType: 'none', legend: 'none', |
| width: 800, height: 300, hAxis: { gridlines: { color: '#C0C0C0', count : 30 |
}, minorGridlines: { color: '#e6f7ff' }, |
| textStyle : { fontSize : 8 }, title: 'Frequency(Hz)', // ticks: [0, 5, 10, 15, 20, 25, 30], |
}, vAxis: { title: 'Power(uV^2)', gridlines: { color: '#C0C0C0' }, minorGridlines: { color: '#e6f7ff' } } } |
Regards, Steve. |
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/8ecd8e2b-0b55-45cc-a7bb-484c478a72f6%40googlegroups.com.