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
95
How to hide a chart on error?
posted

My current charts will error out if there is no data.  I guess the EmptyChartText property means nothing.

I would like to hide the chart when it errors out.  Is there an event or something that I can check?

What is the purpose of EmptyChartText if it never displays?

FYI: the error is about requiring at least one row...

Parents
  • 26458
    Offline posted

    EmptyChartText is displayed when the data source hasn't been assigned to the chart.

    You can handle InvalidDataReceived event, which fires when the chart has been bound to invalid data (wrong data or no data at all, but the datasource has been set)

Reply Children