7
A
回答
5
實現接口將在用戶單擊圖表時爲您提供ChartMouseEvents。可以從ChartMouseEvent獲取ChartEntity,爲您提供有關點擊的具體信息。
我相信這裏有一個演示,演示如何在JFreeChart開發人員指南中捕獲圖表鼠標事件。
1
見的JFreeChart類此方法:
public BufferedImage createBufferedImage(int width, int height,
ChartRenderingInfo info)
您傳遞ChartRenderingInfo的一個實例,您可以使用後獲得使用這樣的代碼,關於各個部分的信息:
ChartEntity entity = info.getEntityCollection().getEntity(x, y);
見ChartRenderingInfo的javadoc獲取其他可用的信息。
相關問題
- 1. JFreeChart /圖表庫 - 值範圍選擇
- 2. 在jFreechart中選擇一條曲線
- 3. JFreeChart的有選擇性地呈現線
- 4. jfreechart servlet中的SQL數據庫選擇
- 5. Jfreechart - 任何選擇多個XY圖表,如多餅圖?
- 6. JFreeChart選擇多個點 - 鼠標拖動 - 套索 - Java
- 7. 如何調用JFreeChart的打印選項
- 8. JFreeChart&Image
- 9. ScatterPlotDemo-JfreeChart
- 10. JFreechart SeriesException
- 11. JFreeChart Margin
- 12. 選擇選擇
- 13. 的選擇/選項jQuery選擇:選擇
- 14. JFreeChart堆空間
- 15. Jfreechart indexoutofbounds例外
- 16. JFreeChart合併點
- 17. JFreeChart DialPlot GradientBackground
- 18. 動態Jfreechart
- 19. Eclipse RCP與JFreeChart
- 20. JFreeChart大數值
- 21. JFreeChart與SWT
- 22. 動態JFreechart
- 23. 更新jfreechart
- 24. JFreeChart - IntervalMarker垂直?
- 25. JFreeChart xAxis毫秒
- 26. JFreeChart not rescaling
- 27. JFreeChart拋出java.util.ConcurrentModificationException
- 28. JFreeChart Timeseries RegularTimePeriod
- 29. JFreeChart setDataset for XYPlot
- 30. jfreechart的與
完美工作,再次感謝 – 2009-01-22 20:50:59