Jump to content
Software FX Community

Customise "No Data Available" message


Recommended Posts

  • 11 months later...

Looks like the problem was in RandomData-Series attribute.


<chartfx7:Chart ID="Chart1" runat="server" DataSourceID="ObjectDataSource1" Height="250px"
  <chartfx7:Chart ID="Chart2" runat="server" DataSourceID="ObjectDataSource1" SelectMethod="GetData"
  <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetData"


Chart1.SetMessageText("NoData", "My No Data Available Message");
Chart2.SetMessageText("NoData", "My No Data Available Message");

Link to comment
Share on other sites

  • 7 months later...

Then you are on the wrong thread. This one is about Chart FX 7 Web Forms only. Here is a link to the Chart FX for WPF Discussion Boardhttp://community.softwarefx.com/forums/default.aspx?GroupID=26Now, to answer your question, try the following.

 chart1.MessageTable["NoData"] = "This is my custom message";

If at any time after setting that you would like to revert to the default message, clear the MessageTable.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...