jqplot - primefaces barchart extender how to set tick interval dynamically -


i using primefaces bar chart extender. want dynamic tick intervals.

can pass bean variable value tick interval in extender?

how can achieve it?

thanks

i set max value of extender bean , code

<h:outputscript >        function ext() {             this.cfg.axes.xaxis= {                       min: 0,                       max:"#{mybean.maxvalue}",                      numberticks: 11,                      pad: 2,             };  }  </h:outputscript> 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -