Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Top half of ColorAxis being cut off after a resize #5912
The top half of the label on a Vertically laid out ColorAxis should not be cut off after making the height small and then large again
When using a color axis laid out vertically, If the chart height is sized smaller than the ColorAxis, then resized back to a normal size, part of the top of the axis seems to get cut off. In particular if you have a label on the top of the axis it cuts off the top half of the label.
It's also interesting to note that even when the colorAxis is laid out horizontally it seems to cut off the top of the axis by a pixel or two
I've tried a few things as a workaround to restore the top label to a good state, but haven't had any luck so far. Any Ideas?
Live demo with steps to reproduce
I put together a quick fiddle from an existing one on the API. But essentially the steps are very simple for this example.