private void drawLabel(PieChartSegment segment)
{
_template.SetColorStroke(segment.Color);
_template.SetColorFill(segment.Color);
_template.Rectangle(_circleCenterX0 + Radius + Margin, _labelY, BulletWidth, BulletHeight);
_template.FillStroke();
ColumnText.ShowTextAligned(
canvas: _template,
alignment: Element.ALIGN_LEFT,
phrase: PdfFont.FontSelector.Process(segment.Label),
x: _circleCenterX0 + Radius + (2 * Margin),
y: _labelY,
rotation: 0,
runDirection: (int)Direction,
arabicOptions: 0);
_labelY -= _labelRowsGap;
}