You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to assign specific behaviour to shapes. For example making specific shapes editbale. I know there's an editable field in shapes[] but that is a bit clunky (the user has to select the shape and then move it which doesn't always work very well).
I would like to be able assign a class name to shapes such that I can set specific css properties per shape. Is there a reason why a class/id can't be assigned to shapes? Could this be something that could be added?
The text was updated successfully, but these errors were encountered:
Thank you for the feature request @snowPu - I've added it to our backlog, but realistically it will be quite some time before we can get to it. If you'd like to take a crack at it yourself, I'd be very happy to prioritize a code review. Thanks - @gvwilson
@snowPu we typically don't expose direct DOM access to elements inside plots, because the plots then stop being portable. Ideally everything should be configurable through the figure object. Can you say a little more about what you're trying to accomplish?
I would like to be able to assign specific behaviour to shapes. For example making specific shapes editbale. I know there's an
editable
field inshapes[]
but that is a bit clunky (the user has to select the shape and then move it which doesn't always work very well).I would like to be able assign a class name to shapes such that I can set specific css properties per shape. Is there a reason why a
class
/id
can't be assigned to shapes? Could this be something that could be added?The text was updated successfully, but these errors were encountered: