org.apache.jmeter.visualizers
Class DistributionGraph
JComponent
org.apache.jmeter.visualizers.DistributionGraph
- Scrollable, Clearable
public class DistributionGraph
extends JComponent
New graph for drawing distribution graph of the results. It is intended as a
way to view the data after the stress has been performed. Although it can be
used at runtime, it is not recommended, since it is rather intensive. The
graph will draw a red line at 90% and an orange line at 50%. I like
distribution graphs because they allow me to see how the data clumps. In
general, the data will tend to clump in predictable ways when the application
is well designed and implemented. Data that generates erratic graphs are
generally not desirable.
DistributionGraph
public DistributionGraph()
Constructor for the Graph object.
getPreferredScrollableViewportSize
public Dimension getPreferredScrollableViewportSize()
Gets the PreferredScrollableViewportSize attribute of the Graph object.
- the PreferredScrollableViewportSize value
getScrollableBlockIncrement
public int getScrollableBlockIncrement(Rectangle visibleRect,
int orientation,
int direction)
Gets the ScrollableBlockIncrement attribute of the Graph object.
- the ScrollableBlockIncrement value
getScrollableTracksViewportHeight
public boolean getScrollableTracksViewportHeight()
Gets the ScrollableTracksViewportHeight attribute of the Graph object.
- the ScrollableTracksViewportHeight value
getScrollableTracksViewportWidth
public boolean getScrollableTracksViewportWidth()
Gets the ScrollableTracksViewportWidth attribute of the Graph object.
- the ScrollableTracksViewportWidth value
getScrollableUnitIncrement
public int getScrollableUnitIncrement(Rectangle visibleRect,
int orientation,
int direction)
Gets the ScrollableUnitIncrement attribute of the Graph object.
- the ScrollableUnitIncrement value
paintComponent
public void paintComponent(Graphics g)
Method is responsible for calling drawSample and updating the graph.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.