/usr/include/gnucash/gnc-html-graph-gog.h is in gnucash-common 1:2.4.10-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | /********************************************************************
* gnc-html_graph_gog.h -- display html with gnc special *
* tags *
* Copyright (C) 2000 Bill Gribble <grib@billgribble.com> *
* Copyright (C) 2009 Phil Longstaff <plongstaff@rogers.com> *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License*
* along with this program; if not, contact: *
* *
* Free Software Foundation Voice: +1-617-542-5942 *
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#ifndef GNC_HTML_GRAPH_GOG_H
#define GNC_HTML_GRAPH_GOG_H 1
typedef struct
{
gint width;
gint height;
const gchar* title;
const gchar* subtitle;
gint datasize;
gdouble* data;
gchar** labels;
gchar** colors;
} GncHtmlPieChartInfo;
typedef struct
{
gint width;
gint height;
const gchar* title;
const gchar* subtitle;
gint data_rows;
gint data_cols;
gdouble* data;
gchar** col_labels;
gchar** row_labels;
gchar** col_colors;
const gchar* x_axis_label;
const gchar* y_axis_label;
gboolean rotate_row_labels;
gboolean stacked;
} GncHtmlBarChartInfo;
typedef struct
{
gint width;
gint height;
const gchar* title;
const gchar* subtitle;
gint data_rows;
gint data_cols;
gdouble* data;
gchar** col_labels;
gchar** row_labels;
gchar** col_colors;
gboolean rotate_row_labels;
gboolean stacked;
gboolean markers;
gboolean major_grid;
gboolean minor_grid;
const gchar* x_axis_label;
const gchar* y_axis_label;
gint line_width;
} GncHtmlLineChartInfo;
typedef struct
{
gint width;
gint height;
const gchar* title;
const gchar* subtitle;
const gchar* x_axis_label;
const gchar* y_axis_label;
gint datasize;
gdouble* xData;
gdouble* yData;
const gchar* marker_str;
const gchar* color_str;
} GncHtmlScatterPlotInfo;
void gnc_html_graph_gog_init( void );
GdkPixbuf* gnc_html_graph_gog_create_piechart( GncHtmlPieChartInfo* info );
GdkPixbuf* gnc_html_graph_gog_create_barchart( GncHtmlBarChartInfo* info );
GdkPixbuf* gnc_html_graph_gog_create_linechart( GncHtmlLineChartInfo* info );
GdkPixbuf* gnc_html_graph_gog_create_scatterplot( GncHtmlScatterPlotInfo* info );
#endif /* GNC_HTML_GRAPH_GOG_H */
|