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

Hiding legend and xAxis


babasss

Recommended Posts

Hello,

I use JasperStudio 6.3. In a StackedPercentBar, i want to hide legend and xAxis. So i changed properties of "Showlegend" and "legend.enabled" and "xAxis.visible" and xAxis.labels.enabled". I see all modifications on XML

     <hc:chartSetting name="default">      <hc:chartProperty name="title.text" value=""/>      <hc:chartProperty name="legend.enabled" value="false"/>      <hc:chartProperty name="credits.enabled" value="false"/>      <hc:chartProperty name="credits.href" value=""/>      <hc:chartProperty name="credits.text" value=""/>      <hc:chartProperty name="yAxis.title.text" value=""/>      <hc:chartProperty name="chart.zoomType" value="xy"/>      <hc:chartProperty name="plotOptions.series.dataLabels.enabled" value="true"/>      <hc:chartProperty name="plotOptions.series.dataLabels.format" value="{point.y} ( {point.percentage:.1f}% )"/>      <hc:chartProperty name="colors"/>      <hc:chartProperty name="xAxis.visible" value="false"/>      <hc:chartProperty name="xAxis.labels.enabled" value="false"/>     </hc:chartSetting>[/code]

But when i execute the report, legend and xAxis are still here. Am I doing something wrong ?

Thanks for your help

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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