Help with JFreeChart overlay

前端 未结 1 463
一个人的身影
一个人的身影 2020-12-31 19:12

I\'m having an issue with a JFreeChart overlaid graph. I\'m using JFreeChart 1.0.13. What I am trying to do seems like it was easier to do in earlier versions of JFreeChart?

1条回答
  •  被撕碎了的回忆
    2020-12-31 19:40

    I see you're adding a second data set and renderer to your plot, but you're forcing them to use the same range axis. Instead, give the plot a new NumberAxis for the range of the second data set.

    As an aside, don't overlook the axis related example in the JFreeChart Demo, and don't underestimate the value of the JFreeChart Developer Guide.

    0 讨论(0)
提交回复
热议问题