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
jqplot to image: legend swatches overlapping in jQuery > 3.2.1 #186
Comments
Experiencing the same issue. |
I have implemented a fix in function _jqpToImage, works for me:
|
Hi @robertoferreirajrr, I have tried your fix for pie charts (jqplot.1.0.9.d96a669 / jquery 3.6.0), but unfortunately it doesn't really fix the issue in this case. However a slight change in the legend swatches can be noticed: |
With the following code it looks quite right:
|
In jQuery up to 3.2.1, when asking for the
position()
of adiv
in atd
, the position would be relative to the table. Since 3.3.0+, the position is relative to thetd
, so that all swatches have a position of 0/0 and lay over each other.jQuery 3.2.1:
jQuery 3.3.1:
The text was updated successfully, but these errors were encountered: