Description: |
Plotting with the plotcumulative does not have the desired effect: stacking the bars, as illustrated by this little program:
# xx.tcl --
# Check plotcumulative method
#
package require Plotchart
pack [canvas .c]
set p [::Plotchart::createHistogram .c {0 10 2} {0 10 2}]
$p dataconfig data -fillcolour green
$p dataconfig data2 -fillcolour red
$p plot data 0.0 1.0
$p plotcumulative data2 0.0 1.0
$p plot data 1.0 1.0
$p plotcumulative data2 1.0 2.0
Instead of a red bar on top of a green bar you get a single red bar
|