Jump to content
  • 0

Responsive Chart Legend Restriction


FredFarfadoe
 Share

Question

I love the responsive legend feature for charts in Caspio, that you can click on legend items to remove/add them. However, for some charts I would like to disable this feature, i.e. I don't want users to be able to remove slices from Pie-charts and then use them for reporting. However, I still want users to see the legend, I just want to disable the responsive feature.

Does anybody know of away to accomplish this? I do not think this can be done with base Caspio.

Thank you!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

For anybody interested, I actually altered @telly's code slightly to allow for data callouts:

<style>
.highcharts-a11y-proxy-button {
pointer-events: none!important;
}
tspan {
pointer-events: none!important;
}
</style>

 

Removing the "highcharts-a11y-proxy-button {pointer-events: none!important;}" piece allows for data callouts when hovering over slices. The above code only disables the responsive legend.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...