Draw XXL documentation


aPieChartDrawing.segmentSorting

Defines in which order the pie segments are ordered. It works in combination with angleDegCCfromUp_whereMainSegmentStarts, which defines where the first segment starts.

Name Description
decreasingSize_clockwise The biggest segment starts at "angleDegCCfromUp_whereMainSegmentStarts", then the segments get smaller when going clockwise. This has the advantage that the segments are ordered by size, but they may confusingly jump around when they change their size.
decreasingSize_counterClockwise The biggest segment starts at "angleDegCCfromUp_whereMainSegmentStarts", then the segments get smaller when going counter clockwise
creationOrder_clockwise The segment that was created earliest, that means to which a value was added first starts at "angleDegCCfromUp_whereMainSegmentStarts" and then the later segments appear clockwise. This has the advantage that the segments don't jump around changing their position when they change their size.
creationOrder_counterClockwise The segment that was created earliest, that means to which a value was added first starts at "angleDegCCfromUp_whereMainSegmentStarts" and then the later segments appear counter clockwise This has the advantage that the segments don't jump around changing their position when they change their size.