On Wed, Jul 17, 2013 at 3:53 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> On Wed, Jul 17, 2013 at 3:00 PM, Richard Hipp <d...@sqlite.org> wrote:
>
>> While you are on the subject of the stats_report page, could you look
>> into possibly scaling the line lengths if they grow to large.  See, for
>> example
>>
>
>>      http://core.tcl.tk/tcl/stats_report?view=byuser
>
>
>
> Andreas K pointed that repo out to me a few weeks ago. They're
> literally... off the charts. Yes, i'll look into a solution for that.
> (Ideas are of course welcomed - i was hoping to avoid traversing the data
> twice in order to calculate relative sizes.)
>

Fixed and much improved:

http://www.fossil-scm.org/index.html/vdiff?from=47ee082a75d42263&to=674a24a3603ed201&sbs=1

the bars now use a relative width based on the maximum event count for the
current report's query and the longest bar (most events) has a width of
100%, so resizing the browser window resizes the bars. This requires
running through the queries twice, but the effect is much nicer than the
absolute values used before.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to