charts icon indicating copy to clipboard operation
charts copied to clipboard

Heatmap hover color unchangeable

Open vaadin-bot opened this issue 8 years ago • 0 comments

Originally by niko.hellgren


Setting a hover color (or any other stylings) to the States object of PlotOptionsHeatmap does nothing. To reproduce:

  1. Take the example code from https://demo.vaadin.com/charts/#HeatMapExample
  2. Add the following definitions to the plotOptionsHeatmap object
Hover hover = new Hover();
hover.setFillColor(SolidColor.CRIMSON); // Or any other Color
States states = new States();
states.setHover(hover);     
plotOptionsHeatmap.setStates(states);
  1. Color of the cell upon mouseover is still the default Maya Blue

Imported from https://dev.vaadin.com/ issue #19763

vaadin-bot avatar Apr 28 '16 05:04 vaadin-bot