HyJavaCharts

the highcharts java api

UP TO DATE

A fully maintained up to date Java wrapper for Highcharts.
The HyJavaCharts API covers all chart options and chart types in Highcharts v5 and v6.

CODE ONLY IN JAVA

You configure all Highcharts chart options in Java.
Each Highcharts Javascript chart option has an equivalent Java method. 

USE YOUR PREFERRED JAVA WEB FRAMEWORK

As long as your Java web framework can add the generated Javascript to your page then you can use the HyJavaCharts library.

the highcharts java api

HIGHCHARTS IN JAVA WITHOUT JAVASCRIPT

HyJavaCharts now offers the full power of the Highcharts API within Java-based web applications.
HyJavaCharts is a fully maintained up to date Java wrapper for the Highcharts Javascript library.

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.

With HyJavaCharts you can configure a chart in Java and display it in your Java-based web applications.
The HyJavaCharts API provides an equivalent Java method for each Highcharts Javascript chart option.

Our Goal

To create an up to date Java API that is as close as possible to the Highcharts JavaScript API.
The Java API will allow any example in JavaScript to be easily written in Java.

HOW DOES IT WORK

You code all the required chart options in Java.
Each Highcharts Javascript chart option has an equivalent HyJavaCharts Java method.

To make coding as simple as possible the 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 JSON.

EXAMPLE CODE

In Javascript:
title: { text: ‘Historic World Population by Region’ }
credits: { enabled: false }

In Java:
chartOptions.title().text(“Historic World Population by Region”);
chartOptions.credits().enabled(false);

GENERATION

The library generates the required Javascript code for the configured chart options.

As long as your Java web framework can add the generated Javascript to your page then you can use this library. 

DEMO BAR CHART

Here is what it looks like in Java to create the Highcharts Basic Bar demo chart from their website.

The demo web application available on the demo page provides thorough examples of more than 75 different charts including Java source code for each example.
The full Java source code for the entire demo application is also available from the downloads page.

Latest News

Update to HyJavaCharts API Library v6.1.0

This is a minor update to include all changes included in the Highcharts v6.1.0 release. This release matches the Highcharts v6.1.0 API.

Read more

Update to HyJavaCharts API Library v6.0.7

This is a minor update to include all changes included in the Highcharts v6.0.7 release. This release matches the Highcharts v6.0.7 API.

Read more

Update to HyJavaCharts API Library v6.0.6

This is a minor update to include all changes included in the Highcharts v6.0.6 release. This release matches the Highcharts v6.0.6 API.

Read more

Contact us

Contact us if you have any questions on the library

Note: Occasionally our support team emails may be sent to your junk/spam folders so please also monitor these folders for replies to your questions.