private float drawHorizontalBar(float top, BarChartItem item)
{
var barValue = (((float)item.Value * 100f / (float)_maxValueItem.Value)) * (ChartWidth - _leftMargin - Margin - Margin) / 100f;
_template.SetColorStroke(HorizontalBarBorderColor);
_template.SetLineWidth(HorizontalBarBorderLineWidth);
_template.SetColorFill(item.Color);
_template.Rectangle(_leftMargin + Margin, top, barValue, BarWidth);
_template.FillStroke();
return barValue;
}