charts
charts copied to clipboard
Heatmap hover color unchangeable
Originally by niko.hellgren
Setting a hover color (or any other stylings) to the States object of PlotOptionsHeatmap does nothing. To reproduce:
- Take the example code from https://demo.vaadin.com/charts/#HeatMapExample
- 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);
- Color of the cell upon mouseover is still the default Maya Blue
Imported from https://dev.vaadin.com/ issue #19763