I'm using the sample code for drawing a linear line graph, which works
pretty well. But, I can't get minor gridlines to work, which I'd like to be
on every frequency between 5, 10, 15, etc, in other words on 1, 2, 3,
4...6, 7, 8, 9...
var linearOptions = {
title: 'Power by frequency linear spectrum',
curveType: 'none',
legend: 'none',
width: 600,
height: 300,
hAxis: {
title: 'Frequency(Hz)',
ticks: [0, 5, 10, 15, 20, 25, 30],
gridlines: {
color: '#C0C0C0'
},
minorGridlines: {
color: '#e6f7ff'
}
},
vAxis: {
title: 'Power(uV^2)',
gridlines: {
color: '#C0C0C0'
},
minorGridlines: {
color: '#e6f7ff'
}
}
}
[image: 2019-12-30_11-02-33.jpg]
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/b2d6265d-16de-4534-a3e3-8d11b4349c6f%40googlegroups.com.