You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting colorAxis for a chart as well as individual colors for each series data will cause the chart to initially render the series color but on resize it will switch to colorAxis colors. Furthermore, hovering over the chart will cause it to revert to the initial colors.
Demo on master branch: http://jsfiddle.net/2mss9wj8/4/
I'm curious - what is the expected result? I guess, since points have colors, then colors from colorAxis shouldn't be used. However, in that case detach colorAxis from series: http://jsfiddle.net/2mss9wj8/6/
If this should be the opposite, so colorAxis should have higher priority than color option for a point, then simply remove that color options.
I'm not saying that the above are solutions, just workarounds for a specific cases.
@pawelfus Thanks for the quick reply. You're right, in the end I chose to go with the solution of not having both colorAxis and color options.
Still, it's weird that in a previous version of Highmaps, 1.0.4, this issue didn't happen, point colors had priority.
Issue Description
Setting
colorAxis
for a chart as well as individual colors for each seriesdata
will cause the chart to initially render the series color but on resize it will switch tocolorAxis
colors. Furthermore, hovering over the chart will cause it to revert to the initial colors.Notes
colorAxis
The text was updated successfully, but these errors were encountered: