luis.rente Posted March 10, 2021 Share Posted March 10, 2021 In JasperSoft Studio 6.12.0 I want to create a Time Series chart with on caveat. In the value axis I have 3 categories, wich all will have a name, and I need to put that name instead of the numeric value.I wanted to do it whitout having to use JavaCode. Can it be done? If not, if I have to use Java code, how to do it?Here is an example of my datasource:"status" : [ {"value": 0, "timestamp":"16:30:07"}, {"value": 0, "timestamp":"17:31:07"}, {"value": 1, "timestamp":"18:32:07"}, {"value": 1, "timestamp":"19:33:07"}, {"value": 1, "timestamp":"20:34:07"}, {"value": 1, "timestamp":"21:35:07"}, {"value": 2, "timestamp":"22:36:07"}, {"value": 0, "timestamp":"23:37:07"} ]Here is what I get with that data:Here is what I want to my graph too look like: Link to comment Share on other sites More sharing options...
darth_fader Posted March 12, 2021 Share Posted March 12, 2021 Have you explore the highcharts 'tickInterval' properties on the x / y axis? I know this is doable in general, I'm not sure if it's doable on a time series -however I bet it is. https://community.jaspersoft.com/wiki/how-change-x-and-y-axis-values-interval 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