I want my chart to refresh when I pass new data through it.
I know there's a refresh method in the chart class, but intellisense isn't picking it up.
It does happen to pick up other methods and events, but somehow '.refresh();' isn't there.
RectangleToClient and RectangleToScreen are the only methods showing up in the R. Any suggestions??

Recommended Answers

All 2 Replies

Why you dont clear it before drawing it?
Just look of a method Clear();
btw, which chart do you use?

Chart1.DataBind()

May also add:
Chart1.Update()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.