[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Graph improvements

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2005-12-28 14:31:36 CET

Speaking of the statistics page...

 

I have put together a patch that improves the functionality of "MyGraph".

 

The following addition/changes have been made:

 

+ Better color-variation

By changing luminosity and saturation in addition to hue the colors are easier to distinguish if there are many of them. The small downside is that all of them are not as candy-lookin any more.

 

+ Stacked tooltips

If more datapoints end up on top of eachother in the line graph, the tooltip now shows all the datapoints instead of the first one found.

 

+ Lower font size limit

Font sizes are not allowed to be smaller than readable.

 

+ Auto adjusting legend

If the window gets small enough, it won't bother to paint the legend. It gets too crowded to be useful anyway. The information in the tooltips is enough then.

 

+ Stacked graph

The line and bar graph can now be generated as stacked by passing "true" as the second parameter to SetGraphType(GraphType eType, bool bStackedGraph). (Bitte Lübbe! ;-) )

I would like to suggest the addition of a number of small buttons (or a combobox) on the Statistics page to facilitate switching between the five available diagram types.

 

Feedback on the patch is most welcome!

 

Hans-Emil

 

PS. I have only tested the class "stand alone" as I have not a working TSVN build environment. DS.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Wed Dec 28 14:32:37 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.