com.nchart3d.NChart.NChartFunnelSeriesSettings Class Reference

The NChartFunnelSeriesSettings class provides global settings for com.nchart3d.NChart.NChartFunnelSeries. More...

Inheritance diagram for com.nchart3d.NChart.NChartFunnelSeriesSettings:
com.nchart3d.NChart.NChartSeriesSettings

Public Member Functions

float getGapSum ()
 The sum of gaps between the points in the funnel chart in interval [0, 1]. More...
 
void setGapSum (float gapSum)
 For details see getGapSum().
 
int getResolution ()
 The resolution of funnel. More...
 
void setResolution (int resolution)
 For details see getResolution().
 
boolean shouldSmooth ()
 Flag that determines if funnel should appear smooth (true) of faced (false). More...
 
void setShouldSmooth (boolean shouldSmooth)
 For details see shouldSmooth().
 
- Public Member Functions inherited from com.nchart3d.NChart.NChartSeriesSettings
 NChartSeriesSettings ()
 Create instance of settings.
 
boolean isRudimentEnabled ()
 Flag determining if rudiment is allowed. More...
 
void setRudimentEnabled (boolean isRudimentEnabled)
 For details see isRudimentEnabled().
 

Detailed Description

Member Function Documentation

float com.nchart3d.NChart.NChartFunnelSeriesSettings.getGapSum ( )
inline

The sum of gaps between the points in the funnel chart in interval [0, 1].

The default value is 0.


Actual gap between the points is calculated as gapSum / (countOfPoints - 1) and 1 corresponds to the height of the chart's plot area.

int com.nchart3d.NChart.NChartFunnelSeriesSettings.getResolution ( )
inline

The resolution of funnel.

Resolution is the amount of vertices that build the circle. For example if you want to get a square funnel, you should set resolution to 4. If you want to get a cylindrical funnel, you may set a larger value. But the larger is the resolution, the more memory is used and the slower the rendering will be, so you should find out the minimal acceptable value. A good value for funnel is 80 or 160.
The default value is 120.
This value cannot be less than 3 and greater than 360.

boolean com.nchart3d.NChart.NChartFunnelSeriesSettings.shouldSmooth ( )
inline

Flag that determines if funnel should appear smooth (true) of faced (false).

Generally if you specify low resolution when the individual faces are still visible, it is a good idea to have funnel faced and vice versa.
The default value is false.
If funnel are faced, it consumes more memory than if they don't by the same resolution.

See also
getResolution()