FlexChart - How to make Y axis invisible with PlotAreas

Posted by: r.zeller on 10 July 2023, 1:47 am EST

  • Posted 10 July 2023, 1:47 am EST

    Hi,

    To make the y-axis invisible I can set AxisY = C1.Chart.Position.None.

    But if the series is assigned to a PlotArea, not only the y-axis is invisible but the whole curve. You can check this in the FlexChartExplorer example for PlotAreas.

    So how to make just the y-axis invisible and not the whole curve?

  • Posted 11 July 2023, 1:58 am EST

    Hi Ralf,

    This seems to be an issue. We are in discussions with the devs regarding this. [Internal Tracking ID: C1WIN-30714]

    However, we have come up with a workaround. You can set the AxisLine property of Axis class to ‘false’ in addition to setting Position as ‘Left’ to hide the AxisY line.

    We have attached a sample application for your reference. Please check FlexChartMultiPlot.zip

    In case you want to hide the Y-axis labels and markers, you can additionally set Axis’ Labels property to ‘false’ and MajorTickMarks property to ‘None’. We have implemented this in the attached sample.

    Kindly let us know if you need any further help regarding this.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels