Category Archives: PieChart

Setting the font weight on the MX Legend control in Flex 4

In a previous example, “Setting the font weight on a charting Legend control in Flex”, we saw how you could set the font weight of a Flex Charting Legend control by setting the fontWeight style on the LegendItem CSS selector.

The following example shows how you can set the font weight of an MX Legend control by setting the fontWeight style on the LegendItem CSS selector in Flex 4.

Continue reading Setting the font weight on the MX Legend control in Flex 4

Toggling data tip targets on a PieChart in Flex

In a previous example, “Toggling data tips on a PieChart in Flex”, we saw how you could toggle data tips on a Flex PieChart control by setting the showDataTips property.

The following example shows how you can toggle data tip targets on a Flex PieChart control by setting the showDataTipTargets style.

Full code after the jump.

Continue reading Toggling data tip targets on a PieChart in Flex

Animating a Flex PieChart control’s rotation when a user clicks on an item

In a previous example, “Rotating a Flex PieChart control when a user clicks on an item”, we looked at changing a PieChart’s rotation when the user clicked on a pie wedge. In the following example, we look at how to add a nice animation effect with some easing to make the effect a bit more smooth.

Full code after the jump.

Continue reading Animating a Flex PieChart control’s rotation when a user clicks on an item