Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
945
igChart Horizontal lines only
posted

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?

Parents
No Data
Reply
  • 8421
    Verified Answer
    posted

    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.

Children