Skip to content
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

InkScape displays empty tooltip border in exported SVG #2301

Closed
hansgru opened this issue Sep 30, 2013 · 5 comments
Closed

InkScape displays empty tooltip border in exported SVG #2301

hansgru opened this issue Sep 30, 2013 · 5 comments

Comments

@hansgru
Copy link

hansgru commented Sep 30, 2013

When exporting a Waterfall Diagram as SVG, the result will contain also a square with rounded corners in the left side that do not belongs to the chart (It looks like the shadow from the export button?)

You can see this in your own examples:
http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/waterfall/

regards.

@TorsteinHonsi
Copy link
Collaborator

Does this apply to a specific browser? I failed to reproduce this in Chrome, Firefox, IE8 and IE9. A screenshot and perhaps also the SVG file would be helpful.

@hansgru
Copy link
Author

hansgru commented Oct 1, 2013

Using your example above, I get with FF 24 the following SVG (opened with Inkscape):
rendering_bug_1

The square on the upper left side should not be rendered there.

The exported SVG is in the following Gist: https://gist.github.com/hansgru/6780156

I'm getting this on Windows XP, Vista and Win 8 machines with the most actual FF.

regards.

@TorsteinHonsi
Copy link
Collaborator

The issue appears to be an InkScape bug rather than Highcharts. It applies to SVG exports from any browser, but only when viewed in InkScape. The rectangle is the tooltip border and shadow. Although the tooltip group element has visibility:hidden set, InkScape displays it.

@hansgru
Copy link
Author

hansgru commented Oct 2, 2013

The issue appears to be an InkScape bug rather than Highcharts.

Thank you and sorry for not noticing that this is an Inkscape issue (the default SVG viewer on all our computers is Inkscape)

@TorsteinHonsi
Copy link
Collaborator

No problem, I noticed that quickly from your screenshot :)

TorsteinHonsi added a commit that referenced this issue Oct 6, 2016
… This prevents the empty label from being present in exported SVG.

Touches #2301, #2657, #3532, #5570.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants