IXuniPalette Protocol Reference

Declared in FlexChartBase.h

Overview

Represents a chart palette.

– getColor: required method

Gets a color from the palette by index.

- (UIColor *)getColor:(NSUInteger)i

Parameters

i

Index of color in palette.

Return Value

UIColor value for the given index.

Discussion

Gets a color from the palette by index.

Declared In

FlexChartBase.h

– getColor:opacity: required method

Gets a color from the palette by index.

- (UIColor *)getColor:(NSUInteger)i opacity:(double)opacity

Parameters

i

Index of color in palette.

opacity

Opacity of color.

Return Value

UIColor value for the given index and opacity.

Discussion

Gets a color from the palette by index.

Declared In

FlexChartBase.h

– getColorLight: required method

Gets a lighter color from the palette by index.

- (UIColor *)getColorLight:(NSUInteger)i

Parameters

i

Index of color in palette.

Return Value

UIColor value for the given index.

Discussion

Gets a lighter color from the palette by index.

Declared In

FlexChartBase.h

– getColorDark: required method

Gets a darker color from the palette by index.

- (UIColor *)getColorDark:(NSUInteger)i

Parameters

i

Index of color in palette.

Return Value

UIColor value for the given index.

Discussion

Gets a darker color from the palette by index.

Declared In

FlexChartBase.h

– lighten: required method

Gets a lighter version of the specified color.

- (UIColor *)lighten:(UIColor *)color

Parameters

color

Specified UIColor value.

Return Value

Lighter UIColor value.

Discussion

Gets a lighter version of the specified color.

Declared In

FlexChartBase.h

– lighten:opacity: required method

Gets a lighter version of the specified color.

- (UIColor *)lighten:(UIColor *)color opacity:(double)opacity

Parameters

color

Specified UIColor value.

opacity

Opacity of color.

Return Value

Lighter UIColor value.

Discussion

Gets a lighter version of the specified color.

Declared In

FlexChartBase.h

– darken: required method

Gets a darker version of the specified color.

- (UIColor *)darken:(UIColor *)color

Parameters

color

Specified UIColor value.

Return Value

Darker UIColor value.

Discussion

Gets a darker version of the specified color.

Declared In

FlexChartBase.h