giuliana.damiani Posted February 6, 2015 Share Posted February 6, 2015 Hi all,I want to print the x-axis labels every 5 times. I find in the web that I have to set this chart property : "net.sf.jasperreports.chart.domain.axis.tick.interval" and set the value to "5", but this doesn't work.The line chart shows all the x-axis labels! Anyone can help me,please?P.S.I work with JasperStudio 6.0.1 Best Regards,Giuliana Link to comment Share on other sites More sharing options...
stasp Posted February 7, 2015 Share Posted February 7, 2015 If you are on Jaspersoft Studio 6.0.1 you are probably using HTML5 charts. For these charts you will have to use properties from Highcharts API since HTML5 charts are based on Highcharts library. For example try to set xAxis.tickInterval:http://api.highcharts.com/highcharts#xAxis.tickIntervalIn order to add it open chart properties and then open Advances properties view.Hope this helps. - Stas Link to comment Share on other sites More sharing options...
simon.lischka Posted June 18, 2015 Share Posted June 18, 2015 Hey guys, so did this work?Does the JS-Studio linechart also use Highcharts API? I can't find the property xAxis.tickInterval in Advanced properties view. How would the XML line in JRXML source look? Link to comment Share on other sites More sharing options...
ragopalakrishnan Posted September 20, 2017 Share Posted September 20, 2017 I had the same issue with Stacked Bar Chart. Mine is Jasper Community Editionn 6.2.1.Able to fix the issue by using below property in <reportElement><property name="net.sf.jasperreports.chart.range.axis.tick.interval" value="1"/>my source code snippet <stackedBarChart> <chart evaluationTime="Report"> <reportElement x="3" y="4" width="547" height="310" uuid="437a72b9-4d07-40de-8497-358e8d904795"> <property name="com.jaspersoft.studio.unit.width" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> <property name="net.sf.jasperreports.chart.range.axis.tick.interval" value="1"/> </reportElement> Link to comment Share on other sites More sharing options...
angela_4 Posted November 20, 2018 Share Posted November 20, 2018 net.sf.jasperreports.chart.domain.axis.tick.interval and .count don't work for me in jaspersoft sudio 6.6.0. Is there any solution for that?? 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