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

How to hide a Series with NULL values in Charts Pro


jasonp_1

Recommended Posts

I built a line chart in Charts Pro that renders 4 series on the same graph, each series coming from a different column in my query results.  Depending on the parameters passed to the query, one of the series may not have any data (all nulls).  I would like to hide the series in the chart so that its label does not show up in the legend.  Is this possible?  See the attachment for an example.

As a side note, where can I find full documentation on the FusionChart version that Jaspersoft uses in JasperReports 5.0?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I found the documentation. It is located in ireportireportproFusionCharts_EnterpriseContentsindex.html

 

I found the property I need "includeInLegend" but now I need to figure out how to set that property in the jrxml file and see if I can use an expression to set it based on data values.

Link to comment
Share on other sites

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