PDA

View Full Version : Pie Chart multi color label



cnhanna01
20 Dec 2011, 11:36 AM
I have a pie chart with just two sections. I want the two labels over the area to be two different colors. So far, I just have the two labels contrast. One is black the other a grey. I would rather have the grey be more of a red color instead. Is this possible.This is what my label configuration looks like:
label: { field: 'field', display: 'rotate', contrast: true, font: '13px Arial Bold' }

mitchellsimoens
20 Dec 2011, 11:44 AM
Have you tried to use the renderer function in the label object?