Google Charts Ticks with dates
-
I am trying to set up only the month of Jan of each year, tried several ways to implement Google Chart’s solution with Visualizer manual settings, but I can’t find a way to create the array of ticks with the Date objects:
“hAxis”: {
“format”:”MMM dd/yy”,
“ticks”:[new Date(2015,1,1), new Date(2016,1,1), new Date(2017,1,1), new Date(2018,1,1), new Date(2019,1,1), new Date(2020,1,1)],
“viewWindowMode”:”pretty”,
“gridlines”: {
“color”:”#FFF”
}
},Tried quoting, nothing happens. Any help is appreciated, thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Google Charts Ticks with dates’ is closed to new replies.