SChartSeriesCrosshairTooltipStylerProtocol Protocol Reference

Conforms to NSObject
Declared in SChartSeriesCrosshairTooltipStylerProtocol.h
Availability
Related samples

Overview

A class conforming to this protocol is responsible for styling the tooltip.

Instance Methods

applyStyleToTooltip:basedOnSeries:forDatapoint:

Style the tooltip.

- (void)applyStyleToTooltip:(SChartSeriesCrosshairTooltip *)tooltip basedOnSeries:(SChartMappedSeries *)series forDatapoint:(id<SChartData>)datapoint

Parameters

tooltip

The tooltip which will be styled

series

The series currently being tracked by the crosshair

datapoint

The datapoint the tooltip is currently pointing to

Discussion

This method could simply use properties from [SChartSeriesCrosshairTooltip style] or even extract attributes from the currently tracked series.

Declared In

SChartSeriesCrosshairTooltipStylerProtocol.h