com.nchart3d.NChart.NChartTreeSeriesSettings Class Reference

NChartTreeSeriesSettings class provides global settings for com.nchart3d.NChart.NChartTreeSeries. More...

Inheritance diagram for com.nchart3d.NChart.NChartTreeSeriesSettings:
com.nchart3d.NChart.NChartSolidSeriesSettings com.nchart3d.NChart.NChartSeriesSettings com.nchart3d.NChart.NChartTreeMapSeriesSettings

Public Member Functions

float getMargin ()
 Margin of the tree boxes in pixels (the default value is 5). More...
 
void setMargin (float margin)
 For details see getMargin().
 
int getChildrenInLine ()
 The number of children allowed to be placed in one line. More...
 
void setChildrenInLine (int childrenInLine)
 For details see getChildrenInLine().
 
- Public Member Functions inherited from com.nchart3d.NChart.NChartSolidSeriesSettings
float getFillRatio ()
 Fill ratio for series that determines the amount of place for one series. More...
 
void setFillRatio (float fillRatio)
 For details see getFillRatio().
 
- 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

int com.nchart3d.NChart.NChartTreeSeriesSettings.getChildrenInLine ( )
inline

The number of children allowed to be placed in one line.

It is useful to reduce the width of the tree. If this number is bigger than 0, for each node, layout engine will try not to let more children in a line than the value of this property. The lines are broken so children occupy multiple of them and the tree grows vertically rather than horizontally. However, it must be noted, that this value is just a hint. Sometimes it is not possible to break a line with children, so the restriction given by this property may be violated any time. The default value is 0 (no line breaks).

Note
This property works per node. For example, if it is set to 2, it means, each node (and not the whole tree) should ideally have only two children in a line.
float com.nchart3d.NChart.NChartTreeSeriesSettings.getMargin ( )
inline

Margin of the tree boxes in pixels (the default value is 5).

This is the distance between the tree boxes.