Jump to content
We've recently updated our Privacy Statement, available here ×

How to hide canvas option (Change Chart type)?


comsym

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

I mean to say when you deploy graph report then jasper report server allows to user to change chart type. I need to restrict to user to change chart type. what property I have to set for disable this functionality?
Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...
  • 4 weeks later...

You can hide this using a custom theme.

In the override_custom.css add the following line - 

.show_chartTypeSelector_wrapper{ display: none;}[/code]

This will hide the chart selector (aka canvas option) for anyone using that theme. Ideally you'd put this in all the themes you make availabe to users, if you want to hide it across the board.

Link to comment
Share on other sites

  • 2 weeks later...

Hi Cameron,

Thanks for replying, I'll try that out.

Just wanted to know, can this be done at report level. What I mean is, the above solution will affect all the reports using a specific theme; but what if I want to disable it for only a specific report/dashboard.

Is this possible?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...