SChartTickStyle Class Reference

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

Overview

The style properties for tick marks

Properties

labelColor

The color for the text in labels

@property (nonatomic, retain) UIColor *labelColor

Declared In

SChartTickStyle.h

labelFont

The font for the labels

@property (nonatomic, retain) UIFont *labelFont

Declared In

SChartTickStyle.h

labelTextShadowColor

The shadow color for label text

@property (nullable, nonatomic, retain) UIColor *labelTextShadowColor

Declared In

SChartTickStyle.h

lineColor

The UIColor for the tick mark lines

@property (nonatomic, retain) UIColor *lineColor

Declared In

SChartTickStyle.h

lineLength

The length of the tick mark lines in pixels

@property (nonatomic, retain) NSNumber *lineLength

Declared In

SChartTickStyle.h

lineWidth

The width of the tick mark line in pixels

@property (nonatomic, retain) NSNumber *lineWidth

Declared In

SChartTickStyle.h

showLabels

Should labels be displayed on the major tick marks.

@property (nonatomic) BOOL showLabels

Declared In

SChartTickStyle.h

showTicks

Should tick marks be displayed on the axes.

@property (nonatomic) BOOL showTicks

Declared In

SChartTickStyle.h

textAlignment

The text alignment of the labels

@property (nonatomic, assign) NSTextAlignment textAlignment

Declared In

SChartTickStyle.h

tickGap

The gap between a tick label and its corresponding tick mark

@property (nonatomic, retain) NSNumber *tickGap

Discussion

By default, this property is set to 5.

Declared In

SChartTickStyle.h

tickLabelOrientation

The orientation of labels on major tick marks

@property (nonatomic) TickLabelOrientation tickLabelOrientation

Discussion

  • TickLabelOrientationHorizontal: Configures the orientation of the labels on major tick marks to be horizontal.
  • TickLabelOrientationDiagonal: Configures the orientation of the labels on major tick marks to be diagonal.
  • TickLabelOrientationVertical: Configures the orientation of the labels on major tick marks to be vertical.

Warning: Tick label orientation isn’t currently supported by radial charts.

Declared In

SChartTickStyle.h

Instance Methods

supplementStyleFromStyle:

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

- (void)supplementStyleFromStyle:(SChartTickStyle *)style

Declared In

SChartTickStyle.h