RadChart - No data to display"

3 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 03 Feb 2012 Link to this post


    I am working on RadCharts, one of the requirement is to display "No data to display" or some custom message when there the datasource is empty.

    I am currently using 2011.1.419.1040

    Please advise.

  2. Rahul
    Rahul avatar
    118 posts
    Member since:
    Feb 2011

    Posted 04 Feb 2012 Link to this post

    Hi David,

                 Please check out below Code for your requirement.

    chart.DefaultView.ChartArea.IsNoDataMessageEnabled = true;
    chart.DefaultView.ChartArea.NoDataString = "No Data To Display";

  3. Dragos
    Dragos avatar
    3 posts
    Member since:
    Feb 2012

    Posted 07 Feb 2012 Link to this post


    Is there a way to accomplish the same thing for the razor version in MVC ?

Back to Top