Tag Archive for 'linearaxis'

15
Nov

Creating a custom label function on a Flex LineChart control’s linear axis

The following example shows how you can create a custom label function on a LinearAxis in a Flex LineChart control.

For an example of creating a custom label function for the horizontal/category axis, check out “Creating a custom label function on a Flex LineChart control’s category axis”.

Full code after the jump.

Continue reading ‘Creating a custom label function on a Flex LineChart control’s linear axis’

12
Nov

Controlling whether a LineChart should set its base value at zero

The following example creates a simple LineChart in Flex 3 and lets you toggle the baseAtZero property which controls whether the minimum or maximum chart value should be set to zero. Since a sample is worth 1000 words, read on.

Full code after the jump.

Continue reading ‘Controlling whether a LineChart should set its base value at zero’