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
730
Column chart error
posted

When there is no data returned from the Database...the column chart throws an error.

"Column Chart Error: You must have atleast one row and one numeric column" in bright red color

How do I change this message to display something more customised?

Thanks

Parents
No Data
Reply
  • 17605
    posted

    You can try handling InvalidDataReceived Event:

    this.UltraChart1.InvalidDataReceived += new Infragistics.UltraChart.Shared.Events.ChartDataInvalidEventHandler(UltraChart1_InvalidDataReceived);

    ...

    void UltraChart1_InvalidDataReceived(object sender, Infragistics.UltraChart.Shared.Events.ChartDataInvalidEventArgs e)

    {

    e.Text =
    "Text";

    }

Children