UP TO DATE
Pure Java wrappers for the Highcharts, Highcharts Stock and ApexCharts JavaScript charting libraries.
The Java API’s cover all chart types and chart options in Highcharts v11.x and earlier; Highcharts Stock v11.x and earlier; ApexCharts v3.x.
CODE ONLY IN JAVA
You configure all chart options using Java setter methods.
You will not need to learn another API.
Each JavaScript chart option has an equivalent Java setter method.
USE YOUR PREFERRED JAVA WEB FRAMEWORK
All the major Java web frameworks are supported.
For more details on integration with various Java frameworks refer to the Java Web Frameworks page.
the java api for highcharts
HIGHCHARTS IN JAVA WITHOUT JAVASCRIPT CODING
HyJavaCharts now offers the full power of the Highcharts API within Java-based web applications.
Developers may now use the industry’s most robust interactive charting library coding only in Java.
Highcharts is a SVG-based, multi-platform charting library that has been actively developed since 2009.
It makes it easy to add beautiful, interactive, mobile-optimized charts to your java projects. It features robust documentation, advanced responsiveness and industry-leading accessibility support.
OVERVIEW
The HyJavaCharts Java library is an up to date pure Java wrapper for the Highcharts JavaScript library.
The Java API contains an equivalent Java method for each Highcharts JavaScript chart option.
Adding the jar to your Java-based web applications allows you to configure Highcharts charts using only Java methods.
There is no need to write a single line of JavaScript.
You will not need to learn another API.
The Java API is built using chainable methods that allow you to configure the chart options using
syntax that is as close as possible to the Highcharts JavaScript.
The HyJavaStock and HyJavaApex Java libraries are a pure Java wrappers for
the Highcharts Stock and ApexCharts JavaScript libraries.
EXAMPLE CODE
Chart Options in JavaScript:
"title" : { "text" : "A Title" },
"credits" : { "enabled" : false }
Chart Options in Java:
options.getTitle().setText("A Title");
options.getCredits().setEnabled(false);
DEMO CHARTS IN JAVA
This is what it looks like in Java to create the Highcharts Basic Bar demo chart, the Highcharts Stock Column demo chart and the ApexCharts Basic Column demo chart from their websites.
The demo web applications available on the demo pages provide thorough examples of more than 190 different charts including Java source code for each example.
The Java source code for the demo applications including all chart examples is available from the Other Downloads page.
GENERATION
The library generates the required JavaScript chart code for the configured chart options.
The resulting chart code generates data-driven charts using the rock-solid Highcharts JavaScript library, which dynamically scales across all modern browsers and all platforms.
CREATE PNG/JPEG/WEBP/PDF IMAGES
Want to create PNG, JPEG, WEBP or PDF Images of your JavaScript charts in Java on the server?
The HyJavaImages library is a pure Java library that allows you to create images of your JavaScript charts on the server. See the HyJavaImages library product page for further details.
Available Java Libraries
HyJavaCharts
The HyJavaCharts Library is the Java API for the industry-leading Highcharts JavaScript charting Library.
HyJavaStock
The HyJavaStock Library is the Java API for the Highcharts Stock High-performance financial JavaScript charting library.
HyJavaApex
The HyJavaApex Library is the Java API for the ApexCharts JavaScript charting Library. A modern open-source high-performance JavaScript charting library.
HyJavaImages
The HyJavaImages Library is a Java imaging library with built in support for Highcharts, Highcharts Stock and ApexCharts. Create PNG/JPEG/WEBP/PDF images of your JavaScript charts in Java on the server.
Latest Versions
HyJavaCharts v11.4.8
HyJavaStock v11.4.8
HyJavaApex v3.54.0
HyJavaImages v1.11.0
HyJavaImages HTTP Server v1.5.0
Chrome Headless Shell Installer v1.11.1 (Chrome 129)
View the Change Log
Contact Us
If you have any questions on the libraries, contact our Support Team on our support app by clicking the button below.
HyJavaSupport