Bug 54532 - Improve Response Time Graph Y axis scale with huge values or small values (< 1000ms). Add a new field to define increment scale.
Improve Response Time Graph Y axis scale with huge values or small values (< ...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
PC All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-02-06 14:24 UTC by Luca
Modified: 2013-02-09 17:37 UTC (History)
0 users



Attachments
Patch to RespTimeGraphChart.java (1.05 KB, application/octet-stream)
2013-02-06 14:24 UTC, Luca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca 2013-02-06 14:24:37 UTC
Created attachment 29927 [details]
Patch to RespTimeGraphChart.java

The Y axis scale is not readable when there are samples with high response times because scale step is 500ms.

IMHO scale should be adjusted considering graph size and max response time.

In attach a simple patch to address the problem: the hypothesis is that a single item needs 50px to be readble.
Comment 1 Milamber 2013-02-06 15:22:05 UTC
Thanks for your patch.
I will work on a global patch to accept a high increment scale for the high values, and a very little increment for scale with the little responses times (<1000ms).
I think add in GUI response time graph a new field "Increment scale" for personalize the increment.
Comment 2 Milamber 2013-02-09 17:37:00 UTC
done.

URL: http://svn.apache.org/r1444399
Log:
Improve Response Time Graph Y axis scale with huge values or small values (< 1000ms). Add a new field to define increment scale
Bugzilla Id: 54532

Modified:
    jmeter/trunk/docs/images/screenshots/response_time_graph.png
    jmeter/trunk/docs/images/screenshots/response_time_graph_settings.png
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/images/screenshots/response_time_graph.png
    jmeter/trunk/xdocs/images/screenshots/response_time_graph_settings.png
    jmeter/trunk/xdocs/usermanual/component_reference.xml