diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-22 19:48:20 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-23 00:09:19 +0100 |
commit | 4fca37ae3561da7d0664e0f943146398a8e554dd (patch) | |
tree | 6fefd7787f878001961b904cf02ada6cae556d7b /stap-authorize-signing-cert | |
parent | 33dc14f9790c82669f48abe40662bee1314f5741 (diff) | |
download | systemtap-steved-4fca37ae3561da7d0664e0f943146398a8e554dd.tar.gz systemtap-steved-4fca37ae3561da7d0664e0f943146398a8e554dd.tar.xz systemtap-steved-4fca37ae3561da7d0664e0f943146398a8e554dd.zip |
grapher: scale from right end of graph
The right side of the graph represents the most recent time. Since
there is never anything interesting to the right of that, it makes
sense to have the origin of the scaling be there.
* grapher/Graph.hxx (getHorizontalScale): new function
* grapher/GraphStyle.cxx (GraphStyleBar::draw, GraphStyleDot::draw,
GraphStyleEvent::draw): Use cairo transform functions to set up
scaling.
(GraphStyleBar::dataIndexAtPoint, GraphStyleEvent::dataIndexAtPoint):
Base calculations on scaling from right.
Diffstat (limited to 'stap-authorize-signing-cert')
0 files changed, 0 insertions, 0 deletions