From 0428dac8a219d451d90110275ac72270edf6c155 Mon Sep 17 00:00:00 2001 From: joye Date: Wed, 19 Feb 2014 19:02:23 +0000 Subject: *** empty log message *** --- src/bltGrElemBar.C | 2 +- src/bltGraph.C | 6 +++--- tests/base.tcl | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C index 94d52e7..21ba7a7 100644 --- a/src/bltGrElemBar.C +++ b/src/bltGrElemBar.C @@ -2360,7 +2360,7 @@ void Blt_ComputeBarStacks(Graph *graphPtr) { Blt_ChainLink link; - + printf("mode: %d groups: %d\n", graphPtr->mode, graphPtr->nBarGroups); if ((graphPtr->mode != BARS_STACKED) || (graphPtr->nBarGroups == 0)) { return; } diff --git a/src/bltGraph.C b/src/bltGraph.C index 6bb5d9d..dce2c07 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -92,12 +92,12 @@ static const char* objectClassNames[] = { #define DEF_GRAPH_JUSTIFY "center" #define DEF_GRAPH_MARGIN "0" #define DEF_GRAPH_MARGIN_VAR NULL -#define DEF_GRAPH_PLOT_BACKGROUND "white" -#define DEF_GRAPH_PLOT_BORDERWIDTH "1" +#define DEF_GRAPH_PLOT_BACKGROUND STD_NORMAL_BACKGROUND +#define DEF_GRAPH_PLOT_BORDERWIDTH STD_BORDERWIDTH #define DEF_GRAPH_PLOT_HEIGHT "0" #define DEF_GRAPH_PLOT_PADX "0" #define DEF_GRAPH_PLOT_PADY "0" -#define DEF_GRAPH_PLOT_RELIEF "solid" +#define DEF_GRAPH_PLOT_RELIEF "flat" #define DEF_GRAPH_PLOT_WIDTH "0" #define DEF_GRAPH_RELIEF "flat" #define DEF_GRAPH_SHOW_VALUES "no" diff --git a/tests/base.tcl b/tests/base.tcl index 4ce0e23..863285a 100644 --- a/tests/base.tcl +++ b/tests/base.tcl @@ -85,12 +85,14 @@ proc bltLineGraph {w} { $graph element create data1 \ -xdata { 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 } \ - -ydata { 13 25 36 46 55 64 70 75 80 90}\ - -color blue + -ydata { 13 25 36 46 55 64 70 75 80 90} \ + -color blue \ + -symbol {} $graph element create data2 \ -xdata { 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 } \ - -ydata { 26 50 72 92 110 128 140 150 160 180}\ - -color red + -ydata { 26 50 72 92 110 128 140 150 160 180} \ + -color red \ + -symbol {} $graph legend configure -title "Legend" update -- cgit v0.12