Fixes #151: Chart.title.font.size = 400 -> empty space in the bootom of the chart.

This commit is contained in:
Kolan Sh 2018-01-21 19:52:48 +03:00
parent e6cad468e0
commit a3f83df580
1 changed files with 0 additions and 1 deletions

View File

@ -340,7 +340,6 @@ namespace CairoChart {
protected virtual void draw_title () { protected virtual void draw_title () {
var title_height = title.height + title.vspacing * 2; var title_height = title.height + title.vspacing * 2;
evarea.y0 += title_height; evarea.y0 += title_height;
evarea.height -= title_height;
color = title.color; color = title.color;
ctx.move_to (area.width/2 - title.width/2, title.height + title.vspacing); ctx.move_to (area.width/2 - title.width/2, title.height + title.vspacing);
title.show(); title.show();