Inherits from UIView
Declared in IGSparklineView.h

Overview

The xamSparkline™ is a lightweight charting control that can render the following chart types:

Line Area Column Win/Loss It is intended for rendering in a small scale layout such as a grid Cell. It can also be rendered stand alone.

Tasks

Properties

brush

The IGBrush which all will be used for positive values

@property (nonatomic, retain) IGBrush *brush

Declared In

IGSparklineView.h

dataPoints

Returns an array of IGCategoryPoint objects. (read-only)

@property (nonatomic, readonly) NSMutableArray *dataPoints

Declared In

IGSparklineView.h

dataSource

Sets the data source for the pie chart view. This can be an interface that conforms to IGSparklineViewDataSource protocol or an instance of IGSparklineViewDataSourceHelper.

@property (nonatomic, assign) id<> dataSource

Declared In

IGSparklineView.h

delegate

Sets the IGChartViewDelegate for the chart view

@property (nonatomic, assign) id<> delegate

Declared In

IGSparklineView.h

displayNormalRangeInFront

Determines if the normal range is displayed in front or behind the sparkline points.

@property (nonatomic) BOOL displayNormalRangeInFront

Declared In

IGSparklineView.h

displayType

Used to determine the type of Sparkline.

@property (nonatomic) IGSparklineDisplayType displayType

Discussion

The valid setting are:

IGSparklineDisplayTypeLine – Displays line type of chart IGSparklineDisplayTypeArea – Displays area type of chart IGSparklineDisplayTypeColumn – Displays column type of chart, same as vertical bars IGSparklineDisplayTypeWinLoss – Displays a chart visualizing Win or Loss scenario based on positive and negative values

Declared In

IGSparklineView.h

firstMarkerBrush

@property (nonatomic, retain) IGBrush *firstMarkerBrush

firstMarkerSize

@property (nonatomic) double firstMarkerSize

firstMarkerVisibility

@property (nonatomic) BOOL firstMarkerVisibility

font

The font that will be applied to the text of the sparkline

@property (nonatomic, assign) UIFont *font

Declared In

IGSparklineView.h

fontBrush

@property (nonatomic, retain) IGBrush *fontBrush

highMarkerBrush

@property (nonatomic, retain) IGBrush *highMarkerBrush

highMarkerSize

@property (nonatomic) double highMarkerSize

highMarkerVisibility

@property (nonatomic) BOOL highMarkerVisibility

horizontalAxisBrush

@property (nonatomic, retain) IGBrush *horizontalAxisBrush

horizontalAxisLabel

@property (nonatomic, retain) NSObject *horizontalAxisLabel

horizontalAxisVisibility

@property (nonatomic) BOOL horizontalAxisVisibility

lastMarkerBrush

@property (nonatomic, retain) IGBrush *lastMarkerBrush

lastMarkerSize

@property (nonatomic) double lastMarkerSize

lastMarkerVisibility

@property (nonatomic) BOOL lastMarkerVisibility

lineThickness

@property (nonatomic) double lineThickness

lowMarkerBrush

@property (nonatomic, retain) IGBrush *lowMarkerBrush

lowMarkerSize

@property (nonatomic) double lowMarkerSize

lowMarkerVisibility

@property (nonatomic) BOOL lowMarkerVisibility

markerBrush

The IGBrush which will be used for positive value markers.

@property (nonatomic, retain) IGBrush *markerBrush

Declared In

IGSparklineView.h

markerSize

@property (nonatomic) double markerSize

markerVisibility

@property (nonatomic) BOOL markerVisibility

maximum

@property (nonatomic) double maximum

minimum

@property (nonatomic) double minimum

negativeBrush

The IGBrush which will be used when rendering negative values.

@property (nonatomic, retain) IGBrush *negativeBrush

Declared In

IGSparklineView.h

negativeMarkerBrush

@property (nonatomic, retain) IGBrush *negativeMarkerBrush

negativeMarkerSize

@property (nonatomic) double negativeMarkerSize

negativeMarkerVisibility

@property (nonatomic) BOOL negativeMarkerVisibility

normalRangeBrush

@property (nonatomic, retain) IGBrush *normalRangeBrush

normalRangeMaximum

@property (nonatomic) double normalRangeMaximum

normalRangeMinimum

@property (nonatomic) double normalRangeMinimum

normalRangeVisibility

@property (nonatomic) BOOL normalRangeVisibility

theme

An object that defines a set of brushes and fonts that will be used to style the sparkline.

@property (nonatomic, retain) id<> theme

Declared In

IGSparklineView.h

tooltipPinLocation

Specifies the tooltip location.

@property (nonatomic) IGTooltipPinLocation tooltipPinLocation

Discussion

This property determines where the tooltip will be positioned. The default setting uses a floating tooltip, which follows the location of the long press. Tooltip can also be pinned to top, bottom, left, or right.

Declared In

IGSparklineView.h

trendLineBrush

@property (nonatomic, retain) IGBrush *trendLineBrush

trendLinePeriod

A value that determines the moving average period. This property only applies to the follwing trend lines: ExponentialAverage, ModifiedAverage, SimpleAverage, WeightedAverage.

@property (nonatomic) NSInteger trendLinePeriod

Declared In

IGSparklineView.h

trendLineThickness

A value that determines the thickness of the trend line.

@property (nonatomic) double trendLineThickness

Declared In

IGSparklineView.h

trendLineType

An enumeration property that determines which trend line to use.

@property (nonatomic) IGTrendLineType trendLineType

Declared In

IGSparklineView.h

unknownValuePlotting

An enumeration value that determines how empty values are handled. This property specifies whether null values are treated as zeroes, skipped over or if an interpolation is used.

@property (nonatomic) IGUnknownValuePlotting unknownValuePlotting

Declared In

IGSparklineView.h

verticalAxisBrush

@property (nonatomic, retain) IGBrush *verticalAxisBrush

verticalAxisVisibility

@property (nonatomic) BOOL verticalAxisVisibility

Instance Methods

exportVisualData

- (VisualSparklineVisualData *)exportVisualData