dstevens_2 Posted March 26, 2018 Share Posted March 26, 2018 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 More sharing options...
Friendly User Posted March 27, 2018 Share Posted March 27, 2018 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-samplesSome 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 More sharing options...
dstevens_2 Posted March 27, 2018 Author Share Posted March 27, 2018 Thank you for these samples. The code is really useful. Does this mean individual series-level properties cannot be set through Server Advanced chart formatting, only through studio? Link to comment Share on other sites More sharing options...
philip.moston Posted April 10, 2018 Share Posted April 10, 2018 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 regardsPhil 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