Tk Library Source Code

Check-in [ba047937df]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Small change in the barchart demo - show a gap between the sets of barcharts
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ba047937df5c833423d94859c002f285c7344061
User & Date: arjenmarkus 2007-06-12 20:19:21
Context
2007-06-12
20:20
Fixed a few bugs in drawing the legend; documented a tip by Bernhard Wallner check-in: 12a0d99b83 user: arjenmarkus tags: trunk
20:19
Small change in the barchart demo - show a gap between the sets of barcharts check-in: ba047937df user: arjenmarkus tags: trunk
2007-06-08
19:24
* en.msg: Added l10n for the "KHIM Help" dialog title. * pl.msg: Added Polish, Russian, and Ukrainian message catalogs. * uk.msg: * khim.man: Documented l10n of the "KHIM Help" dialog title. * khim.tcl: Made modifications to display of the character map so that the colour scheme follows the application defaults more closely. Advanced version to 1.0.1. * pkgIndex.tcl: Advanced version to 1.0.1. Thanks to Konstantin Khomoutov <flatworm@users.sourceforge.net> for providing these fixes. [Patch 1733094] check-in: 1dd5ab5f25 user: kennykb tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to examples/plotchart/plotdemos1.tcl.

92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
   set rad [expr {1.0+cos($angle*$::Plotchart::torad)}]
   $s plot "cardioid" $rad $angle
}

$s title "Cardioid"


set s [::Plotchart::createBarchart .h.c {A B C D E} {0.0 10.0 2.0} 2]

$s plot series1 {1.0 4.0 6.0 1.0 7.0} red
$s plot series2 {0.0 3.0 7.0 9.3 2.0} green
$s title "Arbitrary data"


set s [::Plotchart::createBarchart .h.c2 {A B C D E} {0.0 20.0 5.0} stacked]







|







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
   set rad [expr {1.0+cos($angle*$::Plotchart::torad)}]
   $s plot "cardioid" $rad $angle
}

$s title "Cardioid"


set s [::Plotchart::createBarchart .h.c {A B C D E} {0.0 10.0 2.0} 2.5]

$s plot series1 {1.0 4.0 6.0 1.0 7.0} red
$s plot series2 {0.0 3.0 7.0 9.3 2.0} green
$s title "Arbitrary data"


set s [::Plotchart::createBarchart .h.c2 {A B C D E} {0.0 20.0 5.0} stacked]