Heatmap from vaadin-charts does not refresh

Hello,
We hit few issues with heatmap component:

  1. Whatever we do, it’s impossible to change the state of the heatmap scale, title etc dynamically, i.e.:
    final Chart chart = new Chart(ChartType.HEATMAP);
    //fill up with data etc…
    // dummy change of the state on the server, click is intercepted but the component does not refresh
    chart.addChartClickListener(new ChartClickListener() {

         @Override
         public void onClick(ChartClickEvent event) {
                     if(event.isAltKey())
             {
                 if(chart.getConfiguration().getColorAxis().getType().equals(AxisType.LINEAR))
                     chart.getConfiguration().getColorAxis().setType(AxisType.LOGARITHMIC);
                 else
                     chart.getConfiguration().getColorAxis().setType(AxisType.LINEAR);
                 chart.getConfiguration().setTitle(""+event.getAbsoluteX());
                 chart.markAsDirtyRecursive();
                 chart.drawChart();
             }
         }
    

});

will never update the title or the scale. The state is pushed to the client, but the chart is not refreshed whatever we try…

  1. heatmap.js in the verision of highcharts used has some bugs with the legend (it’s always flipped upside-down), and apparently was fixed in 4.1 - is it possible to upgrade it?

  2. Is it possible to use HTML5 version of the heatmap with vaadin (for bigger datasets)? Any pointers would be appreciated.

Best