IGBarSeries Class Reference

Inherits from IGVerticalAnchoredCategorySeries : IGAnchoredCategorySeries : IGMarkerSeries : IGSeries : NSObject
Declared in Series.h

Overview

IGBarSeries displays horizontal rectangular bars, with string labels along the Y axis and numeric values along the X axis. This series uses IGCategoryYAxis and IGNumericXAxis. The data source for this series is a collection of single value, single label points. IGCategorySeriesDataSourceHelper can be used as the data source for IGBarSeries.

Multiple series of the IGBarSeries type that share the same Y axis are rendered in clusters where each cluster represents a data point. The first series in the series collection of the IGChartView control renders as a bar on the bottom of the cluster. Each successive series gets rendered at the top of the previous series. However, if series do not share the Y axis, they are rendered in layers with each successive series rendered in front of the previous one.

Markers, when enabled, are placed in the middle of the bar’s right side.

  radiusX

Determines the x component of the rounded rectangle corners. The default value is 0. When set to 0, the corners will not be rounded. The minimum value for this property should be 0. The maximum value has no upper bound, but will have no effect after the corner has attained its most circular shape and depends on the size of the bar.

@property (nonatomic) CGFloat radiusX

Declared In

Series.h

  radiusY

Determines the y component of the rounded rectangle corners. The default value is 0. When set to 0, the corners will not be rounded. The minimum value for this property should be 0. The maximum value has no upper bound, but will have no effect after the corner has attained its most circular shape and depends on the size of the bar.

@property (nonatomic) CGFloat radiusY

Declared In

Series.h

  roundedCorners

Determines which corners should be rounded. This property can be set to show rounded corners at the base of the series, at the peak of the series or for all corners. The corner radius is determined by radiusX and radiusY properties.

@property (nonatomic) IGRoundedCorners roundedCorners

Declared In

Series.h