jdbruijn Posted January 5, 2016 Share Posted January 5, 2016 I have a question about the dataLabels in a barchart. I have a jsFiddle that demonstrates what I want:http://jsfiddle.net/bxavx406/As you can see there I've disable the dataLabels for the first data serie. And now I want to know how to translate this to my jrxml file.I've managed to enable the dataLabels for all series using the following code: <hc:chartProperty name="plotOptions.series.dataLabels.enabled"> <hc:propertyExpression><![CDATA[boolean.TRUE]]></hc:propertyExpression> </hc:chartProperty>[/code]But I'm not sure how I can disable this dataLabel for a specific data serie. Or maybe only activate it for 1 specific data serie to begin with.Thanks Link to comment Share on other sites More sharing options...
zh3ntil Posted January 5, 2016 Share Posted January 5, 2016 Keep plotOptions property and try to add <hc:chartProperty name="series[0].dataLabels.enabled"><hc:propertyExpression><![CDATA[boolean.FALSE]]></hc:propertyExpression></hc:chartProperty>or <hc:chartProperty name="chart.series[0].dataLabels.enabled"><hc:propertyExpression><![CDATA[boolean.FALSE]]></hc:propertyExpression></hc:chartProperty>One of them should work. Link to comment Share on other sites More sharing options...
jdbruijn Posted January 6, 2016 Author Share Posted January 6, 2016 I've tried both options, but both give me the error "Invalid chart property name"I'm using Jaspersoft Studio Professional 6.0.1.final Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now