I created a stacked bar chart using JFreeChart (si开发者_如何学JAVAmilar to this one). Now I would like to connect the points of the corresponding series for all rows. Is this possible using JFreeChart?
Although I'm not completely sure I understand what you want, I guess you might want to look into the LineAndShapeRenderer
and/or the XYLineAndShapeRenderer
classes in the JFreeChart library.
Check these (slightly dated) samples (and the related ones at the end of linked page) for what they can do and if that is what you want to achieve
JFreeChart: XYLineAndShapeRenderer Demo
FreeChart: Line Chart Demo
精彩评论