Jump to content
Changes to the Jaspersoft community edition download ×

Jasper Highcharts: Specify type and yAxis by series


dstevens_2

Recommended Posts

Hello.

I have a chart with 6 series. I want the first three series to be stacked bar, and the last 3 to be lines.

In JasperServer 6.4 I selected stacked column line. 

Currently the first 5 series are stacked bars on yAxis = 0, and the 6th series is a line on yAxis=1.

How can I tell jasperserver to make the last three series type = line?

Amongst other things, i have tried:

  • plotOptions.series: [{type: 'column', yAxis: 0}, {type: 'column', yAxis: 0}, {type: 'column', yAxis: 0}, {type: 'line', yAxis: 1},{type: 'line', yAxis: 1},{type: 'line', yAxis: 1}]
  • series.type: ["line","line","line","column","column","column"]

Thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hello,

you may be interested in the chart samples I've created:

https://community.jaspersoft.com/wiki/chart-tips-and-tricks-project-importing-workspace-and-using-samples

Some samples show how to obtain a value from a series property like color and other samples show how to change type of measure from the one you defined in the chart to the one you want using measure advanced properties. You can mix these two approaches if type of visualization depends on series or you can set types right into the measures

Link to comment
Share on other sites

  • 2 weeks later...

Hello,
I'm facing a similar problem at the moment. Trying to set individual series-level property using the ad-hoc Advanced Chart Formatting options. I can only address the global series properties but cannot access e.g. the first, second or third series individually.
Have you managed to get any more information on this issue?
Best regards
Phil

Link to comment
Share on other sites

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