In this tutorial session, we will learn to add negative values in the JavaFX area chart and we will create a series with negative values to display on the area chart.
Step 1: First we need to create an FXML based project to create an area chart. Please watch this tutorial to do this: https://youtu.be/yEXL8J04Zbs
Step 2: I am using the same project that I had used in my first tutorial on the Area chart. Now we will do some changes in FXML using scene builder.
Step 3: We need to create a new series with some negative values.
Step 4: Now we add the newly created series in the area chart.
Step 5: Clean build and test run.
Please watch this tutorial for better understanding. I have explained all steps one by one in detail for better clarification of base concept.
Step 6: You guys can like this tutorial to appreciate our work. Also, you can subscribe to learn more.
If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link! https://buymeacoffee.com/CoolITHelp