Graph: ezcGraphHorizontalRenderer
[ ]
[ Gallery ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphHorizontalRenderer
|
Class to transform horizontal bar charts primitives into image primitives. [
source]
Implemented Interfaces
Renders charts in a two dimensional view.
Parents
ezcGraphRenderer
|
--ezcGraphRenderer2d
|
--ezcGraphHorizontalRenderer
Inherited Member Variables
From
ezcGraphRenderer2d:
From
ezcGraphRenderer:
Method Summary
|
public void |
drawBar(
$boundings, $context, $color, $position, $stepSize, [$dataNumber = 1], [$dataCount = 1], [$symbol = ezcGraph::NO_SYMBOL], [$axisPosition = 0.] )
Draw bar |
|
public void |
drawDataLine(
$boundings, $context, $color, $start, $end, [$dataNumber = 1], [$dataCount = 1], [$symbol = ezcGraph::NO_SYMBOL], [$symbolColor = null], [$fillColor = null], [$axisPosition = 0.], [$thickness = 1.] )
Draw data line |
|
public void |
drawHorizontalBar(
$boundings, $context, $color, $position, $stepSize, [$dataNumber = 1], [$dataCount = 1], [$symbol = ezcGraph::NO_SYMBOL], [$axisPosition = 0.] )
Draw horizontal bar |
Inherited Methods
From
ezcGraphRenderer2d :
From
ezcGraphRenderer :
Methods
drawBar
void drawBar(
$boundings,
ezcGraphContext
$context,
ezcGraphColor
$color,
ezcGraphCoordinate
$position, float
$stepSize, [int
$dataNumber = 1], [int
$dataCount = 1], [int
$symbol = ezcGraph::NO_SYMBOL], [float
$axisPosition = 0.] )
Draw bar
Draws a bar as a data element in a line chart
Parameters
| Name |
Type |
Description |
$boundings |
ezcGraphBoundings |
Chart boundings |
$context |
ezcGraphContext |
Context of call |
$color |
ezcGraphColor |
Color of line |
$position |
ezcGraphCoordinate |
Position of data point |
$stepSize |
float |
Space which can be used for bars |
$dataNumber |
int |
Number of dataset |
$dataCount |
int |
Count of datasets in chart |
$symbol |
int |
Symbol to draw for line |
$axisPosition |
float |
Position of axis for drawing filled lines |
Redefinition of
drawDataLine
void drawDataLine(
$boundings,
ezcGraphContext
$context,
ezcGraphColor
$color,
ezcGraphCoordinate
$start,
ezcGraphCoordinate
$end, [int
$dataNumber = 1], [int
$dataCount = 1], [int
$symbol = ezcGraph::NO_SYMBOL], [
ezcGraphColor
$symbolColor = null], [
ezcGraphColor
$fillColor = null], [float
$axisPosition = 0.], [float
$thickness = 1.] )
Draw data line
Draws a line as a data element in a line chart
Parameters
| Name |
Type |
Description |
$boundings |
ezcGraphBoundings |
Chart boundings |
$context |
ezcGraphContext |
Context of call |
$color |
ezcGraphColor |
Color of line |
$start |
ezcGraphCoordinate |
Starting point |
$end |
ezcGraphCoordinate |
Ending point |
$dataNumber |
int |
Number of dataset |
$dataCount |
int |
Count of datasets in chart |
$symbol |
int |
Symbol to draw for line |
$symbolColor |
ezcGraphColor |
Color of the symbol, defaults to linecolor |
$fillColor |
ezcGraphColor |
Color to fill line with |
$axisPosition |
float |
Position of axis for drawing filled lines |
$thickness |
float |
Line thickness |
Redefinition of
drawHorizontalBar
void drawHorizontalBar(
$boundings,
ezcGraphContext
$context,
ezcGraphColor
$color,
ezcGraphCoordinate
$position, float
$stepSize, [int
$dataNumber = 1], [int
$dataCount = 1], [int
$symbol = ezcGraph::NO_SYMBOL], [float
$axisPosition = 0.] )
Draw horizontal bar
Draws a horizontal bar as a data element in a line chart
Parameters
| Name |
Type |
Description |
$boundings |
ezcGraphBoundings |
Chart boundings |
$context |
ezcGraphContext |
Context of call |
$color |
ezcGraphColor |
Color of line |
$position |
ezcGraphCoordinate |
Position of data point |
$stepSize |
float |
Space which can be used for bars |
$dataNumber |
int |
Number of dataset |
$dataCount |
int |
Count of datasets in chart |
$symbol |
int |
Symbol to draw for line |
$axisPosition |
float |
Position of axis for drawing filled lines |
Last updated: Tue, 23 Mar 2010