org.apache.jmeter.visualizers

Class AxisGraph


public class AxisGraph
extends JPanel

Axis graph is used by StatGraphVisualizer, which generates bar graphs from the statistical data.

Field Summary

protected double[][]
data
protected int
height
protected int
maxLength
protected String
title
protected int
width
protected String[]
xAxisLabels
protected String
xAxisTitle
protected String
yAxisLabel
protected String
yAxisTitle

Constructor Summary

AxisGraph()
AxisGraph(LayoutManager layout)
AxisGraph(LayoutManager layout, boolean isDoubleBuffered)

Method Summary

void
paintComponent(Graphics g)
void
setData(double[][] data)
void
setHeight(int h)
void
setMaxLength(int maxLength)
void
setTitle(String title)
void
setWidth(int w)
void
setXAxisLabels(String[] labels)
void
setXAxisTitle(String title)
void
setYAxisLabels(String label)
void
setYAxisTitle(String title)

Field Details

data

protected double[][] data

height

protected int height

maxLength

protected int maxLength

title

protected String title

width

protected int width

xAxisLabels

protected String[] xAxisLabels

xAxisTitle

protected String xAxisTitle

yAxisLabel

protected String yAxisLabel

yAxisTitle

protected String yAxisTitle

Constructor Details

AxisGraph

public AxisGraph()

AxisGraph

public AxisGraph(LayoutManager layout)
Parameters:
layout -

AxisGraph

public AxisGraph(LayoutManager layout,
                 boolean isDoubleBuffered)
Parameters:
layout -
isDoubleBuffered -

Method Details

paintComponent

public void paintComponent(Graphics g)

setData

public void setData(double[][] data)

setHeight

public void setHeight(int h)

setMaxLength

public void setMaxLength(int maxLength)

setTitle

public void setTitle(String title)

setWidth

public void setWidth(int w)

setXAxisLabels

public void setXAxisLabels(String[] labels)

setXAxisTitle

public void setXAxisTitle(String title)

setYAxisLabels

public void setYAxisLabels(String label)

setYAxisTitle

public void setYAxisTitle(String title)

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.