views:

49

answers:

1

I need to get the fillcolor from a legendItem, howerver doing

lItem.getStyle("fill") 

returns a different color than the actual legendItem marker color. Any pointers on what am I doing wrong here?

A: 

This should return to you the color of the fill. The variable type you get back from lItem.getStyle("fill") is SolidColor.

Ladislav