Adding legend to jFreechart

后端 未结 1 491
北海茫月
北海茫月 2021-01-16 03:06

I have come up with my final hysteresis plot, which looks like this:

\"enter

M

相关标签:
1条回答
  • 2021-01-16 03:44

    Because ChartFactory.createXYLineChart() creates an XYPlot, you could try setFixedLegendItems(), mentioned here and here.

    A more ambitious scheme is to suppress the native legend and render the legend items in a separate component, as shown here.

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