private void initValues()
{
_startAngle = 0;
_endAngle = 0;
_circleRadius = Radius + 0.5f;
_circleCenterX0 = _circleRadius + Margin;
_labelRowsGap = getMaxTextHeight() * 1.5f;
_labelY = (Segments.Count() * _labelRowsGap) + (2 * Margin);
_initialChartWidth = getMaxTextWidth() + _circleCenterX0 + Radius + Margin + BulletWidth + (2 * Margin);
_initialChartHeight = _labelY + (2 * Margin);
var circleHeight = ((2 * _circleRadius) + (2 * Margin));
if (circleHeight > _initialChartHeight)
{
_initialChartHeight = circleHeight;
}
_circleCenterY0 = _initialChartHeight / 2;
}