HyJavaCharts - Latest: v12.0.2 - December 16, 2024
HyJavaCharts v12.0.2 - December 16, 2024
Changes to the API to match the Highcharts v12.0.2 API.
Internal updates to the JSON generation library.
HyJavaCharts v11.4.8.1 - November 10, 2024
Issue Fix: artifactId has been changed from HyJavaCharts to hyjavacharts. Some maven commands fail if the artifactId is not lowercase. Note that the repository path should now be: /com/hyjavacharts/hyjavacharts/11.4.8.1
HyJavaCharts v11.4.8 - September 12, 2024
Changes to the API to match the Highcharts v11.4.8 API.
HyJavaCharts v11.4.4 - July 7, 2024
Changes to the way generic chart options are implemented. See the HyJavaCharts full documentation for full details.
Consolidate PlotOptions and Series Accessibility classes to one Accessibility class in common.
Consolidate PlotOptions and Series Label classes to one Label class in common.
Consolidate PlotOptions and Series Tooltip classes to reference the main Tooltip class.
Consolidate PlotOptions and Series DataSorting classes to one DataSortingOptions class in common.
Changes to the API to match the Highcharts v11.4.4 API.
HyJavaCharts v11.4.3 - June 15, 2024
Changes to the API to match the Highcharts v11.4.3 API.
HyJavaCharts v11.4.1 - June 1, 2024
New Highcharts class method toJs(Object) to generate JSON for any model class.
New HighchartOptions class method toJs(Object) to generate JSON for any model class.
New HighchartRenderer class method toJs(Object) to generate JSON for any model class.
Included Series Data.drilldown(boolean) option missing from the Highcharts API.
Changes to the API to match the Highcharts v11.4.1 API.
HyJavaCharts v11.4.0 - March 23, 2024
New Highcharts class static method setCompressOutput(boolean) to compress the generated chart options.
Changes to the API to match the Highcharts v11.4.0 API.
HyJavaCharts v11.3.0 - January 22, 2024
Changes to the API to match the Highcharts v11.3.0 API.
HyJavaCharts v11.2.0 - November 4, 2023
New Highchart class static method setEmitColorsAsString().
New Color class method setEmitAsString().
Added getter methods to Color, Function, Stop, SVGPathArray, SVGPathCommand and Unit classes.
Changes to the API to match the Highcharts v11.2.0 API.
HyJavaCharts v10.3.3.2 - July 19, 2023
New Highchart class static method setEmitColorsAsString().
New Color class method setEmitAsString().
Added getter methods to Color, Function, Stop, SVGPathArray, SVGPathCommand and Unit classes.
HyJavaCharts v11.1.0 - June 19, 2023
Changes to the API to match the Highcharts v11.1.0 API.
HyJavaCharts v11.0.1 - May 15, 2023
Changes to the API to match the Highcharts v11.0.1 API.
Internal updates to the JSON generation library.
HyJavaCharts v10.3.3 - January 29, 2023
Changes to the API to match the Highcharts v10.3.3 API.
HyJavaCharts v10.3.2 - December 10, 2022
Changes to the API to match the Highcharts v10.3.2 API.
HyJavaCharts v10.3.1 - November 15, 2022
Changes to the API to match the Highcharts v10.3.1 API.
HyJavaCharts v10.2.1 - September 8, 2022
Changes to the API to match the Highcharts v10.2.1 API.
HyJavaCharts v10.2.0 - July 10, 2022
Changes to the API to match the Highcharts v10.2.0 API.
HyJavaCharts v10.1.0.1 - May 29, 2022
New methods to allow serialise/deserialise chart options in Java.
For more details refer to the JSON section in the full documentation.
HyJavaCharts v9.3.3.1 - May 29, 2022
New methods to allow serialise/deserialise chart options in Java.
For more details refer to the JSON section in the full documentation.
HyJavaCharts v10.1.0 - May 10, 2022
Changes to the API to match the Highcharts v10.1.0 API.
HyJavaCharts v10.0.0 - March 25, 2022
Changes to the API to match the Highcharts v10.0.0 API.
HyJavaCharts v9.3.3 - March 12, 2022
Changes to the API to match the Highcharts v9.3.3 API.
Internal updates to the JSON generation library.
HyJavaCharts v9.3.2 - December 28, 2021
Changes to the API to match the Highcharts v9.3.2 API.
HyJavaCharts v9.3.0 - November 1, 2021
Changes to the API to match the Highcharts v9.3.0 API.
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.1 - February 14, 2021
Included an Addon that supports Highcharts Regression.
Linear and non-linear regression support for highcharts.
See: https://github.com/streamlinesocial/highcharts-regression
Included missing option: SeriesTreemap.Data.sortIndex
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 - Latest: v11.4.8.1 - November 13, 2024
HyJavaStock v11.4.8.1 - November 13, 2024
Issue Fix: artifactId has been changed from HyJavaStock to hyjavastock. Some maven commands fail if the artifactId is not lowercase. Note that the repository path should now be: /com/hyjavastock/hyjavastock/11.4.8.1
HyJavaStock v11.4.8 - September 21, 2024
Changes to the API to match the Highcharts Stock v11.4.8 API.
HyJavaStock v11.4.4 - July 13, 2024
Changes to the way generic chart options are implemented. See the HyJavaStock full documentation for full details.
Consolidate PlotOptions and Series Accessibility classes to one Accessibility class in common.
Consolidate PlotOptions and Series Label classes to one Label class in common.
Consolidate PlotOptions and Series Tooltip classes to reference the main Tooltip class.
Changes to the API to match the Highcharts Stock v11.4.4 API.
HyJavaStock v11.4.3 - June 16, 2024
Changes to the API to match the Highcharts Stock v11.4.3 API.
HyJavaStock v11.4.1 - June 2, 2024
New Highstock class method toJs(Object) to generate JSON for any model class.
New HighstockOptions class method toJs(Object) to generate JSON for any model class.
New HighstockRenderer class method toJs(Object) to generate JSON for any model class.
Changes to the API to match the Highcharts Stock v11.4.1 API.
HyJavaStock v11.4.0 - March 28, 2024
New Highstock class static method setCompressOutput(boolean) to compress the generated chart options.
Changes to the API to match the Highcharts Stock v11.4.0 API.
HyJavaStock v11.3.0 - February 10, 2024
Changes to the API to match the Highcharts Stock v11.3.0 API.
HyJavaStock v11.2.0 - November 16, 2023
New Highstock class static method setEmitColorsAsString().
New Color class method setEmitAsString().
Added getter methods to Color, Function, Stop and Unit classes.
Changes to the API to match the Highcharts Stock v11.2.0 API.
HyJavaStock v11.1.0 - June 28, 2023
Changes to the API to match the Highcharts Stock v11.1.0 API.
HyJavaStock v11.0.1 - May 26, 2023
Changes to the API to match the Highcharts Stock v11.0.1 API.
Internal updates to the JSON generation library.
HyJavaStock v10.3.3 - February 3, 2023
Changes to the API to match the Highcharts Stock v10.3.3 API.
HyJavaStock v10.3.2 - December 20, 2022
Changes to the API to match the Highcharts Stock v10.3.2 API.
HyJavaStock v10.3.1 - December 6, 2022
Changes to the API to match the Highcharts Stock v10.3.1 API.
HyJavaStock v10.2.1 - September 8, 2022
Changes to the API to match the Highcharts Stock v10.2.1 API.
HyJavaStock v10.2.0 - July 12, 2022
Changes to the API to match the Highcharts Stock v10.2.0 API.
HyJavaStock v10.1.0.1 - May 29, 2022
New methods to allow serialise/deserialise chart options in Java.
For more details refer to the JSON section in the full documentation.
HyJavaStock v9.3.3.1 - May 29, 2022
New methods to allow serialise/deserialise chart options in Java.
For more details refer to the JSON section in the full documentation.
HyJavaStock v10.1.0 - May 10, 2022
Changes to the API to match the Highcharts Stock v10.1.0 API.
HyJavaStock v10.0.0 - March 30, 2022
Changes to the API to match the Highcharts Stock v10.0.0 API.
HyJavaStock v9.3.3 - March 12, 2022
Changes to the API to match the Highcharts Stock v9.3.3 API.
Internal updates to the JSON generation library.
HyJavaStock v9.3.2 - December 21, 2021
Changes to the API to match the Highcharts Stock v9.3.2 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 - Latest: v4.1.0 - December 4, 2024
HyJavaApex v4.1.0 - December 4, 2024
Changes to the API to match the ApexCharts v4.1.0 API.
Internal updates to the JSON generation library.
HyJavaApex v3.54.1 - November 3, 2024
Issue Fix: artifactId has been changed from HyJavaApex to hyjavaapex. Some maven commands fail if the artifactId is not lowercase. Note that the repository path should now be: /com/hyjavaapex/hyjavaapex/3.54.1
Changes to the API to match the ApexCharts v3.54.1 API.
HyJavaApex v3.54.0 - October 9, 2024
Changes to the API to match the ApexCharts v3.54.0 API.
HyJavaApex v3.52.0 - August 16, 2024
Changes to the API to match the ApexCharts v3.52.0 API.
HyJavaApex v3.50.0 - July 15, 2024
Changes to the API to match the ApexCharts v3.50.0 API.
HyJavaApex v3.49.1 - June 19, 2024
Changes to the way generic chart options are implemented. See the HyJavaApex full documentation for full details.
Changes to the API to match the ApexCharts v3.49.1 API.
HyJavaApex v3.49.0 - April 25, 2024
New Apexchart class static method setCompressOutput(boolean) to compress the generated chart options.
Changes to the API to match the ApexCharts v3.49.0 API.
HyJavaApex v3.45.2 - February 14, 2024
Changes to the API to match the ApexCharts v3.45.2 API.
HyJavaApex v3.44.0 - November 18, 2023
Changes to the API to match the ApexCharts v3.44.0 API.
HyJavaApex v3.43.0 - October 8, 2023
Changes to the API to match the ApexCharts v3.43.0 API.
HyJavaApex v3.41.1 - August 23, 2023
Changes to the API to match the ApexCharts v3.41.1 API.
HyJavaApex v3.41.0 - July 2, 2023
Changes to the API to match the ApexCharts v3.41.0 API.
HyJavaApex v3.40.0 - May 17, 2023
Changes to the API to match the ApexCharts v3.40.0 API.
Internal updates to the JSON generation library.
HyJavaApex v3.39.0 - April 23, 2023
Changes to the API to match the ApexCharts v3.39.0 API.
HyJavaApex v3.37.0 - February 9, 2023
Changes to the API to match the ApexCharts v3.37.0 API.
HyJavaApex v3.36.0 - October 28, 2022
Changes to the API to match the ApexCharts v3.36.0 API.
HyJavaApex v3.35.4 - July 31, 2022
Changes to the API to match the ApexCharts v3.35.4 API.
New methods to allow serialise/deserialise chart options in Java.
For more details refer to the JSON section in the full documentation.
HyJavaApex v3.35.0 - April 11, 2022
Changes to the API to match the ApexCharts v3.35.0 API.
HyJavaApex v3.33.2 - March 12, 2022
Changes to the API to match the ApexCharts v3.33.2 API.
Internal updates to the JSON generation library.
HyJavaApex v3.33.1 - February 15, 2022
Changes to the API to match the ApexCharts v3.33.1 API.
HyJavaApex v3.32.1 - December 30, 2021
Changes to the API to match the ApexCharts v3.32.1 API.
HyJavaApex v3.30.0 - November 28, 2021
Changes to the API to match the ApexCharts v3.30.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 - Latest: v1.12.1 - November 6, 2024
PLEASE NOTE: As of Chrome version 112 the Chrome dev team have upgraded Chrome headless.
For all users we recommend you update to the latest version of HyJavaImages.
Please read the Chrome headless change document to see the impact of this change and your options.
HyJavaImages v1.12.1 - November 6, 2024
Issue Fix: artifactId has been changed from HyJavaImages to hyjavaimages. Some maven commands fail if the artifactId is not lowercase. Note that the repository path should now be: /com/hyjavacharts/hyjavaimages/1.12.1
Added a new default Chrome argument: --enable-unsafe-swiftshader
Confirmed "old" Chrome headless will be removed in Chrome 132. Chrome will fail to start with argument --headless=old. An error message will now be displayed in this situation.
HyJavaImages v1.12.0 - October 27, 2024
New ImageGenerator methods setInitialHtmlElement(), setFinalHtmlElement(), setBodyHtmlElements().
New ChromeArguments method setDisableAutoNewUserDataDir().
New ChromeArguments.ChromeHeadlessType constant: ChromeHeadlessType.HEADLESS_SHELL.
In preparation for the removal of "old" headless, the default ChromeArguments.ChromeHeadlessType has changed from ChromeHeadlessType.HEADLESS_OLD to ChromeHeadlessType.HEADLESS.
All dependencies have been updated to latest versions.
HyJavaImages v1.11.0 - April 19, 2024
New Chrome.BrowserLoggingLevel constant: BrowserLoggingLevel.FATAL.
Improved error handling around Chrome headless startup.
Bug fix: Handle the rare case where localhost does not resolve to 127.0.0.1.
All dependencies have been updated to latest versions.
HyJavaImages v1.10.0 - February 18, 2024
New Chrome class method setBrowserLoggingLevel() to filter messages output from the Chrome headless browser.
New Chrome class method setLogFile() to allow output of all messages to a log file.
Change in behaviour: Only error messages will now now be output from the Chrome headless browser.
This can be changed back to the previous behaviour with Chrome class method setBrowserLoggingLevel(BrowserLoggingLevel.ALL).
HyJavaImages v1.9.0 - January 3, 2024
The library will now search in the standard install locations for the standalone "chrome-headless-shell" binary first, then the "Chrome" binary.
You now have the option to download and install the standalone chrome-headless-shell binary.
HyJavaImages v1.8.0 - December 3, 2023
Improvements to messages output from the library.
New Chrome class method setQuietMode() to minimize messages from the library.
If you are using ChromeHeadlessType.HEADLESS_NEW, Chrome now correctly creates images that match the window size.
All dependencies have been updated to latest versions.
HyJavaImages v1.7.0 - October 25, 2023
Improvement to the way the library searches for the default Chrome binary on windows.
HyJavaImages v1.6.1 - July 24, 2023
Bug fix: Correct an invalid default Chrome argument.
All dependencies have been updated to latest versions.
HyJavaImages v1.6.0 - April 30, 2023
Change in behaviour: the main chart div size attributes will automatically be set to match the image size.
This can be changed back to the previous behaviour with the new Chrome class method setAutoSetDivToWindowSize(false).
New Chrome class method setChromeFix() to fix various Chrome issues.
Removed Chrome class method setUseCreateTargetMethod. It has been replaced with the setChromeFix() method.
New ChromeArguments class method setChromeHeadlessType() to set the Chrome headless type.
New ChromeArguments class method setGenerateNewUserDataDir() to create a new clean --user-data-dir for the Chrome session.
New ImageGenerator class method setAdditionalChartDivSize() to set just the width and height of additional chart div tag attributes.
The deprecated ImageGenerator class method setChartDivStyle() has been removed.
The deprecated ImageGenerator class method setJavaScriptLocal() has been removed.
All dependencies have been updated to latest versions.
HyJavaImages v1.5.6 - February 25, 2023
New ImageGenerator class method toBase64SVG() to generate SVG format images for Highcharts and ApexCharts charts.
Improved loading of the specified JavaScript libraries.
All dependencies have been updated to latest versions.
HyJavaImages v1.5.5 - August 26, 2022
For Chrome versions 90.x and earlier the Chrome DevTools protocol method Target.createTarget() does not operate correctly.
New Chrome class method setUseCreateTargetMethod(boolean) to address this issue.
The PdfOptions.ignoreInvalidPageRanges is no longer supported in the DevTools protocol. It has been removed from the PdfOptions class.
New ImageGenerator class method setChartDivSize() to set just the width and height attributes.
Improvements to Highcharts and Highcharts Stock automatic turn off animations.
HyJavaImages v1.5.4 - July 19, 2022
The Chrome DevTools Protocol will stop supporting HTTP GET requests for /json/new in future versions (Warning in Chrome version 103).
The HyJavaImages library uses /json/new to create Chrome pages on startup.
The HyJavaImages library has now replaced the DevTools HTTP GET request /json/new with the Target.createTarget() method.
UPDATE March 9, 2023.
PLEASE NOTE:
From Chrome version 111 the Chrome DevTools Protocol has stopped supporting HTTP GET requests for /json/new.
Users with HyJavaImages library v1.5.3 and earlier will see an error when starting Chrome with the Chrome.start() method.
Users will need to either:
- Remain on Chrome version 110 or earlier.
- Upgrade to the HyJavaImages latest version. Go to the Other downloads page and click on Updates for licensed products.
HyJavaImages v1.5.3 - May 27, 2022
A user configured ThreadFactory can now be passed to the library.
Netty can now be selected as the websocket client.
Bug fix: Correct a Gson RuntimeException when the library is used in modular applications.
HyJavaImages v1.5.2 - April 29, 2022
All dependencies have been updated to latest versions.
Improved parameter validations.
Global options are now ignored for ApexCharts.
Improved javadoc.
HyJavaImages v1.5.1 - November 26, 2021
Change in formatting: Previously the library used the Chrome user-agent stylesheet which defaults to body { margin: 8px; }.
This would normally not be noticeable on 800 x 600 images but does impact smaller size images where some of the image may be cut-off.
This has now been overriden to body { margin: 0; }.
If required the previous body margin is available by using internal or external CSS.
For example: ImageGenerator.setCSSInternal("body { margin: 8px !important; }");
Now supports the .webp image format.
Ability to define the location where temporary html files will be created.
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 HTTP Server - Latest: v1.6.1 - November 6, 2024
HyJavaImages HTTP Server v1.6.1 - November 6, 2024
Issue Fix: artifactId has been changed from HyJavaImagesHttpServer to hyjavaimages-http-server. Some maven commands fail if the artifactId is not lowercase.
Requires HyJavaImages library v1.12.1 or greater.
HyJavaImages HTTP Server v1.6.0 - October 27, 2024
Requires HyJavaImages library v1.12.0 or greater.
New property disableAutoNewUserDataDir=false
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.5.0 - April 19, 2024
Requires HyJavaImages library v1.11.0 or greater.
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.4.0 - February 18, 2024
Requires HyJavaImages library v1.10.0 or greater.
New property browserLoggingLevel=BrowserLoggingLevel.ERROR
HyJavaImages HTTP Server v1.3.0 - December 3, 2023
Requires HyJavaImages library v1.8.0 or greater.
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.2.0 - April 30, 2023
The HyJavaImagesHttpLauncher-1.0.0.jar is no longer required. The server is now launched with com.hyjavacharts.hyjavaimages.httpserver.HttpServer.
New property chromeFix=
New property chromeHeadlessType=ChromeHeadlessType.HEADLESS_OLD
New property generateNewUserDataDir=false
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.1.9 - February 25, 2023
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.1.8 - May 27, 2022
ChromeArguments can now be configured from the properties file.
HyJavaImages HTTP Server v1.1.6 - April 29, 2022
All dependencies have been updated to latest versions.
Updated BCrypt implementation.
HyJavaImages HTTP Server v1.1.5 - January 25, 2022
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.1.4 - November 26, 2021
Ability to define the location where temporary html files will be created.
Updated to reference HyJavaImages v1.5.1.
HyJavaImages HTTP Server v1.1.3 - September 16, 2021
All dependencies have been updated to latest versions.
HyJavaImages HTTP Server v1.1.2 - August 11, 2021
The HyJavaImages HTTP Server has been moved to a separate .jar.
HyJavaImages HTTP Server v1.1.1 - May 9, 2021
Improved HyJavaImages HTTP Server logging.
HyJavaImages HTTP Server 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.
Chrome Headless Shell Installer - Latest: v1.12.1 - November 19, 2024
Chrome Headless Shell Installer v1.12.1 - November 19, 2024
Updated to install Chrome 131.0.6778.69
Chrome Headless Shell Installer v1.12.0 - October 27, 2024
Updated to install Chrome 130.0.6723.58.
Chrome Headless Shell Installer v1.11.1 - October 1, 2024
Updated to install Chrome 129.0.6668.70
Chrome Headless Shell Installer v1.11.0 - April 19, 2024
Updated to install Chrome 123.0.6312.122.
Chrome Headless Shell Installer v1.10.0 - March 28, 2024
Updated to install Chrome 123.0.6312.86.
Chrome Headless Shell Installer v1.9.0 - December 19, 2023
Initial version to install Chrome 120.0.6099.109.