NChartBubbleSeriesSettings Class Reference

Inherits from NChartSeriesSettings : NSObject
Declared in NChartBubbleSeries.h

Overview

The NChartBubbleSeriesSettings class provides global settings for NChartBubbleSeries.

  gasSimulationIterations

Maximal number of iterations in the quasi-physical gas simulation algorithm. The default value is 300. Increase this value, if you want bubbles to wiggle longer. Decrease this value, if you want them to stop sooner. Note: this value does not affect the performance of a single frame rendering, but it affects the number of frames chart draws over time. So, bigger numbers can increase the energy consumption of your app.

@property (nonatomic, assign) int gasSimulationIterations

Declared In

NChartBubbleSeries.h

  gasSimulationRepulsionFactorX

Repulsion factor in X direction of quasi-physical gas simulation algorithm. The default value is 1. The X component of repulsion force is multiplied by this value, so if you want bubbles not to be distributed along the X axis, decrease this value, for example to 0.1.

@property (nonatomic, assign) float gasSimulationRepulsionFactorX

Declared In

NChartBubbleSeries.h

  gasSimulationRepulsionFactorY

Repulsion factor in Y direction of quasi-physical gas simulation algorithm. The default value is 1. The Y component of repulsion force is multiplied by this value, so if you want bubbles not to be distributed along the Y axis, decrease this value, for example to 0.1.

@property (nonatomic, assign) float gasSimulationRepulsionFactorY

Declared In

NChartBubbleSeries.h

  gasSimulationRepulsionFactorZ

Repulsion factor in Z direction of quasi-physical gas simulation algorithm. The default value is 1. The Z component of repulsion force is multiplied by this value, so if you want bubbles not to be distributed along the Z axis, decrease this value, for example to 0.1.

@property (nonatomic, assign) float gasSimulationRepulsionFactorZ

Declared In

NChartBubbleSeries.h

  gasSimulationRepulsionFactorW

General repulsion factor of quasi-physical gas simulation algorithm. The default value is 1. If you want bubbles to fly apart, increase this value, otherwise decrease it to make them stick together more tightly.

@property (nonatomic, assign) float gasSimulationRepulsionFactorW

Declared In

NChartBubbleSeries.h