gnumeric r16806 - trunk/src/tools



Author: guelzow
Date: Thu Sep 18 04:59:46 2008
New Revision: 16806
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16806&view=rev

Log:
2008-09-17  Andreas J. Guelzow <aguelzow pyrshep ca>

	* analysis-histogram.c (analysis_tool_histogram_engine_run): set the 
	  x-axis numbering style to avoid the histogram to pick the "";"" style.




Modified:
   trunk/src/tools/ChangeLog
   trunk/src/tools/analysis-histogram.c

Modified: trunk/src/tools/analysis-histogram.c
==============================================================================
--- trunk/src/tools/analysis-histogram.c	(original)
+++ trunk/src/tools/analysis-histogram.c	Thu Sep 18 04:59:46 2008
@@ -366,6 +366,16 @@
 			gog_series_set_dim (series, 1, values, NULL);
 		}
 		g_object_unref (limits);
+
+		if (info->chart == HISTOGRAM_CHART) {
+			GogObject *axis;
+		        axis = gog_object_get_child_by_name (GOG_OBJECT (chart), "X-Axis");
+			go_object_set_property (G_OBJECT (axis), "assigned-format-string-XL",
+						"X-Axis Format", "0.0EE0",
+						NULL, NULL);
+		}
+
+		
 		
 		so = sheet_object_graph_new (graph);
 		g_object_unref (graph);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]