Classic Chart getting Null Paint Exception in X-Trace and Mark modes

This is our code that’s ultimately returning null and assigning it to the annotation object:
image

It looks like the call getSeriesPaint on your subclassed renderer is where the null is coming from. Try overriding getSeriesPaint in your subclass as well.

1 Like