Tag Archive for 'calloutstroke'

10
Nov

Customizing callout strokes in a Flex PieChart control

The following example shows how you can customize the callout stroke in a Flex PieChart control by using the PieSeries class’s calloutStroke style and the mx.graphics.Stroke class, as seen in the following snippet:

<mx:PieChart dataProvider="{dp.product}" height="250" width="100%">
    <mx:series>
        <mx:PieSeries id="pieSeries" field="@data">
            <mx:calloutStroke>
                <mx:Stroke color="black"weight="2" />
            </mx:calloutStroke>
            <mx:filters>
                <mx:Array />
            </mx:filters>
        </mx:PieSeries>
    </mx:series>
</mx:PieChart>

To see an example of changing the stroke around the pie chart itself, see “Customizing strokes in a Flex PieChart control”.

Full code after the jump.

Continue reading ‘Customizing callout strokes in a Flex PieChart control’




December 2008
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
293031  

Badge Farm

  • Firefox 2
  • Powered by Redoable 1.2
  • Feeds burnt by Feedburner
  • Feed