gtkdatabox-0.8.0.0 released
- From: Roland Bock <box2OO6 eudoxos de>
- To: gtkdatabox <gtkdatabox-list gnome org>
- Subject: gtkdatabox-0.8.0.0 released
- Date: Sun, 25 Nov 2007 16:38:53 +0100
Dear all,
a few minutes ago I uploaded a new version of GtkDatabox:
http://www.eudoxos.de/gtk/gtkdatabox/download/gtkdatabox-0.8.0.0.tar.gz
Here is the appropriate excerpt from the ChangeLog:
<snip>
- Added support for logarithmic scales for drawing
- Replaced original gtkruler with gtkdatabox_ruler.
- GtkDataboxRuler supports logarithmic scales
- Instead of HRuler and VRuler, GtkDataboxRuler has an orientation
- No big changes in existing projects required, see examples
- renamed the following functions:
gtk_databox_get_canvas => gtk_databox_get_total_limits
gtk_databox_set_canvas => gtk_databox_set_total_limits
gtk_databox_get_visible_canvas => gtk_databox_get_visible_limits
gtk_databox_set_visible_canvas => gtk_databox_set_visible_limits
- replaced GtkDataboxCoord by GdkPoint (which is just the same)
- Added example which shows linear, logarithmic and double logarithmic
graphs
- Added example which shows easiest way to start with GtkDatabox
</snip>
I hope I have not forgotten any important thing...
Some more words about the rulers:
We had a discussion about using nxp_ruler, which seemed to have both,
good handling of huge values and logarithmic scales. But when I took a
closer look there were a few things that stopped me from using nxp_rulers:
*) Scales cannot not be inverted, so I cannot turn my graph upside down.
This is an old and required feature of GtkDatabox, though.
*) I do not understand the code that calculates the ticks at all.
*) Two many classes for my taste (3 rulers, plus a special adjustment)
*) There were some minor issues in addition
I therefore took a look at the "original" GtkRuler, again. I liked that
code much better and adjusted it to create a GtkDataboxRuler widget
which (in my eyes) combines the benefits of GtkRuler and NxpRuler and more:
*) Works with rather big and also rather small data ranges
*) Supports linear and logarithmic scales
*) Can be inverted
*) Only one class (not three or four)
*) Modern GTK Style, using cairo (maybe this also should be used with
some of the graphs)
You see, I like it ;-)
I am looking forward to reading your feedback!
Regards,
Roland
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]