Vertical Gridlines
-
hello all,
i have a little problem implementing vertical gridlines in my manual configuration. I have a dual y axis chart that I want to add vertical gridlines to. According to the google doc this should work: https://developers.google.com/chart/interactive/docs/gallery/linechart?hl=de
Unfortunately the implementation in the code did not work. Do you have any idea how it is possible to implement these vertical lines to the steps 10000, 20000 30000…?
My Config:
{
“vAxes”: {
“0”: {“title”: “Leistung / Power [W]”, “ticks”: [0,100,200,300,400,500,600,700,800]},
“1”: {“title”: “Drehmoment / Torque [Ncm]”,”ticks”: [0,2,4,6,8,10,12,14,16]}
},
“series”: {
“0”: {“targetAxisIndex”: “0”},
“1”: {“targetAxisIndex”: “0”},
“2”: {“targetAxisIndex”: “1”, “lineDashStyle”:[10,10]},
“3”: {“targetAxisIndex”: “1”, “lineDashStyle”:[10,10]}
}
}Screenshot from the Chart for better understanding: https://ibb.co/RGFQnfY
Thanks for the help
Best regards
- The topic ‘Vertical Gridlines’ is closed to new replies.