Replies: 1 comment 1 reply
-
cc lens team @timroes @stratoula @flash1293 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
embeddables have a
renderMode
input attribute which tells the embeddable in which mode to render. This are currently available modes:display
: the default modeedit
: embeddable should render in edit modepreview
: embeddable should render in minimal preview modenoInteractivity
: embeddable should render in no interactibity mode (no actions are emitted from within the chart. however embeddable panel will still work normally)Embeddable panel can be extended with actions and those actions can be made available just in certain renderMode as action has access to embeddableInput inside the actions
isCompatible
method.One enhancement that was discussed before is adding
print
as one of possible renderModes.noInteractvity
seems to be only used inside canvas to prevent charts emitting actions on click and they would desire that behaviour and edit and view mode.I can see two possible ways to address this:
noInteractibityEdit
mode.noInteractivity
to a separate setting as it seems we might want to set it inedit
,display
andpreview
mode independently. This might make sense as in many cases this is handler independently from how chart is rendered.Beta Was this translation helpful? Give feedback.
All reactions