1

I am trying to apply the solution found at here, but when I try to run it in IntelliJ, a couple of the XYItemRenderer methods like setBaseItemLabelGenerator, setBaseItemLabelPaint, setBasePositiveItemLabelPosition, etc are not found. I know I imported the right class because the declaration of the renderer is without issue. What else could I be missing that is causing the issue? My modules are managed using Maven and I am using JFreeChart 1.5.2.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
Zikora
  • 13
  • 2

1 Answers1

1

The example cited dates to 2013, when JFreeChart version 1.0.17 was extant. As noted here and here, beginning with version 1.5.0, "many methods getBaseXXX() / setBaseXXX() have been renamed setDefaultXXX() / getDefaultXXX()". For reference, version 1.5.3 is the current release. More with regard to modules in the development release may be found here.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045