Clear everything in the flex chart

Posted by: toynnus on 2 June 2020, 9:13 pm EST

    • Post Options:
    • Link

    Posted 2 June 2020, 9:13 pm EST

    hi.

    I want to clear or remove everything in the flex chart.

    can you help me ? (.vb net)

  • Posted 3 June 2020, 2:25 am EST

    Hi,

    Data is mainly represented by Series in FlexChart. So, in order to clear/remove the data displaying elements, you can simply clear the FlexChart.Series collection. Other than that, FlexChart displays X-Axis by default which can be hidden by setting its Position = None.

    flexChart.DataSource  =  Nothing
    flexChart.Series.Clear()
    flexChart.AxisX.Position = C1.Chart.Position.None
    

    In case you have set any other settings (e.g. Header, Footer etc.), you would require to unset them if they need be cleared as well. Please let us know if you need any help related to clearing/hiding any specific element on FlexChart.

    Regards,

    Basant

Need extra support?

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

Learn More

Forum Channels