Fixes #151: Chart.title.font.size = 400 -> empty space in the bootom of the chart.
This commit is contained in:
parent
e6cad468e0
commit
a3f83df580
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue