dtrobert Posted March 11, 2009 Share Posted March 11, 2009 Hi, I am plotting % Free Memory over time for servers and it works fine. I would like to instead plot the inverse (% Used Memory) over time. I have a timeseries chart with value expression a variable $V{averageMem} defined as a java.lang.Integer. I figured I could just do thisnew java.lang.Integer( 100 -($V{averageMem}.intValue()) )to plot the inverse but no joy. Instead, I get this error Cannot cast from int to Integer value = (java.lang.Integer)(100) Any suggestions?Thanks Link to comment Share on other sites More sharing options...
rreganjr Posted January 14, 2010 Share Posted January 14, 2010 new java.lang.Integer( new java.lang.Integer(100).intValue() -($V{averageMem}.intValue()) ) 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