You need to sign in to do that
Don't have an account?
John Upton 8
How to dynamically set Minimum and Maximum on Gauge Charts
I have created a visualforce chart along the line of this one: http://www.infallibletechie.com/2013/02/pie-chart-and-bar-chart-using-apex-in.html. However I also wish to be able to set the values for Minimun and Maximum based on other fields in the Member__c object. I tried simply setting
but get the error "Visualforce Error. Unable to convert value 'data' to type 'Integer' for attribute 'minimum' "
Can anyone suggest a different approach?
minimum="data"
but get the error "Visualforce Error. Unable to convert value 'data' to type 'Integer' for attribute 'minimum' "
Can anyone suggest a different approach?
Best Answer chosen by John Upton 8
John Upton 8
I worked out how to do this myself in the end by creating a method within the controller which I could then use to retrieve values from the database.