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
560
how to hide the grid lines in the chart
posted

Hi,

In the Xamwebchart, I want to hide the grid lines. How I can do that? Thanks.

Parents
No Data
Reply
  • 26458
    Suggested Answer
    Offline posted

    Here's an example:

    <igChart:XamWebChart.Axes>
        <igChart:Axis Name="XAxis" AxisType="PrimaryX">
            <igChart:Axis.MajorGridline>
                <igChart:GridlineGroup Visibility="Collapsed"/>
            </igChart:Axis.MajorGridline>
            <igChart:Axis.MinorGridline>
                <igChart:GridlineGroup Visibility="Collapsed"/>
            </igChart:Axis.MinorGridline>
        </igChart:Axis>
        <igChart:Axis Name="YAxis" AxisType="PrimaryY">
            <igChart:Axis.MajorGridline>
                <igChart:GridlineGroup Visibility="Collapsed"/>
            </igChart:Axis.MajorGridline>
            <igChart:Axis.MinorGridline>
                <igChart:GridlineGroup Visibility="Collapsed"/>
            </igChart:Axis.MinorGridline>
        </igChart:Axis>
    </igChart:XamWebChart.Axes>

Children