I am rendering my charts through jquery and I am trying to find an option or method or something that will allow the chart controls to only display the horizontal lines in the chart. Currently, it shows both horizontal and vertical lines and I really want to get rid of the vertical lines. If I change the gridmode to none, then I lose both lines in the chart.
Anyone have any clues or ideas?
Hi,
We bind one year daily data to chart, Is there any way to add vertical dotted lines programatically on last day of each calendar quarter?
Thanks. I'm not sure how I missed that but it worked exactly like I wanted.
Hello Ryan,
You can accomplish this by changing the brush for the x-axis major lines to be transparent:
axes: [{ name: "xAxis", type: "numericX", interval: 10, title: "Year", majorStroke: "rgba(0,0,0,0)" }
For more information on how to manipulate chart elements like this I recommend checking out our Chart Elements sample and our Configurable Visual Elements documentation. Please let me know if you have any other questions or concerns that I may help with.