| Ticket UUID: | 50309a59361840fffea949411e8b82b7db1cf765 | |||
| Title: | Cumulatively plotting in a histogram does not work properly - overlaid bars | |||
| Type: | Bug | Version: | 2.3.1 | |
| Submitter: | arjenmarkus | Created on: | 2014-12-11 07:37:55 | |
| Subsystem: | tklib :: plotchart | Assigned To: | arjenmarkus | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Pending | Last Modified: | 2024-06-04 18:40:31 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| 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
| |||
| User Comments: |
arjenmarkus added on 2024-06-04 18:40:31:
Indeed, I need to repair this method or remove it - see also https://core.tcl-lang.org/tklib/tktview/a6dd880cf2d9a2db1b45ca81f9e885916ad8e8e6 | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki