CMS  Version 3.9
test_histogram.inc File Reference

Go to the source code of this file.

Variables

 $chart = new Histogram("histogram", 600, 400, 50, 50, 400, 300, "standard")
 
$chart ticks = 5
 
$chart max = 100
 
 $series = new HistogramSeries("block", "Series 1", array(10, 40, 20, 80))
 
 $series2 = new HistogramSeries("block", "Series 2", array(30, 20, 40, 90))
 
 $series3 = new HistogramSeries("block", "Series 3", array(20, 50, 40, 30))
 
 $series4 = new HistogramSeries("block", "Series 4", array(90, 20, 10, 50))
 
 $chart2 = new Histogram("histogram2", 600, 400, 50, 50, 400, 300, "standard")
 
$chart2 orientation = "horizontal"
 
 $chart3 = new Histogram("histogram3", 600, 400, 50, 50, 400, 300, "standard")
 
 $stack = new StackedHistogramSeries("block", "Stack")
 
 $chart4 = new Histogram("histogram4", 600, 400, 50, 50, 400, 300, "standard")
 

Variable Documentation

◆ $chart

$chart = new Histogram("histogram", 600, 400, 50, 50, 400, 300, "standard")

Definition at line 4 of file test_histogram.inc.

◆ $chart2

$chart2 = new Histogram("histogram2", 600, 400, 50, 50, 400, 300, "standard")

Definition at line 25 of file test_histogram.inc.

◆ $chart3

$chart3 = new Histogram("histogram3", 600, 400, 50, 50, 400, 300, "standard")

Definition at line 46 of file test_histogram.inc.

◆ $chart4

$chart4 = new Histogram("histogram4", 600, 400, 50, 50, 400, 300, "standard")

Definition at line 71 of file test_histogram.inc.

◆ $series

$series = new HistogramSeries("block", "Series 1", array(10, 40, 20, 80))

Definition at line 9 of file test_histogram.inc.

◆ $series2

$series2 = new HistogramSeries("block", "Series 2", array(30, 20, 40, 90))

Definition at line 12 of file test_histogram.inc.

◆ $series3

$series3 = new HistogramSeries("block", "Series 3", array(20, 50, 40, 30))

Definition at line 16 of file test_histogram.inc.

◆ $series4

$series4 = new HistogramSeries("block", "Series 4", array(90, 20, 10, 50))

Definition at line 20 of file test_histogram.inc.

◆ $stack

$stack = new StackedHistogramSeries("block", "Stack")

Definition at line 51 of file test_histogram.inc.

◆ max

$chart4 max = 100

Definition at line 7 of file test_histogram.inc.

◆ orientation

$chart4 orientation = "horizontal"

Definition at line 29 of file test_histogram.inc.

◆ ticks

$chart4 ticks = 5

Definition at line 6 of file test_histogram.inc.