Home / Extensions / Chart.js
Charts

Chart.js

Charting Library

Chart.js is a simple yet flexible JavaScript charting library with 8 chart types and extensive customization options.

Oorian Extension

Extension Status
Coming Soon

The Oorian extension for Chart.js is under development and will be available with the framework release.

Priority
Rank #2

Implementation priority based on popularity, API complexity, and user demand.

Supported Version
4.5

The version of Chart.js that this extension supports.

Licensing
Open Source (MIT)

The licensing model for Chart.js. Check their official website for full license details.

Integration
Full API Access

Oorian extensions expose the complete Chart.js API through type-safe Java methods.

Key Features

8 chart types
Responsive
Animations
Tooltips
Legends
Plugin system
Mixed charts

Usage Example

See how to use Chart.js with Oorian in pure Java.

Oorian's Chart.js extension makes it easy to create beautiful charts in pure Java. Here's a simple line chart showing monthly sales data:

Java Code
java
// Create a line chart with CjChart
CjChart chart = new CjChart(ChartType.LINE)
    .setLabels("Jan", "Feb", "Mar", "Apr", "May", "Jun")
    .addDataset(new CjDataset("Sales")
        .setData(65, 59, 80, 81, 56, 72)
        .setBorderColor("rgb(75, 192, 192)")
        .setBackgroundColor("rgba(75, 192, 192, 0.2)")
        .setTension(0.4)
        .setFill(true))
    .setTitle("Monthly Sales")
    .setYAxisBeginAtZero(true);

container.addElement(chart);
Result

Interactive Demo

Explore Chart.js capabilities with these interactive examples.

Explore the full range of Chart.js chart types available through the Oorian extension:

Bar Chart
Pie & Doughnut Charts
Multi-Dataset Line Chart

Ready to Use Chart.js?

Oorian makes it easy to integrate Chart.js into your Java web applications with type-safe extensions and real-time updates.