Add PNG save support
This commit is contained in:
@@ -2039,6 +2039,15 @@ ag_chart_export_jpg_to_file(AgChart *chart,
|
||||
ag_chart_export_to_image(chart, file, theme, "jpeg", err);
|
||||
}
|
||||
|
||||
void
|
||||
ag_chart_export_png_to_file(AgChart *chart,
|
||||
GFile *file,
|
||||
AgDisplayTheme *theme,
|
||||
GError **err)
|
||||
{
|
||||
ag_chart_export_to_image(chart, file, theme, "png", err);
|
||||
}
|
||||
|
||||
void
|
||||
ag_chart_set_note(AgChart *chart, const gchar *note)
|
||||
{
|
||||
|
Reference in New Issue
Block a user