Jump to content

Recommended Posts

Posted

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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...
Posted

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?

 

  • 2 years later...
Posted

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>

  • 1 year 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...