[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/library/ezc/Graph/src/options/ -> line_chart.php (summary)

File containing the ezcGraphLineChartOption class

Copyright: Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
License: http://ez.no/licenses/new_bsd New BSD License
Version: 1.5
File Size: 215 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ezcGraphLineChartOptions:: (3 methods):
  __construct()
  __set()
  __get()


Class: ezcGraphLineChartOptions  - X-Ref

Class containing the basic options for line charts.

This class contains basic options relevant for line and bar charts, which
are just an extension of line charts.

For additional options configuring the apperance of the chart you may also
want to check the option classes to configure the respective renderer you
are using:

- ezcGraphRendererOptions
- ezcGraphRenderer2dOptions
- ezcGraphRenderer3dOptions

<code>
$graph = new ezcGraphLineChart();
$graph->title = 'Wikipedia articles';

$graph->options->fillLines = 220;
$graph->options->lineThickness = 3;

// Add data
foreach ( $wikidata as $language => $data )
{
$graph->data[$language] = new ezcGraphArrayDataSet( $data );
}

$graph->render( 400, 150, 'tutorial_line_chart.svg' );
</code>

__construct( array $options = array()   X-Ref
Constructor

param: array $options Default option array
return: void

__set( $propertyName, $propertyValue )   X-Ref
Set an option value

param: string $propertyName
param: mixed $propertyValue
return: void

__get( $propertyName )   X-Ref
__get

param: mixed $propertyName
return: mixed



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7