Jump to content
Software FX Community

Clearing Chart


dolgorae
 Share

Recommended Posts

I use ChartFX for WPF version 8.0.3422.28509.

Before I add data to chart, it shows some random data.

So, I set the chart.ItemsSource to null, the random data disappears and shows "No Data Available"

And I add data to the chart.ItemsSource, then it shows well what I want to see.

Now, I want to clear up the chart series and to be shown "No Data Available".

I searched the method in this forum, it says, "chart.series.clear()" and "chart.ItemsSource=null".

I did it, but the chart shows random data.

How can I remove the random data and to be shown as "No Data Available"?

Thank you..

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.

Guest
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.

 Share

×
×
  • Create New...