SChartBasePointStyle Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in SChartBasePointStyle.h
Availability Standard
Premium .
Related samples

Overview

SChartBasePointStyle is the base class for all point styles in ShinobiCharts. This point style object manages the appearance of datapoint on a chart.

This base class is used for the point style in the SChartRadialLineSeriesStyle class. It is also subclassed by SChartBaselinePointStyle which every other point style class corresponds to. For more information on these other point styles see SChartBaselinePointStyle.

Tasks

Styling Properties

Properties

color

The color of the data points.

@property (nonatomic, strong, nullable) UIColor *color

Declared In

SChartBasePointStyle.h

radius

The radius of the outer section of a data point.

@property (nonatomic, strong, nullable) NSNumber *radius

Discussion

If a texture is used for a datapoint, the radius will set the size of the longest dimension of the image. The shorter of the two dimensions will update to keep aspect ratio.

Declared In

SChartBasePointStyle.h

showPoints

Defines whether points should be displayed on our chart series.

@property (nonatomic, assign) BOOL showPoints

Declared In

SChartBasePointStyle.h

texture

An image to be used for each data point. If this property is set, the image will displayed rather than the default of an inner and outer circle.

@property (nonatomic, strong, nullable) UIImage *texture

Declared In

SChartBasePointStyle.h

Instance Methods

supplementStyleFromStyle:

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

- (void)supplementStyleFromStyle:(SChartBasePointStyle *)style

Declared In

SChartBasePointStyle.h