Draw XXL documentation


PieChartDrawing

This site describes the usage of pie charts. In code they are named "PieChartDrawing". You can use the premade ones from the DrawCharts wrapper class or create your own.

Using pie charts is a two-step-process.

Return Type Function
constructor PieChartDrawing()
public void Draw()
public void DrawScreenspace()
public void AddValue()
public void AddValueToAllSegments()
public void AddValues_eachIndexIsASegment()
public void IncrementValue()
public void IncrementValuesOfAllSegments()
public void IncrementValues_eachIndexIsASegment()
public void DecrementValue()
public void DecrementValuesOfAllSegments()
public void DecrementValues_eachIndexIsASegment()
public void SetValue()
public void SetValueToAllSegments()
public void SetValues_eachIndexIsASegment()
public void Clear()


Type Setting
RotationSource rotationSource
Quaternion fixedRotation
Vector3 Position_worldspace
float Size_ofPieCircleDiameter
Vector2 position_inCamViewportspace
float Size_ofPieCircleDiameter_relToCamViewport
SegmentSorting segmentSorting
float angleDegCCfromUp_whereMainSegmentStarts
string Title
string subTitle
float LuminanceOfSegmentColors
Color color
float postDecimalPositions_ofPercentageDisplay
float PercentageThreshold_belowWhichSegmentsGetCombinedInto_othersSection
bool mentionZeroSegmentsInLegend
bool showSegmentNames
bool showSegmentValues
bool showSegmentPercentages