**Introduction** &|Date|12 Oct 2009|& &|Current state|alpha release|& &|Sources|http://www.sourceforge.net/projects/rbctoolkit/%|%rbctoolkit%|%|& RBC is: * [BLT]'s vector, graph, barchart, stripchart, winop, and eps components * [TEA] compliant * 3800+ automated test suite, plus many more manual tests * Works (for me) on win32, linux 32 bit and linux 64 bit, Tcl/Tk 8.4,8.5, and 8.6beta. RBC is not (yet): * documented * experienced * beautiful (see pkgIndex.tcl for an example) * free from Tcl/Tk internals * including Zoom-Stack * tested with starkits **Replace BLT with RBC** Replace ====== package require BLT namespace import blt::* ====== with ====== package require rbc namespace import rbc::* ====== The rest should work. This procedure was tested with * [BLT - stripchart - with realtime update] * [BLT - graph - how to draw a sophisticated time axis] Of course, you need to append the path to the rbc package for this to work. So something like this should be in your tcl file. ====== lappend auto_path ====== <> [JHJL] I have hacked the ZoomStack code in graph.tcl and seem to have got interactive zooming to work (for me). In the functions PushZoom & PopZoom I commented out the calls to "busy" and put in an event generate as follows: ====== # busy hold $graph event generate $graph # busy release $graph ====== I am not sure that is the right event to use but I had previously noticed that resizing the window caused a redraw which used the newly set axis max/min limits. [JHJL] Same trick works for ActiveLegends i.e. put event generate $graph in ActivateLegend, DeactivateLegend and HighlightLegend. Not sure why it works, suspect BLT (RBC) minimizes redraws etc to improve performance and that the forces it's hand... -------- [JBR] : I have recently replaced a bunch of BLT plots with RBC. It seems to work, but I have two complaints: 1. The cursor disapears when moved into the plot. 2. The plot axis labels are slightly clipped. Can anyone help me with these? Thanks [LV] any code to demonstrate this issue? ---- '''[dcg] - 2010-01-23 11:33:34''' Any chance for bgexec and some of the other esoteric functions from BLT to be included in RBC at some point? I use both bgexec and blt::[winop] resample (which is an undocumented sub feature of the winop command to resize images with various smoothing filters) extensively. These features of BLT are why I have stayed with TCL 4.8.19 for so long. ---- '''[ape] - 2010-11-08''' Refactoring BLT was a very good idea but it was a year ago, with an alpha release... Does anyone continue to work on it ? ---- '''[boomer] - 2011-05-12 10:41:38''' I desperately needed some of the BLT components and also wanted to be able to use the new font handling for the Graph widget (huge improvement in rotated text). I was happy to find rbc and a font handling improvement patch (see http://sourceforge.net/projects/rbctoolkit/develop). After that I added the bgexec, tabset and drag&drop commands and also fixed a few bugs found during testing. Note that the font handling improvements only work with Tcl/Tk 8.6. This version of rbc is tested under Windows (32-bit only) and Linux (32- and 64-bit). If anyone is interested I'm happy to share what I've got so far. '''[JHJL]'''Would like to try it out, can you provide a download link? [EG] Rbc is great, but is in need of love. I've already identified some drawbacks on its source code which might become problematic in the future: * The graph widgets interface are still string based, instead of Tcl_Obj() based. * There are some dark bugs on the management of mark elements. * Some functions use direct access to interp->result (fixed in the font improvement patch). * Rbc is based on an ancient version of Blt; the CVS version has some useful functionality which can be backported to Rbc. There are also parts which can be cleaned up or deprecated. I'd like to get rid of the variable access to vectors. I'd like to add additional methods to the vector instance command such as max, min, average, etc. Compare the command rbc::vector expr max($vector) with $vector max Since Rbc is not (IMO) a drop-in replacement of Blt, I think it can start evolving on a different, user driven direction. ---- '''[boomer] - 2011-05-16 04:17:18''' Sorry JHJL, I don't have access to a public server but I'll be happy to email my version to anyone. EG, some of the things you mention are fixed in my version and I agree with you that it should evolve separate from BLT. I'd be happy to help if someone else is willing to take the lead. <> Package | GUI | Graphics | Plotting | Acronym | BLT