Add a rendering parameter to ag_chart_create_svg()

Based upon this parameter a <rect> is included in the resulting SVG
document, providing a background color, and so is the chart CSS.
This commit is contained in:
2014-09-17 11:22:17 +02:00
parent 2cf75ede55
commit 7fe6a16401
5 changed files with 44 additions and 7 deletions

View File

@@ -496,6 +496,7 @@ ag_window_redraw_chart(AgWindow *window)
gchar *svg_content = ag_chart_create_svg(
priv->chart,
&length,
FALSE,
&err
);