summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-10-30 14:38:31 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-10-30 14:38:31 +0000
commit0e39a74fb7ce36077b4aa992daa5a0dd63331575 (patch)
tree7e7a6b02fbdee89912051250964ea94801f4c128 /docs
parent454b96f54673bbd3e35100e6683fa781808ebd4b (diff)
downloadzetacomponents-graph-0e39a74fb7ce36077b4aa992daa5a0dd63331575.zip
zetacomponents-graph-0e39a74fb7ce36077b4aa992daa5a0dd63331575.tar.gz
- Use SVG driver in latest newsletter examples
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/forum_evolution.php7
-rw-r--r--docs/examples/forum_month.php7
-rw-r--r--docs/examples/forum_weekly.php4
-rw-r--r--docs/examples/forum_year.php4
4 files changed, 8 insertions, 14 deletions
diff --git a/docs/examples/forum_evolution.php b/docs/examples/forum_evolution.php
index 760e1d3..4238f77 100644
--- a/docs/examples/forum_evolution.php
+++ b/docs/examples/forum_evolution.php
@@ -12,9 +12,6 @@ $graph->palette = new ezcGraphPaletteEzBlue();
$graph->xAxis->majorGrid = '#888888';
$graph->yAxis->majorGrid = '#888888';
-// Use fdb font for ming driver
-$graph->options->font = dirname( __FILE__ ) . '/../../tests/data/fdb_font.fdb';
-
// Add the data and hilight norwegian data set
$graph->data['Posts'] = new ezcGraphArrayDataSet( array(
'May 2006' => 1164,
@@ -43,9 +40,9 @@ $graph->renderer = new ezcGraphRenderer3d();
$graph->renderer->options->barChartGleam = .5;
$graph->renderer->options->legendSymbolGleam = .5;
-$graph->driver = new ezcGraphMingDriver();
+$graph->driver = new ezcGraphSvgDriver();
// Output the graph with std SVG driver
-$graph->render( 500, 200, 'forum_evolution.swf' );
+$graph->render( 500, 200, 'forum_evolution.svg' );
?>
diff --git a/docs/examples/forum_month.php b/docs/examples/forum_month.php
index 1cf6a21..ded6f1f 100644
--- a/docs/examples/forum_month.php
+++ b/docs/examples/forum_month.php
@@ -11,9 +11,6 @@ $graph = new ezcGraphPieChart();
$graph->palette = new ezcGraphPaletteEzRed();
$graph->legend = false;
-// Use fdb font for ming driver
-$graph->options->font = dirname( __FILE__ ) . '/../../tests/data/fdb_font.fdb';
-
// Add the data and hilight norwegian data set
$graph->data['week'] = new ezcGraphArrayDataSet( array(
'Claudia Kosny' => 128,
@@ -40,9 +37,9 @@ $graph->renderer->options->legendSymbolGleam = .5;
$graph->renderer->options->pieChartOffset = 100;
$graph->renderer->options->pieChartSymbolColor = '#88888888';
-$graph->driver = new ezcGraphMingDriver();
+$graph->driver = new ezcGraphSvgDriver();
// Output the graph with std SVG driver
-$graph->render( 500, 200, 'forum_month.swf' );
+$graph->render( 500, 200, 'forum_month.svg' );
?>
diff --git a/docs/examples/forum_weekly.php b/docs/examples/forum_weekly.php
index 041fadc..95f9157 100644
--- a/docs/examples/forum_weekly.php
+++ b/docs/examples/forum_weekly.php
@@ -41,9 +41,9 @@ $graph->renderer->options->legendSymbolGleam = .5;
$graph->renderer->options->pieChartOffset = 100;
$graph->renderer->options->pieChartSymbolColor = '#88888888';
-$graph->driver = new ezcGraphMingDriver();
+$graph->driver = new ezcGraphSvgDriver();
// Output the graph with std SVG driver
-$graph->render( 500, 200, 'forum_weekly.swf' );
+$graph->render( 500, 200, 'forum_weekly.svg' );
?>
diff --git a/docs/examples/forum_year.php b/docs/examples/forum_year.php
index 03e48e8..1d9fb53 100644
--- a/docs/examples/forum_year.php
+++ b/docs/examples/forum_year.php
@@ -38,9 +38,9 @@ $graph->renderer->options->legendSymbolGleam = .5;
$graph->renderer->options->pieChartOffset = 100;
$graph->renderer->options->pieChartSymbolColor = '#88888888';
-$graph->driver = new ezcGraphMingDriver();
+$graph->driver = new ezcGraphSvgDriver();
// Output the graph with std SVG driver
-$graph->render( 500, 200, 'forum_year.swf' );
+$graph->render( 500, 200, 'forum_year.svg' );
?>
OpenPOWER on IntegriCloud