I'm trying to overwrite the method getitempaint, like you show in this forum, but it returns a NullPointerExeption when I try to access the getValue of the dataset. I'm using the ChartFactory.createLineChart to create a 2D Shape chart. It's OK when I use the default renderer.