Commit 86470be7 authored by Jean Bréfort's avatar Jean Bréfort Committed by Jean Bréfort

correctly import error bars for line plots (#309457).

2005-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_read): correctly import error bars
	for line plots (#309457).
parent 4f2275c4
2005-07-04 Jean Brefort <jean.brefort@normalesup.org>
* ms-chart.c: (ms_excel_chart_read): correctly import error bars
for line plots (#309457).
2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
* ms-chart.c: (axislineformat): import axis grids,
......
......@@ -51,7 +51,7 @@ gint ms_excel_read_debug = 0;
gint ms_excel_pivot_debug = 0;
gint ms_excel_escher_debug = 0;
gint ms_excel_formula_debug = 0;
gint ms_excel_chart_debug = 0;
gint ms_excel_chart_debug = 20;
gint ms_excel_write_debug = 0;
gint ms_excel_object_debug = 0;
......
......@@ -2919,8 +2919,8 @@ ms_excel_chart_read (BiffQuery *q, MSContainer *container, MsBiffVersion ver,
G_OBJECT_GET_CLASS (parent->series), "errors");
prop_name = (pspec)? "errors": NULL;
msdim = (series->err_type < 3)?
GOG_MS_DIM_TYPES + series->err_type + 2:
GOG_MS_DIM_TYPES + series->err_type;
GOG_MS_DIM_TYPES + series->err_type:
GOG_MS_DIM_TYPES + series->err_type - 2;
} else {
msdim = (series->err_type < 3)?
GOG_MS_DIM_TYPES + series->err_type + 2:
......@@ -2933,6 +2933,7 @@ ms_excel_chart_read (BiffQuery *q, MSContainer *container, MsBiffVersion ver,
GOG_ERROR_BAR_DISPLAY_NEGATIVE;
if (!series->err_teetop)
error_bar->width = 0;
error_bar->style = gog_style_dup (series->style);
switch (series->err_src) {
case 1:
/* percentage */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment