JavaFX and Java Swing Applications

the java api for highcharts

JavaFX

To display a chart using a JavaScript charting library you will need to use the WebView component or a third party library such as JxBrowser (commercial).

Java Swing

To display a chart using a JavaScript charting library you will need to use the WebView component or JCEF (Java Chromium Embedded Framework) or a third party library such as JxBrowser (commercial).

WebView

There are updated Java 8 and newer (LTS) builds of OpenJDK available from Azul that also include JavaFX functionality. They are free to download and use.

Note: The Highcharts v11 sonification module does not appear to work with the WebView component.

JCEF

The Java Chromium Embedded Framework (JCEF) is a simple framework for embedding Chromium-based browsers in other applications using the Java programming language. It is a BSD-licensed open source project.

Maven builds of JCEF are available from JCEF Maven.

As of August 2024 the latest JCEF Maven version included chromium-126.0.6478.62

The Java API’s fully support all chart types and chart options in Highcharts v5.x, v6.x, v7.x, v8.x, v9.x;  Highcharts Stock v8.x, v9.x and ApexCharts v3.x.


Current versions supported are:

HyJavaCharts

HyJavaStock

HyJavaApex

Explore a demo Java web application using the HyJavaCharts v12.x library


Explore a demo Java web application using the HyJavaStock v12.x library


Explore a demo Java web application using the HyJavaApex v4.x library


Explore a demo Java web application using the HyJavaImages v2.x library