Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 1.3 KB

File metadata and controls

64 lines (36 loc) · 1.3 KB

📊 JavaFX Charts Demo

IDE: IntelliJ IDEA

A simple Java application showcasing JavaFX Charts with interactive UI elements and clean layout management.


🚀 What You’ll Learn

This project demonstrates key concepts of JavaFX, including:

🏗 JavaFX Application Structure

  • HelloApplication extends Application.
  • The start() method sets up the Stage and Scene — the backbone of any JavaFX app.

🧱 JavaFX Components

  • UI elements like:

    • Button
    • PieChart, LineChart, AreaChart, BarChart, BubbleChart, ScatterChart
    • GridPane for layout management
    • ScrollPane for scrollable content
    • Scene & Stage to manage the display window

⚡ Event Handling

  • Responds to button clicks using JavaFX’s event handling mechanism.

📈 Chart Data

  • Charts are dynamically populated using XYChart data structures.

📐 Layouts & Positioning

  • Utilizes GridPane to arrange buttons and charts neatly in a grid.

🖱 Scroll Support

  • ScrollPane wraps the GridPane to handle overflowing content elegantly.

🛠 Technologies Used

  • Java
  • JavaFX
  • IntelliJ IDEA

🖼 Screenshots

📋 Charts List:

📊 Sample Charts: