NChartScatterSeriesSettings Class Reference

Inherits from NChartSeriesSettings : NSObject
Declared in NChartScatterSeries.h

Overview

The NChartScatterSeriesSettings class provides global settings for NChartScatterSeries.

  bloomSizeFactor

Bloom size factor. The default value is 0.0 which means no bloom at all. If bigger than 1.0 (not 0.0, mind you), the bloom is applied and its actual size is calculated as a size of the point multiplied by the bloom size factor.

@property (nonatomic, assign) float bloomSizeFactor

Declared In

NChartScatterSeries.h

  bloomFallOff

Bloom falloff exponent. The default value is 3.0. This value has an effect if bloom size factor is bigger than 1.0 only. Bigger values mean faster falloff.

@property (nonatomic, assign) float bloomFallOff

Declared In

NChartScatterSeries.h

  bloomOvershot

Bloom overshot that highlights the marker brighter than its actual color. The default value is 0.0, which means no overshot. This value has an effect if bloom size factor is bigger than 1.0 only.

@property (nonatomic, assign) float bloomOvershot

Declared In

NChartScatterSeries.h

  zoomLevelToScale

Zoom level, after which to scale scatter dots. The default value is 0.0, which means no scale.

@property (nonatomic, assign) float zoomLevelToScale

Discussion

Sometimes, when displaying hundreds of thousands of datapoints, you want to show an overview with very small points, which are hard to interact with. But when user zooms in, they probably will want to be able to easily pick individual points. Also, dense clouds will get more sparse by zooming in, so the tiny dots will be barely visible. In this situation, you may want to stepwise upscale the dots to make them larger, better visible, and pickable. This property helps you with that. It defines zoom level, at which the dots will stepwise become larger. The initial zoom level is normally 1.0. So, this value is assumed to be positive. When less or equal to 0, no scaling ever happens. When less than 1.0, it will work for downscaling, not for upscaling.

Declared In

NChartScatterSeries.h

  scaleByZoom

Stepwise scale factor for corresponding zoom level. The default value is 0.0, which means no scaling.

@property (nonatomic, assign) float scaleByZoom

Discussion

See zoomLevelToScale for details about stepwise scaling. This property defines the factor to scale. It should be positive value, normally larger than 1.0, in which 1.0 means initial scale, and the new size of dots will be the old one multiplied by this property’s value. So, potentially it might be less than 1.0, and the dots will downscale. If less or equal to 0, no scaling ever happens.

Declared In

NChartScatterSeries.h