null matrix positioning bug #8456
Closed
Labels
Comments
Hi @hoshmn Thank you for reporting about the issue. We can run tests and check is a suggested solution / change will work and won't break anything. Just to be on the same page - |
Actually simpler than that, you could just remove the else case of setting |
KacperMadej
added a commit
that referenced
this issue
Jun 13, 2018
TorsteinHonsi
added a commit
that referenced
this issue
Jun 13, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Is there a need to set this null here? We wrote a plugin to enable images to be used as axis labels, but this was causing them to be positioned in the upper left of the chart, despite
position
also including the appropriate x and y coords (in fact, this would occur even withmatrix: undefined
). Is there a reason to set this at all (/a reason the SVG renderer--or whatever is positioning elements--should be checking whetherposition
has the propertymatrix
rather than checking that the value isn't nil?)?We worked around this with another plugin to delete the property, but making
fix3dPosition
a prototype method (and therefore wrappable) would also be nice.It's difficult to provide repro steps or a demo because this only affected the positioning of images--text labels were not mis-positioned due to the
matrix: null
setting.Thanks,
Josh
highcharts/js/parts-3d/Axis.js
Line 426 in 1477eac
The text was updated successfully, but these errors were encountered: