The following example shows how you can set the horizontal and vertical gaps on a Flex Legend control by setting the horizontalGap and verticalGap styles.
Full code after the jump.
Continue reading ‘Setting the horizontal and vertical gaps on a Legend control in Flex’
The following example shows how you can set the marker width and marker height on a Flex Legend control by setting the markerWidth and markerHeight styles.
Full code after the jump.
Continue reading ‘Setting the marker width and height on a Legend control in Flex’
The following example shows how you can set the label placement on a Flex Legend control by setting the labelPlacement style.
Full code after the jump.
Continue reading ‘Setting the label placement on a Legend control in Flex’
The following example shows how you can set the font weight of a Flex Charting Legend control by setting the fontWeight style on the LegendItem CSS selector.
Full code after the jump.
Continue reading ‘Setting the font weight on a charting Legend control in Flex’
The following example shows how you can change the direction of a Flex chart’s legend by setting the direction property, as seen in the following snippet:
<mx:Legend dataProvider="{lineChart}" direction="horizontal" />
Full code after the jump.
Continue reading ‘Changing a chart legend’s direction’