-2
<LineChart fx:id="linechart_10mins" layoutY="-78.0" prefHeight="317.0" prefWidth="600.0"  AnchorPane.bottomAnchor="54.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                          <xAxis>
                            <CategoryAxis side="BOTTOM" />                          
                          </xAxis>
                          <yAxis>
                            <NumberAxis side="LEFT" />
                          </yAxis>
                        </LineChart>

How can I use this linechart in my code?

1 Answers1

-1

Initialize linechart with @FXML annotation in your controller, and use your lineChart there for adding and showing data