• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

JavaFX Scene Builder Help with Charts and such

 
Ranch Hand
Posts: 356
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
couldn't edit, but I figured out my issue, thanks!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What was your solution, i am having the same problem?
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic