Title? Units? Legend Font size / style? Animation?

14 views
Skip to first unread message

Phil Heller

unread,
May 16, 2009, 11:16:30 PM5/16/09
to plotkit
Has there been any work on adding a title or units to charts?

How about options for the legend font size and style in the same way
it's possible on the canvas?

How about animation of the chart build?

I might give these a go myself, as I go along, but figured I'd see if
anyone has done any work on them before jumping in myself.

--phil

Gabor Adam TOTH

unread,
May 17, 2009, 1:52:38 PM5/17/09
to plo...@googlegroups.com
Hi,

Phil Heller wrote:
> Has there been any work on adding a title or units to charts?

I made a patch that contains some modifications needed for my current project,
it's still in development, but you can have a look at it,
you'd need [xy]TickFormatFunction from it,
those are for formatting x/y labels, so you can display whatever units you want,
e.g. bytes/time: http://tg.x-net.hu/src/plotkit/plotkit.png

diff is here: http://tg.x-net.hu/src/plotkit/plotkit-0.9.1-tg.diff

--
tg

Gabor Adam TOTH

unread,
May 17, 2009, 7:30:24 PM5/17/09
to plo...@googlegroups.com, phe...@gmail.com
Hi,

Phil Heller wrote:
> Has there been any work on adding a title or units to charts?

I made a patch that contains some modifications needed for my current project,


it's still in development, but you can have a look at it,
you'd need [xy]TickFormatFunction from it,
those are for formatting x/y labels, so you can display whatever units you want,
e.g. bytes/time: http://tg.x-net.hu/src/plotkit/plotkit.png

--
tg

PS: resending, seems like google delivered my previous mail to /dev/null..

Martin Kleppmann

unread,
May 28, 2009, 5:50:13 PM5/28/09
to plo...@googlegroups.com
Hi Phil

On 17 May 2009, at 04:16, Phil Heller wrote:
> Has there been any work on adding a title or units to charts?

I did some work on this a while ago, but haven't yet got round to
integrating the change back into the PlotKit codebase. One of my
projects requires this soon though, so I will need to do this before
too long (within the next few weeks). When I do it will go into http://github.com/ept/plotkit
-- or if you want to contribute something of the like, please feel
free to send it over and/or clone the repository and send a pull
request.

Cheers
Martin

Reply all
Reply to author
Forward
0 new messages