Can I use the Java getter/setter method naming convention when setting chart options.

Can I use the Java getter/setter method naming convention when setting chart options.

You have the choice to use method names to set each chart option that closely match the Highcharts Javascript API or use the method names that follow the Java getter/setter naming convention.

Its totally up to you to use the naming convention you are most comfortable with.

Javascript:

chart: { type: 'bar' }

Java:

chartOptions.chart().type(ChartType.BAR);

 OR

chartOptions.getChart().setType(ChartType.BAR);

HyJavaCharts

The HyJavaCharts Java API is up to date with the latest version of Highcharts and fully supports all chart types and chart options in Highcharts v5.x and v6.x. Current versions supported are: