Prev: ANNOUNCE: Multi-column listbox and tree widget package Tablelist 5.0
Next: ttk treeview widget: how to tell if an item is detached
From: Arjen Markus on 7 Jun 2010 03:19 I am pleased to announce the release of Plotchart 1.8.3. The changes consist of documenting features that were not documented before and of several bugfixes and enhancements discussed during the EuroTcl meeting last week. Note: This version does not introduce any new plot/chart types. That is for a next version. Bugfixes -------- - In Tcl/Tk 8.5 the conversion of numbers to strings has changed. This led to numeric labels like 0.09999999 instead of 0.1 as in previous versions of Tcl/Tk. This has been fixed (by temporarily setting tcl_precision to 12) - The labels along the axes in barcharts were centred using the total bar width and the gap. This has been changed to only the bar width. New features ------------ (A part of these features already existed, but were not documented) - Graded background and bars: the colour may get lighter or darker - New command for piecharts: $piechart explode <number>|auto With this command you can move the indicated segment out of the circle by a fixed distance. If you specify "auto" instead of a number, you can click on the segment you want to explode. - New commands for xy-plots: bindplot and bindlast. These commands allow you to bind events on either the whole plot area or to the last data point you added to a data series. Example plotdemos12.tcl shows how to use these commmands. - Moving the legend by clicking the mouse and dragging it around. Sometimes the legend is in the wrong position obscuring data - you can now move it around. - Determine the scale from a list of values. In analogy to the command determineScale, you can now use determineScaleFromList to determine nice looking scales for the axes - Jos DeCoster's xyplot package, which builds on Plotchart, is now at version 1.0.1. Enhanced documentation ---------------------- To make it possible to add your own interactive features, I have documented the tags that are used by the various plots and charts. Not all graphical objects will be easily manipulated this way, as currently not all have distinct tags. New demo programs ----------------- I have added three demo programs: - plotdemos13.tcl shows the performance of Plotchart with large amounts of data. - demo.tcl shows the code for several examples and the result of that code in a single window. This was very useful for the presentation in Strasbourg. - editgraph.tcl is a simple program illustrating how you can edit a data series graphically. (To make it a useable tool will require some work still - add the possibility to change the scales for instance) Regards, Arjen |