Menu

#311 Implement AbstractRenderer#setPaintList(...)

open
General (246)
5
2006-08-03
2006-05-09
sarcan
No

Hi,

it seems that no setter (and getter) method for the
paintList property of AbstractRenderer exists.
Configuring the renderer to use a set of colors by
invoking setSeriesPaint(...) can become quite tiresome
having 10 to 15 series painted if you want to use a
custom color model.

Discussion

  • David Gilbert

    David Gilbert - 2006-08-03
    • assigned_to: nobody --> mungady
     
  • David Gilbert

    David Gilbert - 2006-08-03

    Logged In: YES
    user_id=112975

    I don't want to expose the paintList itself, that would
    allow updates to be made without the renderer passing on the
    required notification (RendererChangeEvent). It might be
    possible to add a setSeriesPaint(Paint[] paints) method -
    would that suit your requirement? I have to admit it still
    seems a little unnecessary to me...

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     

Log in to post a comment.