GNOME Bugzilla – Bug 517488
lineplot : support singleton formatting (akin to pie slices)
Last modified: 2008-07-14 12:26:53 UTC
It would be nice if it was possible to address single slices and single bars in graph objects so as to allow e.g. gnucash developers to add support for slice/bar specific tooltips and/or callback on mouse click. This would enable to restore an old feature of gnucash reports (once based on guppi). See also Bug 359224 – Interactive pie / bar chart and graphs in 2.x again http://bugzilla.gnome.org/show_bug.cgi?id=359224 Other references: the originating discussion on the gnucash-devel list: https://lists.gnucash.org/pipermail/gnucash-devel/2008-February/thread.html#22406 A previous note on gnucash wiki: http://wiki.gnucash.org/wiki/Clickable_Reports_UI
Single pie slices have been supported for a long time via GogObject *singleton = gog_object_add_by_name (series, "Point", NULL); BarCol does not support singletons now but should not be too hard to add. There are some mechanisms for custom tooltip and actions via GogObjectView::toolkit. Please give that a look to see if it is strong enough for your needs. For now I'll slim this bug down to focus on just the singletons in bar/col.
Added support for singletons in BarCol in trunk.
And you've added support to XY and bubble. I don't think singletons make much sense for Area, Surface or Radar plots. Which leaves lines.
Yes for lines we might allow a marker change. Note that for XY, we have an empty Style page. I need to fix that.
The singleton support has been in for a while now, and I have not heard back whether or not the ::toolkit support was strong enough to support your goals. If not please open a new bug with something explicit. Thanks