anmol.g.gupta Posted August 20, 2015 Share Posted August 20, 2015 i have a use case : see when we make charts in jasper we fix x axis and y axis of our chart through Textcolumnbuilder and use that variable while plotting charts. Now if user has access to database and charts can be made from any compatible fields. for example cpu_utilization is name of my table and say it has 10 columns like timestamp , avg loading time , ideal time etc etc. Now i want user using my webapp to choose axis according to his needs whether he want to see avg ideal time of cpu or avg load time... it is his choice ... so i can take his choice in a variable and pass it in charts but i dont know how to do this? whether it is possible or not ??? Link to comment Share on other sites More sharing options...
hozawa Posted August 20, 2015 Share Posted August 20, 2015 Try creating charts for each axis and switching to display based on user's choice. 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