How to display filtered data in JFreeChart

霸气de小男生 提交于 2019-11-28 12:26:56

问题


My problem is that I cannot display data which is filtered by date from database in JFreeChart. Filtering from database works fine, and it is showed on the console. But how to insert that data into series in dataset. I am still trying to solve this problem. I hope you guys can help.


回答1:


You might look at JDBCXYDataset, which can detect a time series based on metadata. Click on the class name to see the corresponding source, for example.



来源:https://stackoverflow.com/questions/15997251/how-to-display-filtered-data-in-jfreechart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!