所以我從2.2升級到Primefaces 3.0以使用新的圖表。但是,格式化軸和工具提示的功能不再存在。有沒有辦法讓我可以到達jqplot的圖表並改變它們?舊的2.2版本有dataTipFunction。感謝你給與我的幫助。看來很多人和我有同樣的問題。jqplot和primefaces
0
A
回答
0
我認爲你可以使用extender屬性添加到primefaces(3.4-Snapshot)的最新快照 我沒有嘗試過自己,但我認爲你可以使用extender屬性來做到這一點。
+0
謝謝。由於3.0的各種問題,我最終退出並轉向2.2版本。如果我確實回到3.4版,我會嘗試。 – Binh 2012-06-25 12:37:18
1
擴展器屬性爲我工作。這裏是我做到了
<script type="text/javascript" >
function open() {
this.cfg.axes = {
xaxis: {
showTicks: false
}
};
</script>
我的線型圖這個樣子 -
<pf:lineChart id="TraceJobChart"
value="#{tracejobsController.getChartForDialog()}"
legendPosition=""
yaxisLabel="Traffic"
xaxisLabel="Time"
zoom="true"
extender="open"
showMarkers="true"
shadow="true"
seriesColors="ff0000"
style="height:200px; width: 100%" />
,我可以用線型圖中的其他選項在這個網站中給出。
希望這有助於。
相關問題
- 1. Primefaces圖表+ jqplot擴展器 - 在擴展與jqplot選項y軸
- 2. jqplot和寬度
- 3. jqPlot with DateAxisRenderer和ajax
- 4. PrimeFaces和Spring
- 5. Primefaces 1.1和jsf1.2
- 6. 在jqPlot
- 7. jQplot dragable
- 8. 在JqPlot
- 9. PrimeFaces dinamic CommandButtons和ContextMenu
- 10. JSF和PrimeFaces策略
- 11. Primefaces編輯和JQuery
- 12. Primefaces嚮導和selectOneRadio
- 13. 如何使用Primefaces jQplot實現禁用單個系列上的堆疊
- 14. 使用Jqplot和ajax的MultiLine圖形
- 15. jqplot和使用asp.net mvc模型呈現
- 16. JQPLOT和JQRangeSlider不能一起工作
- 17. jqplot和圖例選項問題
- 18. jqplot:分隔刻度和系列值
- 19. jqPlot調整
- 20. JQPlot印刷
- 21. jqPlot「stacked」y-axis
- 22. jqplot - x軸
- 23. 重繪jqPlot
- 24. jqPlot圖像
- 25. jqplot面積圖
- 26. Primefaces selectOneMenu更新outputLabel和inputText
- 27. JSF h:outputScript排序和PrimeFaces jQuery
- 28. PrimeFaces佈局和h:形式
- 29. PrimeFaces 3.5和DataTables(多選)
- 30. PrimeFaces和org.tuckey urlrewrite過濾器
只是想跟進,我無法弄清楚如何從primefaces得到jqplot句柄,所以我最終創建了jqplot我自己。好吧!!!工作也一樣。 – Binh 2012-02-21 20:34:04