Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用带有扩展器的 primefaces 条形图。我想获得动态滴答间隔。
我可以将 bean 变量作为扩展器中刻度间隔的值传递吗?
我怎样才能实现它?
谢谢
我从bean设置了扩展器的最大值,这是我的代码
<h:outputScript > function ext() { this.cfg.axes.xaxis= { min: 0, max:"#{myBean.maxValue}", numberTicks: 11, pad: 2, }; } </h:outputScript>