aspose file tools*
The moose likes JavaFX and the fly likes changing chart type on the fly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "changing chart type on the fly" Watch "changing chart type on the fly" New topic
Author

changing chart type on the fly

Jordan Thompson
Greenhorn

Joined: Nov 09, 2009
Posts: 20
I have a chart that I would like to change the type on the fly (i.e. with a combo box of several different types) so the user can choose the one that is best for his/her needs. How would you go about this? I've been looking for a refresh/repaint function for the scene, but quite frankly I am lost.


thanks,
Jordan


No matter where you go - there you are
-- Buckaroo Banzai
Jiri Goddard
Greenhorn

Joined: Aug 21, 2007
Posts: 21
Jordan Thompson wrote:I have a chart that I would like to change the type on the fly (i.e. with a combo box of several different types) so the user can choose the one that is best for his/her needs. How would you go about this? I've been looking for a refresh/repaint function for the scene, but quite frankly I am lost.


thanks,
Jordan


you probably want to use binding. you can store the initial type of your chart in a variable that you later on bind where you need it - means at the place in your code where you want to change the type of chart. no need to refresh the scene.


http://dredwerkz.ic.cz
Jordan Thompson
Greenhorn

Joined: Nov 09, 2009
Posts: 20
I don't want to start any flaming, but I have given up on FX for now and am using Web Start (tough to teach an old dog new tricks . Thanks for the answers...

Jordan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: changing chart type on the fly
 
Similar Threads
You born as Animal
openoffice combined chart (UNO API)
How do I make dynamic GRAPHS??
Wireless on Jetliners.........I hate this idea!
What type of Reader?