Closed Bug 438720 Opened 17 years ago Closed 16 years ago

graph scaling incorrect for various series graphs (new front end)

Categories

(Webtools Graveyard :: Graph Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: anodelman, Assigned: rdoherty)

References

()

Details

Attachments

(3 files, 1 obsolete file)

Select to graph a Ts test and a Tp_Private Bytes. See that the graph is all crushed into the left hand side of the graph area. Remove the Tp_Private Bytes. See that the graph doesn't rescale. We need better scaling here based upon what is being graphed, it also seems to get 'stuck' in a scale once it has changed it.
Target Milestone: --- → 0.4
Moving to 0.5, we don't have enough resources currently to take this on.
Target Milestone: 0.4 → 0.5
Assignee: nobody → rdoherty
Attached patch Fix for scaling issue (obsolete) — Splinter Review
Here's the fix.
Attachment #337999 - Flags: review?(anodelman)
It still does the thing where it crushes everything into a small corner when attempting to compare a large test set with a small one (like Private Bytes vs. Ts) - should we consider that part of this bug as well? Otherwise, this does fix the getting-stuck-in-bad-scale bug.
Comment on attachment 337999 [details] [diff] [review] Fix for scaling issue Fixes the stuck-in-bad-scale issue.
Attachment #337999 - Flags: review?(anodelman) → review+
This patch has the fix for both scaling issues. Small change from the first patch.
Attachment #337999 - Attachment is obsolete: true
Attachment #338212 - Flags: review?(anodelman)
Comment on attachment 338212 [details] [diff] [review] Fix for both scaling issues Works great, fixes both scaling issues.
Attachment #338212 - Flags: review?(anodelman) → review+
Committed, revision 3537cb6f02e8 For QA: http://graphs-stage.mozilla.org/graph.html#type=series 1) Load any 2 different tests that have a different # of data points 2) Make sure that all data points for both graphs are loaded 3) Remove the longer graph and verify the graph is resized so the shorter graph takes up the full width of the graph area.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED; this needs the "push-needed" keyword, right?
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: