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

Hide 'Chart Types' in HTML5 Chart


rajesh.sm
Go to solution Solved by ernestoo,

Recommended Posts

  • 3 weeks later...
  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Ok. So this wasn't that difficult to solve, in the end. 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...
  • 5 months later...
  • 2 years later...
  • Solution

There were some properties you can disable this at either server level, report level or element level:

For hiding the button for the entire report, you can add this property:

<property name="com.jaspersoft.jasperreports.highcharts.interactive" value="false"/> 

For hiding the button only for a specific chart, you can add the property at the element level:

<reportElement positionType="Float" x="30" y="0" width="499" height="236" uuid="c5501771-9b58-4c5d-9b28-88f7e687f98f">

<property name="com.jaspersoft.jasperreports.highcharts.interactive" value="false"/>

</reportElement>

Link to comment
Share on other sites

  • 2 years later...

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...