C# Class JMeter.Toolkit.Engine.Charts.ChartBuilder

Inheritance: BaseChartBuilder
Mostra file Open project: fdore/jmeter-toolkit Class Usage Examples

Public Methods

Method Description
ChartBuilder ( ) : System

Protected Methods

Method Description
GenerateBarColor ( IEnumerable dataResults, int selectedIndex ) : Color

Generate color of the bars

RenderBarLabel ( ZedGraph.GraphPane gp, RequestDataResults d, float x ) : void

Render text at the bottom of a bar

RenderLegend ( ZedGraph.GraphPane gp, IEnumerable dataResults ) : void

Render legend

RenderTitle ( ZedGraph.GraphPane gp, IEnumerable dataResults ) : void

Render chart title

Private Methods

Method Description
GenerateColor ( IEnumerable dataResults, int selectedIndex ) : Color

Generate random color based on selected result's average response time

GetRandomColor ( int salt ) : Color

Generate random color

Method Details

ChartBuilder() public method

public ChartBuilder ( ) : System
return System

GenerateBarColor() protected method

Generate color of the bars
protected GenerateBarColor ( IEnumerable dataResults, int selectedIndex ) : Color
dataResults IEnumerable
selectedIndex int
return Color

RenderBarLabel() protected method

Render text at the bottom of a bar
protected RenderBarLabel ( ZedGraph.GraphPane gp, RequestDataResults d, float x ) : void
gp ZedGraph.GraphPane
d JMeter.Toolkit.Services.Spec.RequestDataResults
x float
return void

RenderLegend() protected method

Render legend
protected RenderLegend ( ZedGraph.GraphPane gp, IEnumerable dataResults ) : void
gp ZedGraph.GraphPane
dataResults IEnumerable
return void

RenderTitle() protected method

Render chart title
protected RenderTitle ( ZedGraph.GraphPane gp, IEnumerable dataResults ) : void
gp ZedGraph.GraphPane
dataResults IEnumerable
return void