mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug#332359: use correct labels for x-axis.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13371 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fcdf57037a
commit
dc659525ce
@ -1,3 +1,8 @@
|
||||
2006-02-23 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* src/gnome-utils/gnc-html-graph-gog.c (handle_barchart): fix
|
||||
x-axis labeling. Patch from Andreas Köhler.
|
||||
|
||||
2006-02-23 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/import-export/qif-import/test/Makefile.am:
|
||||
|
@ -433,7 +433,7 @@ handle_barchart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d)
|
||||
"type", barType,
|
||||
"overlap_percentage", barOverlap,
|
||||
NULL);
|
||||
labelData = go_data_vector_str_new( (char const * const *)col_labels, datacols, NULL );
|
||||
labelData = go_data_vector_str_new((char const * const *)row_labels, datacols, NULL);
|
||||
{
|
||||
// foreach row:
|
||||
// series = row
|
||||
@ -450,8 +450,8 @@ handle_barchart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d)
|
||||
col_labels[i], i, err->message);
|
||||
}
|
||||
|
||||
g_object_ref( labelData );
|
||||
gog_series_set_dim( series, 0, labelData, NULL );
|
||||
g_object_ref(labelData);
|
||||
gog_series_set_dim(series, 0, labelData, NULL);
|
||||
go_data_emit_changed (GO_DATA (labelData));
|
||||
|
||||
sliceData = go_data_vector_val_new( data + (i*datarows), datarows, NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user