LibreOffice Module chart2 (master) 1
Public Member Functions | Public Attributes | List of all members
chart::PieChart::ShapeParam Struct Reference

Public Member Functions

 ShapeParam ()
 

Public Attributes

double mfUnitCircleStartAngleDegree
 the start angle of the slice More...
 
double mfUnitCircleWidthAngleDegree
 the angle width of the slice More...
 
double mfUnitCircleOuterRadius
 the normalized outer radius of the ring the slice belongs to. More...
 
double mfUnitCircleInnerRadius
 the normalized inner radius of the ring the slice belongs to More...
 
double mfExplodePercentage
 relative distance offset of a slice from the pie center; this parameter is used for instance when the user performs manual dragging of a slice (the drag operation is possible only for slices that belong to the outer ring and only along the ray bisecting the slice); the value for the given entry in the data series is obtained by the Offset property attached to each entry; note that the value provided by the Offset property is used both as a logical value in PiePositionHelper::getInnerAndOuterRadius and as a percentage value in the PieChart::createDataPoint and PieChart::createTextLabelShape methods; since the logical height of a ring is always 1, this duality does not cause any incorrect behavior; More...
 
double mfLogicYSum
 sum of all Y values in a single series More...
 
double mfLogicZ
 for 3D pie chart: label z coordinate More...
 
double mfDepth
 for 3D pie chart: height More...
 

Detailed Description

Definition at line 50 of file PieChart.cxx.

Constructor & Destructor Documentation

◆ ShapeParam()

chart::PieChart::ShapeParam::ShapeParam ( )
inline

Definition at line 94 of file PieChart.cxx.

Member Data Documentation

◆ mfDepth

double chart::PieChart::ShapeParam::mfDepth

for 3D pie chart: height

Definition at line 92 of file PieChart.cxx.

Referenced by chart::PieChart::createDataPoint(), and chart::PieChart::createShapes().

◆ mfExplodePercentage

double chart::PieChart::ShapeParam::mfExplodePercentage

relative distance offset of a slice from the pie center; this parameter is used for instance when the user performs manual dragging of a slice (the drag operation is possible only for slices that belong to the outer ring and only along the ray bisecting the slice); the value for the given entry in the data series is obtained by the Offset property attached to each entry; note that the value provided by the Offset property is used both as a logical value in PiePositionHelper::getInnerAndOuterRadius and as a percentage value in the PieChart::createDataPoint and PieChart::createTextLabelShape methods; since the logical height of a ring is always 1, this duality does not cause any incorrect behavior;

Definition at line 80 of file PieChart.cxx.

Referenced by chart::PieChart::createDataPoint(), chart::PieChart::createShapes(), and chart::PieChart::createTextLabelShape().

◆ mfLogicYSum

double chart::PieChart::ShapeParam::mfLogicYSum

sum of all Y values in a single series

Definition at line 84 of file PieChart.cxx.

Referenced by chart::PieChart::createShapes(), and chart::PieChart::createTextLabelShape().

◆ mfLogicZ

double chart::PieChart::ShapeParam::mfLogicZ

◆ mfUnitCircleInnerRadius

double chart::PieChart::ShapeParam::mfUnitCircleInnerRadius

the normalized inner radius of the ring the slice belongs to

Definition at line 66 of file PieChart.cxx.

Referenced by chart::PieChart::createDataPoint(), chart::PieChart::createShapes(), and chart::PieChart::createTextLabelShape().

◆ mfUnitCircleOuterRadius

double chart::PieChart::ShapeParam::mfUnitCircleOuterRadius

the normalized outer radius of the ring the slice belongs to.

Definition at line 62 of file PieChart.cxx.

Referenced by chart::PieChart::createDataPoint(), chart::PieChart::createShapes(), chart::PieChart::createTextLabelShape(), and chart::PieChart::performLabelBestFitInnerPlacement().

◆ mfUnitCircleStartAngleDegree

double chart::PieChart::ShapeParam::mfUnitCircleStartAngleDegree

◆ mfUnitCircleWidthAngleDegree

double chart::PieChart::ShapeParam::mfUnitCircleWidthAngleDegree

The documentation for this struct was generated from the following file: