This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX Scene Builder Help with Charts and such

 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all! I have just started playing around with the scene builder, because like in Netbeans the gui builders are great tools. Now when I try to make a chart I notice I cannot add series. There is nothing that I have found to do so. I'm guessing I have to do that with the FXML or...??? I haven't touched FXML yet, but I believe I should learn it. I've already made a chart with series using normal JavaFX code; however I am curious about the scene builder's capabilities and want to utilize them, as I can see from the roadmap

http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

We are going to see a lot more from the scene builder and netbeans.



edit: So after looking at it for a bit I figured out how it works with the xml file and @XFML tags in the controller class. Now I'm having an issue with my chart. How do I fill it? I set up a button to fill the data, then initialize the chart.


Controller




Xml



I had another class where when I pressed the button it would recreate the scene just like this and it would create a new graph... Not sure why it's not doing anything...

I ended up changing the numberAxis id's to yaxis and xaxis and wehen I click the button it would just disappear...... Weird.......
 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
couldn't edit, but I figured out my issue, thanks!
 
Jake Hoskins
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What was your solution, i am having the same problem?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic