SChartMajorGridlineStyle Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in SChartMajorGridlineStyle.h
Availability
Related samples

Overview

Style properties for the major grid lines.

Properties

dashStyle

The dash pattern of the line.

@property (nonatomic, retain) NSArray<NSNumber *> *dashStyle

Discussion

An array of pixel lengths for each adjacent section. The pattern will wrap if the line needs more segments than provided.

Declared In

SChartMajorGridlineStyle.h

dashedMajorGridLines

Should the lines be dashed

@property (nonatomic, assign) BOOL dashedMajorGridLines

Declared In

SChartMajorGridlineStyle.h

lineColor

The UIColor of the grid lines

@property (nonatomic, retain) UIColor *lineColor

Declared In

SChartMajorGridlineStyle.h

lineRenderMode

Whether x-axis lines and y-axis grid lines on radial charts should be curved or straight.

@property (nonatomic, assign) SChartRadialLineRenderMode lineRenderMode

Discussion

By default, this is set to SChartRadialLineRenderModeCurved.

  • SChartRadialLineRenderModeCurved: Lines are drawn as an arc.
  • SChartRadialLineRenderModeLinear: Lines are drawn as straight lines between tick frequencies, in a “spider-web” style

Declared In

SChartMajorGridlineStyle.h

lineWidth

The width in pixels of the grid lines

@property (nonatomic, retain) NSNumber *lineWidth

Declared In

SChartMajorGridlineStyle.h

showMajorGridLines

Show grid lines from the major tick marks

@property (nonatomic, assign) BOOL showMajorGridLines

Declared In

SChartMajorGridlineStyle.h

Instance Methods

supplementStyleFromStyle:

Supplements this style object by taking styles this object doesn’t have, from the argument, style

- (void)supplementStyleFromStyle:(SChartMajorGridlineStyle *)style

Declared In

SChartMajorGridlineStyle.h