-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horizontal legend broken using IE11 - Windows 8.1 #2030
Comments
Yep, I'm seeing this on our application as well on IE11. However, in our rendering, where we use a vertical alignment of the legend items, all but the last legend items are invisible. |
It is a rendering bug in IE11, I'll try to isolate it and report it to Microsoft. Meanwhile, we can work around it by running Legend.positionItem in a callback. This workaround can be added anywhere in your page or JavaScript after Highcharts is loaded:
If Microsoft fail to fix the bug before IE11 is released, we'll add a variant of the workaround to the Highcharts code base. Live demo at http://jsfiddle.net/highcharts/xvx7K/ |
Thank you! I can confirm that this workaround is working. |
You will need to re-open this issue, as the fix you describe here does not address the rendering of legend items during Export to PNG. To fix it correctly, you must call positionItem(), followed immediately by a delayed call to positionItem in the case of IE11. Otherwise, you get a very funky PNG on export. For example, if you go to http://jsfiddle.net/highcharts/xvx7K/ and add the exporting.js script while running on an IE11 browser, you get a chart legend where the legend items overlap each other (see screenshot, attached) |
…t to exported charts, closes #2030.
This workaround throws exception for me in ie11, fixed by NOT applying the workaround. |
No error seen at http://jsfiddle.net/highcharts/298Hr/ |
I was able to reduce it to this short testcase: On Wed, Dec 11, 2013 at 3:48 PM, highslide-software <
Dennis |
The error probably only happens when you destroy a chart directly after creating it, in the same thread. |
…e thread as creating it. Closes #2030.
Environment: Internet Explorer 11 under the preview build of Windows 8.1
Legend functionality, including legend text and click events, is diminished when a legend's layout property is set to 'horizontal'. Legend items appear as colored bars with no text and no clickable area. Switching the layout to vertical results in a properly rendered and functioning legend.
The text was updated successfully, but these errors were encountered: