SChartPixelToPointMapping Class Reference

Inherits from NSObject
Declared in SChartPixelToPointMapping.h
Availability
Related samples

Overview

A tuple of pixel-point, series and datapoint, used for passing information about a closest-point and series back from a SChartPixelToPointMapper

Tasks

Properties

dataPoint

The datapoint belonging to series.

@property (nonatomic, strong) id<SChartData> dataPoint

Declared In

SChartPixelToPointMapping.h

pixelPoint

The pixel point, in chart coordinates.

@property (nonatomic, assign) CGPoint pixelPoint

Discussion

This is the “suggested point”.

For example, on line series this point will be the interpolated position where a trigger point intersects the line.

On a multiseries column or bar this will be offset so the point is positioned above the correct column / to the side of the correct bar.

Declared In

SChartPixelToPointMapping.h

series

The series that dataPoint belongs to.

@property (nonatomic, strong) SChartMappedSeries *series

Declared In

SChartPixelToPointMapping.h