Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Updating ChartCanvas
Updating ChartCanvas [message #1062288] Fri, 07 June 2013 04:57 Go to next message
Low Coupling is currently offline Low CouplingFriend
Messages: 30
Registered: June 2013
Member
I have managed to use the ChartCanvas in order to embed a BIRT Chart inside a view. Now I would like to update the chart when changes in the data set occur. What is the right way to do that?
Re: Updating ChartCanvas [message #1062501 is a reply to message #1062288] Sat, 08 June 2013 06:02 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Can you explain the application in a little more detail?

Michael

Developer Evangelist, Silanis
Re: Updating ChartCanvas [message #1062524 is a reply to message #1062501] Sat, 08 June 2013 09:12 Go to previous messageGo to next message
Low Coupling is currently offline Low CouplingFriend
Messages: 30
Registered: June 2013
Member
I have managed to do that in this way

I set a new (updated) dataSet for the Chart
I build the X and Y Series for the new data set
I invoke the redraw method of the Canvas

It works

Regards
Re: Updating ChartCanvas [message #1062554 is a reply to message #1062524] Sun, 09 June 2013 00:31 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Great! Glad you found a solution!

Michael

Developer Evangelist, Silanis
Previous Topic:Put in red the fields which are different
Next Topic:Scripted data source-JSON
Goto Forum:
  


Current Time: Sun Aug 25 04:48:49 GMT 2019

Powered by FUDForum. Page generated in 0.02835 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top