Change Log

the java api for highcharts

HyJavaCharts v9.2.1 - August 23, 2021

Changes to the API to match the Highcharts v9.2.1 API.

HyJavaCharts v9.1.0 - May 19, 2021

Changes to the API to match the Highcharts v9.1.0 API.

HyJavaCharts v9.0.1 - March 7, 2021

Changes to the API to match the Highcharts v9.0.1 API.

HyJavaCharts v9.0.0 - February 16, 2021

Changes to the API to match the Highcharts v9.0.0 API.

HyJavaCharts v8.2.2 - October 30, 2020

Changes to the API to match the Highcharts v8.2.2 API.
New constructor on class Function (String functionBody, String... parameters)

HyJavaCharts v8.2.0 - August 25, 2020

Changes to the API to match the Highcharts v8.2.0 API.
Automatic-Module-Name is defined as: com.hyjavacharts.
Internal updates to the JSON generation library.

HyJavaCharts v8.1.2 - June 22, 2020

Changes to the API to match the Highcharts v8.1.2 API.

HyJavaCharts v8.1.1 - June 11, 2020

Changes to the API to match the Highcharts v8.1.1 API.

HyJavaCharts v8.1.0 - May 8, 2020

Changes to the API to match the Highcharts v8.1.0 API.

HyJavaCharts v8.0.4 - March 14, 2020

Changes to the API to match the Highcharts v8.0.4 API.
Getter/Setter methods for global.getTimezoneOffset and time.getTimezoneOffset chart options now exactly match the Highcharts API.

HyJavaCharts v8.0.3 - March 8, 2020

Changes to the API to match the Highcharts v8.0.3 API.
All series types now have an additional setter method to define chart data in json format.

HyJavaCharts v8.0.0 - December 17, 2019

Changes to the API to match the Highcharts v8.0.0 API.
Notable changes:
Chart option setters are now overloaded where chart options support multiple data types.
For example the Chart.width option supports both Number and String.
Previously you would code setWidthAsNumber(25) or setWidthAsString("50%").
You now code setWidth(25) or setWidth("50%").

Support for methods that follow the Highcharts chart option naming convention has now been removed.
This was overcomplicating the API for no real benefit.
All chart options must now be accessed with methods prefixed with get or set.
For example the Chart.width option could previously be set with width(25) or setWidth(25). You must now code setWidth(25).

HyJavaCharts v7.2.1 - November 6, 2019

Changes to the API to match the Highcharts v7.2.1 API.
Notable changes:
colorAxis and zAxis chart options are now an array of options.
As an example the easiest way to handle the API change would be as follows: chartOptions.getColorAxis().setMargin(5); is replaced with: chartOptions.getColorAxisSingle().setMargin(5);

HyJavaCharts v7.2.0 - September 24, 2019

Changes to the API to match the Highcharts v7.2.0 API.

HyJavaCharts v7.1.2 - June 26, 2019

Changes to the API to match the Highcharts v7.1.2 API.

HyJavaCharts v7.1.1 - April 18, 2019

Changes to the API to match the Highcharts v7.1.1 API.

HyJavaCharts v7.0.3 - February 10, 2019

Changes to the API to match the Highcharts v7.0.3 API.

HyJavaCharts v7.0.2 - January 21, 2019

Changes to the API to match the Highcharts v7.0.2 API.

HyJavaCharts v7.0.1 - December 21, 2018

Changes to the API to match the Highcharts v7.0.1 API.

HyJavaCharts v6.2.0 - October 26, 2018

Changes to the API to match the Highcharts v6.2.0 API.
Color gradients and pattern fills changed to exactly match the Highcharts API.
Bug fix: options global.getTimezoneOffset, lang.accessibility.series.summary.default, time.getTimezoneOffset now generate with correct property name.

HyJavaCharts v6.1.4 - October 3, 2018

Changes to the API to match the Highcharts v6.1.4 API.
New method on Color class: brighten().
Design improvement: Highchart standard themes have been moved from Interface Theme to new class HighchartTheme.
Bug fix: Stops color was not converted to Javascript correctly when the color was a Javascript value.

HyJavaCharts v6.1.2 - September 18, 2018

Changes to the API to match the Highcharts v6.1.2 API.
New class HighchartRenderer.
New methods on Color class: setRGB, setRGBA, setGradient

HyJavaCharts v6.1.1 - June 29, 2018

Changes to the API to match the Highcharts v6.1.1 API.
New class HighchartOptions.

HyJavaCharts v6.1.0 - April 18, 2018

Changes to the API to match the Highcharts v6.1.0 API.

HyJavaCharts v6.0.7 - March 16, 2018

Changes to the API to match the Highcharts v6.0.7 API.

HyJavaCharts v6.0.6 - February 11, 2018

Changes to the API to match the Highcharts v6.0.6 API.

HyJavaCharts v6.0.4 - December 20, 2017

Changes to the API to match the Highcharts v6.0.4 API.

HyJavaCharts v6.0.3 - November 21, 2017

Changes to the API to match the Highcharts v6.0.3 API.

HyJavaCharts v6.0 - November 13, 2017

Changes to the API to match the Highcharts v6.0 API.

HyJavaCharts v5.0.14 - August 11, 2017

Changes to the API to match the Highcharts v5.0.14 API.

HyJavaStock v9.2.1 - August 24, 2021

Changes to the API to match the Highcharts Stock v9.2.1 API.

HyJavaStock v9.1.0 - May 29, 2021

Changes to the API to match the Highcharts Stock v9.1.0 API.

HyJavaStock v9.0.1 - February 28, 2021

Changes to the API to match the Highcharts Stock v9.0.1 API.

HyJavaStock v8.2.2 - October 30, 2020

Changes to the API to match the Highcharts Stock v8.2.2 API.
New constructor on class Function (String functionBody, String... parameters)

HyJavaStock v8.2.0 - August 25, 2020

Changes to the API to match the Highcharts Stock v8.2.0 API.
Automatic-Module-Name is defined as: com.hyjavastock.
Internal updates to the JSON generation library.

HyJavaStock v8.1.2 - June 22, 2020

Changes to the API to match the Highcharts Stock v8.1.2 API.

HyJavaStock v8.1.1 - June 12, 2020

Changes to the API to match the Highstock v8.1.1 API.

HyJavaStock v8.1.0 - May 9, 2020

Changes to the API to match the Highstock v8.1.0 API.

HyJavaStock v8.0.4 - March 29, 2020

Changes to the API to match the Highstock v8.0.4 API.

HyJavaStock v8.0.0 - January 14, 2020

Initial release of the HyJavaStock Java API. The API matches the Highstock v8.0.0 API.

HyJavaApex v3.28.1 - September 12, 2021

Changes to the API to match the ApexCharts v3.28.1 API.

HyJavaApex v3.26.3 - June 2, 2021

Changes to the API to match the ApexCharts v3.26.3 API.

HyJavaApex v3.26.1 - April 21, 2021

Changes to the API to match the ApexCharts v3.26.1 API.

HyJavaApex v3.25.0 - March 1, 2021

Changes to the API to match the ApexCharts v3.25.0 API.

HyJavaApex v3.23.1 - February 7, 2021

Changes to the API to match the ApexCharts v3.23.1 API.

HyJavaApex v3.22.3 - December 16, 2020

Changes to the API to match the ApexCharts v3.22.3 API.

HyJavaApex v3.22.0 - October 6, 2020

Changes to the API to match the ApexCharts v3.22.0 API.

HyJavaApex v3.21.0 - September 24, 2020

Changes to the API to match the ApexCharts v3.21.0 API.

HyJavaApex v3.20.0 - September 2, 2020

Initial release of the HyJavaApex Java API. The API matches the ApexCharts v3.20.0 API.

HyJavaImages v1.5.0 - August 11, 2021

Chrome.ChromeStatus changes: Added a new status VIA_HTTP_SERVER.
The existing READY status has been replaced with READY_CONNECTED and READY_STARTED.

The ImageGenerator.setDebugHtmlDirectory() method is now enabled for the HyJavaImages HTTP Server.
Now supports emulating a device. See the ImageGenerator.setEmulateDevice() method.
Now supports emulating a locale. See the ImageGenerator.setEmulateLocale() method.
Now supports emulating a timezoneId. See the ImageGenerator.setEmulateTimezoneId() method.
Now supports emulating a geolocation. See the ImageGenerator.setEmulateGeolocation() method.
Now supports full page image generation. See the ImageOptions.setFullPage() method.
Now supports restarting a pool page after "n" completed requests. See the Chrome.setMaxPageRequests() method.
New method to restart the Chrome headless server. See the Chrome.restart() method.
Now supports restarting the Chrome headless server after "n" completed requests. See the Chrome.setMaxChromeRequests() method.
Method ImageGenerator.setJavaScriptLibraryLocal() has been deprecated. You should now use method ImageGenerator.setJavaScriptLibraryAlternate().

Change in behaviour:
Previously the Chrome.stop() method performed a hard stop. Active requests were ignored.
This method now waits for active requests to complete before stopping the Chrome headless server.
The previous behaviour is still available by using the Chrome.stop(boolean forceStop) method.

Previously the Chrome.stop() method would close down a shared Chrome headless server even if the Chrome.connect() method had been called.
This would impact other users of the Chrome headless server.
The Chrome.stop() method will now not allow this. If you call the Chrome.connect() method you should use the Chrome.disconnect() method.
If this is your required behaviour (IE. close down a shared Chrome headless server) you should now use the new Chrome.disconnectWithStop() method.

Previously when starting Chrome, the library would include chromium binaries in the locations searched. The library no longer includes Chromium locations. We only test the library against Chrome. You can choose to specify a chromium binary with the setChromeBinaryPath() method.

Minor changes to the functionality that allows multiple charts in one image:
Method ImageGenerator.setChartOptions() has been renamed ImageGenerator.setAdditionalChartOptions().
New method ImageGenerator.setAdditionalChartDivAttributes(String... additionalChartDivAttributes) now handles any additional div attributes.
Method ImageGenerator.setChartDivAttributes(String chartDivAttributes) now expects only one div attributes parameter.

New class ChromeContext that implements methods to set cookies and permissions.
The ImageGenerator.setcookies method has been moved to ChromeContext class.

The HyJavaImages HTTP Server has been moved to a separate .jar.

All dependencies have been updated to lastest versions.

HyJavaImages v1.2.5 - June 20, 2021

Included support for Vaadin charts.
The deprecated method ImageGenerator.setAdditionalJavaScript() has been removed.
Method ImageGenerator.setChartDivStyle() has been deprecated. You should now use method ImageGenerator.setChartDivAttributes().

HyJavaImages v1.2.2 - June 7, 2021

Bug fix: ImageGenerator.setJavaScript() method, if a libraryVersion was specified for Highcharts stock libraries, the libraryVersion was not referenced correctly.

HyJavaImages v1.2.0 - April 18, 2021

Ability to include multiple charts in one image.
Ability to get Chrome status.
Bug fix: Ensure the Chrome.start() and connect() methods have fully completed before allowing the generation of images.

The HyJavaImages HTTP Server is an ADD-ON for the HyJavaImages library.
The HyJavaImages library now supports routing requests to the HyJavaImages HTTP Server.
For further details please see the HyJavaImages HTTP Server product page.

HyJavaImages v1.1.4 - March 9, 2021

Ability to emulate media for CSS media queries.
Ability to define 1 or more sets of global options for a chart.
Improved javadoc.

HyJavaImages v1.1.3 - January 12, 2021

Enhanced PDF options.
For methods that take chart options as a parameter: Ability to view html generated; Ability to include CSS; HTML5 compliant.
Method ImageGenerator.setAdditionalJavaScript() has been deprecated. You should now use method ImageGenerator.setJavaScriptAdditional().

HyJavaImages v1.1.2 - January 4, 2021

You can now choose the port Chrome will listen on.

HyJavaImages v1.1.1 - December 17, 2020

Support for creation of images with higher resolution.
ApexCharts - automatic turn off animations.
Chrome memory usage has been reduced.

HyJavaImages v1.1.0 - December 13, 2020

Initial release of the HyJavaImages Library.

HyJavaImages v1.1.3 - September 16, 2021

All dependencies have been updated to lastest versions.

HyJavaImages v1.1.2 - August 11, 2021

The HyJavaImages HTTP Server has been moved to a separate .jar.

HyJavaImages v1.1.1 - May 9, 2021

Improved HyJavaImages HTTP Server logging.

HyJavaImages v1.1.0 - April 18, 2021

The HyJavaImages HTTP Server is an ADD-ON for the HyJavaImages library.
The HyJavaImages library now supports routing requests to the HyJavaImages HTTP Server.
For further details please see the HyJavaImages HTTP Server product page.

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

Start the HyJavaCharts demo Java web application


Start the HyJavaStock demo Java web application


Start the HyJavaApex demo Java web application


Start the HyJavaImages demo Java web application