开发者

How do I draw an outline on a specific wedge of a flex pie chart?

开发者 https://www.devze.com 2023-04-08 22:10 出处:网络
I want to have a different coloured stroke (outline) used on the pie wedge under the mouse from the outline used on the other wedges.

I want to have a different coloured stroke (outline) used on the pie wedge under the mouse from the outline used on the other wedges.

The PieSeriesItem referenced by the mouseover event doesn't have a stroke parameter, and it looks like it is an all or nothing deal with the outline colour on the whole pie.

开发者_开发百科Is there any way of specifying the stroke parameter on a specific wedge?


It looks like this is done by specifying an itemRenderer on the PieSeries. The default is the WedgeItemRenderer, so subclassing will allow overriding the line definition.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号