HIColumn Class Reference

Inherits from HISeries : HIChartsJSONSerializable : NSObject
Declared in HIColumn.h

Overview

A column series. If the type option is not specified, it is inherited from chart.type.

Configuration options for the series are given in three levels:

  1. Options for all series in a chart are defined in the plotOptions.series object.

  2. Options for all column series are defined in plotOptions.column.

  3. Options for one single series are given in the series instance array.

Highcharts.chart(‘container’, {
    plotOptions: {
        series: {
            // general options for all series
        },
        column: {
            // shared options for all column series
        }
    },
    series: [{
        // specific options for this series instance
        type: ‘column’
    }]
});

  pointPadding

Padding between each column or bar, in x axis units.

@property (nonatomic, readwrite) NSNumber *pointPadding

Declared In

HIColumn.h

  borderRadius

The corner radius of the border surrounding each column or bar. A number signifies pixels. A percentage string, like for example 50%, signifies a relative size. For columns this is relative to the column width, for pies it is relative to the radius and the inner radius.

@property (nonatomic, readwrite) HIBorderRadiusOptionsObject *borderRadius

Declared In

HIColumn.h

  pointRange

The X axis range that each point is valid for. This determines the width of the column. On a categorized axis, the range will be 1 by default (one category unit). On linear and datetime axes, the range will be computed as the distance between the two closest data points. The default null means it is computed automatically, but this option can be used to override the automatic value. This option is set by default to 1 if data sorting is enabled.

@property (nonatomic, readwrite) NSNumber *pointRange

Declared In

HIColumn.h

  minPointLength

The minimal height for a column or width for a bar. By default, 0 values are not shown. To visualize a 0 (or close to zero) point, set the minimal point length to a pixel value like 3. In stacked column charts, minPointLength might not be respected for tightly packed values.

@property (nonatomic, readwrite) NSNumber *minPointLength

Declared In

HIColumn.h

  groupZPadding

The spacing between columns on the Z Axis in a 3D chart.

@property (nonatomic, readwrite) NSNumber *groupZPadding

Defaults to 1.

Declared In

HIColumn.h

  colors

A series specific or series type specific color set to apply instead of the global colors when colorByPoint is true.

@property (nonatomic, readwrite) NSArray<HIColor*> *colors

Declared In

HIColumn.h

  borderColor

The color of the border surrounding each column or bar. In styled mode, the border stroke can be set with the .highcharts-point rule.

@property (nonatomic, readwrite) HIColor *borderColor

Defaults to #ffffff.

Try it

Declared In

HIColumn.h

  edgeColor

3D columns only. The color of the edges. Similar to borderColor, except it defaults to the same color as the column.

@property (nonatomic, readwrite) HIColor *edgeColor

Declared In

HIColumn.h

  centerInCategory

When true, the columns will center in the category, ignoring null or missing points. When false, space will be reserved for null or missing points.

@property (nonatomic, readwrite) NSNumber *centerInCategory

Declared In

HIColumn.h

  maxPointWidth

The maximum allowed pixel width for a column, translated to the height of a bar in a bar chart. This prevents the columns from becoming too wide when there is a small number of points in the chart.

@property (nonatomic, readwrite) NSNumber *maxPointWidth

Try it

Declared In

HIColumn.h

  pointWidth

A pixel value specifying a fixed width for each column or bar point. When set to undefined, the width is calculated from the pointPadding and groupPadding. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.

@property (nonatomic, readwrite) NSNumber *pointWidth

Declared In

HIColumn.h

  colorByPoint

When using automatic point colors pulled from the global colors or series-specific plotOptions.column.colors collections, this option determines whether the chart should receive one color per series or one color per point. In styled mode, the colors or series.colors arrays are not supported, and instead this option gives the points individual color class names on the form highcharts-color-{n}.

@property (nonatomic, readwrite) NSNumber *colorByPoint

Defaults to false.

Try it

Declared In

HIColumn.h

  groupPadding

Padding between each value groups, in x axis units.

@property (nonatomic, readwrite) NSNumber *groupPadding

Declared In

HIColumn.h

  edgeWidth

3D columns only. The width of the colored edges.

@property (nonatomic, readwrite) NSNumber *edgeWidth

Defaults to 1.

Declared In

HIColumn.h

  depth

Depth of the columns in a 3D column chart.

@property (nonatomic, readwrite) NSNumber *depth

Defaults to 25.

Declared In

HIColumn.h

  borderWidth

The width of the border surrounding each column or bar. Defaults to 1 when there is room for a border, but to 0 when the columns are so dense that a border would cover the next column. In styled mode, the stroke width can be set with the .highcharts-point rule.

@property (nonatomic, readwrite) NSNumber *borderWidth

Defaults to undefined.

Try it

Declared In

HIColumn.h

  grouping

Whether to group non-stacked columns or to let them render independent of each other. Non-grouped columns will be laid out individually and overlap each other.

@property (nonatomic, readwrite) NSNumber *grouping

Defaults to true.

Try it

Declared In

HIColumn.h

– getParams

- (NSDictionary *)getParams