You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/09/04 19:01:39 UTC

[Bug 58329] New: Save aggregate graph minor issue

https://bz.apache.org/bugzilla/show_bug.cgi?id=58329

            Bug ID: 58329
           Summary: Save aggregate graph minor issue
           Product: JMeter
           Version: 2.13
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ddannillo@gmail.com

Hi,

There's a minor bug when saving a graph in JMeter GUI in Listener Aggregate
Graph.
When you save the graph to file, the image that is saved does not contains the
settings you specified unless you change to Tab "Graph".

Possible solution: Invalidate image before saving the image.

To reproduce do the following steps:
(I'll consider that you already have a set of data to build the graphic)
  1. Open Aggregate Graph component
  2. Open "Graph" tab (The graph should be displayed with the default settings)
  3. Now go back to "Settings" tab.
  4. Change a bunch of visual settings like font size, title, etc... Go nuts..
DO NOT change back to "Graph" tab.
  5. Save the graph to file with button "Save", and save it to disk with any
name.
  6. Open the png and there you go, the new settings inserted are not there.

Any further question do not hesitate to ask.

Best regards,
Danilo Mendes

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58329] Save aggregate graph minor issue

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58329

--- Comment #1 from David Coppens <d....@gmail.com> ---
Created attachment 33698
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33698&action=edit
Patch for bug 58329

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58329] Save aggregate graph minor issue

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58329

--- Comment #2 from David Coppens <d....@gmail.com> ---
Attached patch for this bug. 

Updated getPrintableComponent() method inherited from SaveGraphics component to
always draw the graph before providing the graph to be saved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58329] Response Time Graph and Aggregate Graph : Save graph to file does not take into account the settings changed since last click on Graph

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58329

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Keywords|                            |PatchAvailable

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Wed Mar 23 21:47:27 2016
New Revision: 1736381

URL: http://svn.apache.org/viewvc?rev=1736381&view=rev
Log:
Bug 58329 - Response Time Graph and Aggregate Graph : Save graph to file does
not take into account the settings changed since last click on Graph
Bugzilla Id: 58329

Modified:
   
jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
   
jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58329] Response Time Graph and Aggregate Graph : Save graph to file does not take into account the settings changed since last click on Graph

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58329

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Hardware|PC                          |All
            Summary|Save aggregate graph minor  |Response Time Graph and
                   |issue                       |Aggregate Graph : Save
                   |                            |graph to file does not take
                   |                            |into account the settings
                   |                            |changed since last click on
                   |                            |Graph
                 OS|Linux                       |All

-- 
You are receiving this mail because:
You are the assignee for the bug.