Author: kn
Date: Mon Jan  7 10:59:44 2008
New Revision: 7083

Log:
- Fixed issue #11777: Optionally independent axis font configuration

Added:
    
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
   (with props)
    
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
   (with props)
Modified:
    trunk/Graph/ChangeLog
    trunk/Graph/src/options/renderer.php
    trunk/Graph/src/renderer/2d.php
    trunk/Graph/src/renderer/3d.php
    trunk/Graph/tests/line_test.php
    trunk/Graph/tests/renderer_2d_test.php

Modified: trunk/Graph/ChangeLog
==============================================================================
--- trunk/Graph/ChangeLog [iso-8859-1] (original)
+++ trunk/Graph/ChangeLog [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -5,6 +5,7 @@
 - Fixed issue #12254: Bad property-check for strokeLineJoin in SVG driver
 - Fixed issue #12295: Broken automatic scaling with manually set min value,
   not divisible by major step
+- Fixed issue #11777: Optionally independent axis font configuration
 
 1.2 - Monday 17 December 2007
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Modified: trunk/Graph/src/options/renderer.php
==============================================================================
--- trunk/Graph/src/options/renderer.php [iso-8859-1] (original)
+++ trunk/Graph/src/options/renderer.php [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -73,6 +73,9 @@
  *           Color used for gleam on pie charts.
  * @property float $pieChartGleamBorder
  *           Do not draw gleam on an outer border of this size.
+ * @property bool $syncAxisFonts
+ *           Synchronize fonts of axis. With the defaut true value, the only
+ *           the fonts of the yAxis will be used.
  * 
  * @version //autogentag//
  * @package Graph
@@ -107,6 +110,7 @@
         $this->properties['legendSymbolGleamColor'] = ezcGraphColor::fromHex( 
'#FFFFFF' );
         $this->properties['pieVerticalSize'] = .5;
         $this->properties['pieHorizontalSize'] = .25;
+        $this->properties['syncAxisFonts'] = true;
 
         parent::__construct( $options );
     }
@@ -174,11 +178,12 @@
                 break;
 
             case 'showSymbol':
+            case 'syncAxisFonts':
                 if ( !is_bool( $propertyValue ) )
                 {
                     throw new ezcBaseValueException( $propertyName, 
$propertyValue, 'bool' );
                 }
-                $this->properties['showSymbol'] = (bool) $propertyValue;
+                $this->properties[$propertyName] = (bool) $propertyValue;
                 break;
 
             case 'pieChartOffset':

Modified: trunk/Graph/src/renderer/2d.php
==============================================================================
--- trunk/Graph/src/renderer/2d.php [iso-8859-1] (original)
+++ trunk/Graph/src/renderer/2d.php [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -1440,6 +1440,13 @@
     {
         foreach ( $this->axisLabels as $nr => $axisLabel )
         {
+            // If font should not be synchronized, use font configuration from
+            // each axis
+            if ( $this->options->syncAxisFonts === false )
+            {
+                $this->driver->options->font = $axisLabel['axis']->font;
+            }
+
             $start = $axisLabel['start'];
             $end = $axisLabel['end'];
 

Modified: trunk/Graph/src/renderer/3d.php
==============================================================================
--- trunk/Graph/src/renderer/3d.php [iso-8859-1] (original)
+++ trunk/Graph/src/renderer/3d.php [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -2225,6 +2225,13 @@
         {
             foreach ( $this->axisLabels as $axisLabel )
             {
+                // If font should not be synchronized, use font configuration 
from
+                // each axis
+                if ( $this->options->syncAxisFonts === false )
+                {
+                    $this->driver->options->font = $axisLabel['axis']->font;
+                }
+
                 switch ( $axisLabel['axis']->position )
                 {
                     case ezcGraph::RIGHT:

Added: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
==============================================================================
--- 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
 (added)
+++ 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
 [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -1,0 +1,2 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg"; width="500" height="200" version="1.0" 
id="ezcGraph"><defs/><g id="ezcGraphChart" color-rendering="optimizeQuality" 
shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path 
d=" M 0.0000,200.0000 L 0.0000,0.0000 L 500.0000,0.0000 L 500.0000,200.0000 L 
0.0000,200.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_1"/><path d=" M 0.0000,200.0000 L 0.0000,0.0000 L 
100.0000,0.0000 L 100.0000,200.0000 L 0.0000,200.0000 z " style="fill: #000000; 
fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_2"/><path d=" M 
2.0000,16.0000 L 2.0000,2.0000 L 16.0000,2.0000 L 16.0000,16.0000 L 
2.0000,16.0000 z " style="fill: #3465a4; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_3"/><path d=" M 100.0000,180.0000 L 500.0000,180.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_5"/><path d=" 
M 492.0000,176.0000 L 500.0000,180.0000 L 492.0000,184.0000 L 492.0000,176.0000 
z " style="fill: #2e3436; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_6"/><path d=" M 140.0000,200.0000 L 140.0000,0.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_7"/><path d=" 
M 137.5000,5.0000 L 140.0000,0.0000 L 142.5000,5.0000 L 137.5000,5.0000 z " 
style="fill: #2e3436; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_8"/><path d=" M 220.0000,20.0000 L 220.0000,180.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_9"/><path d=" 
M 220.0000,177.0000 L 220.0000,180.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_10"/><path d=" M 300.0000,20.0000 L 300.0000,180.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_12"/><path d=" 
M 300.0000,177.0000 L 300.0000,180.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_13"/><path d=" M 380.0000,20.0000 L 380.0000,180.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_15"/><path d=" 
M 380.0000,177.0000 L 380.0000,180.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_16"/><path d=" M 460.0000,20.0000 L 460.0000,180.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_18"/><path d=" 
M 460.0000,177.0000 L 460.0000,180.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_19"/><path d=" M 140.0000,172.0000 L 
460.0000,172.0000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_22"/><path d=" M 140.0000,172.0000 L 141.0000,172.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_23"/><path d=" 
M 140.0000,164.0000 L 460.0000,164.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_24"/><path d=" M 140.0000,164.0000 L 
141.0000,164.0000" style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_25"/><path d=" M 140.0000,156.0000 L 460.0000,156.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_26"/><path d=" 
M 140.0000,156.0000 L 141.0000,156.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_27"/><path d=" M 140.0000,148.0000 L 
460.0000,148.0000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_28"/><path d=" M 140.0000,148.0000 L 143.0000,148.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_29"/><path d=" 
M 140.0000,140.0000 L 460.0000,140.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_31"/><path d=" M 140.0000,140.0000 L 
141.0000,140.0000" style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_32"/><path d=" M 140.0000,132.0000 L 460.0000,132.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_33"/><path d=" 
M 140.0000,132.0000 L 141.0000,132.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_34"/><path d=" M 140.0000,124.0000 L 
460.0000,124.0000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_35"/><path d=" M 140.0000,124.0000 L 141.0000,124.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_36"/><path d=" 
M 140.0000,116.0000 L 460.0000,116.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_37"/><path d=" M 140.0000,116.0000 L 
143.0000,116.0000" style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_38"/><path d=" M 140.0000,108.0000 L 460.0000,108.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_40"/><path d=" 
M 140.0000,108.0000 L 141.0000,108.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_41"/><path d=" M 140.0000,100.0000 L 
460.0000,100.0000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_42"/><path d=" M 140.0000,100.0000 L 141.0000,100.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_43"/><path d=" 
M 140.0000,92.0000 L 460.0000,92.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_44"/><path d=" M 140.0000,92.0000 L 141.0000,92.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_45"/><path d=" 
M 140.0000,84.0000 L 460.0000,84.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_46"/><path d=" M 140.0000,84.0000 L 143.0000,84.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_47"/><path d=" 
M 140.0000,76.0000 L 460.0000,76.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_49"/><path d=" M 140.0000,76.0000 L 141.0000,76.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_50"/><path d=" 
M 140.0000,68.0000 L 460.0000,68.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_51"/><path d=" M 140.0000,68.0000 L 141.0000,68.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_52"/><path d=" 
M 140.0000,60.0000 L 460.0000,60.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_53"/><path d=" M 140.0000,60.0000 L 141.0000,60.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_54"/><path d=" 
M 140.0000,52.0000 L 460.0000,52.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_55"/><path d=" M 140.0000,52.0000 L 143.0000,52.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_56"/><path d=" 
M 140.0000,44.0000 L 460.0000,44.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_58"/><path d=" M 140.0000,44.0000 L 141.0000,44.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_59"/><path d=" 
M 140.0000,36.0000 L 460.0000,36.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_60"/><path d=" M 140.0000,36.0000 L 141.0000,36.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_61"/><path d=" 
M 140.0000,28.0000 L 460.0000,28.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_62"/><path d=" M 140.0000,28.0000 L 141.0000,28.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_63"/><path d=" 
M 140.0000,20.0000 L 460.0000,20.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_64"/><path d=" M 140.0000,20.0000 L 143.0000,20.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_65"/><path d=" 
M 140.0000,40.0000 L 140.0000,40.0000" style="fill: none; stroke: #3465a4; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_67"/><path d=" M 140.0000,40.0000 L 220.0000,168.9600" 
style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_68"/><path d=" 
M 220.0000,168.9600 L 300.0000,141.4720" style="fill: none; stroke: #3465a4; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_69"/><path d=" M 300.0000,141.4720 L 
380.0000,172.6080" style="fill: none; stroke: #3465a4; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_70"/><path d=" M 380.0000,172.6080 L 460.0000,148.4160" 
style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_71"/><g 
id="ezcGraphTextBox_4"><path d=" M 16.5000,17.0000 L 16.5000,1.5000 L 
62.5200,1.5000 L 62.5200,17.0000 L 16.5000,17.0000 z " style="fill: #ffffff; 
fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_72"/><text 
id="ezcGraphTextBox_4_text" x="17.0000" text-length="44.5200px" y="13.9000" 
style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">sample</text></g><g id="ezcGraphTextBox_11"><path d=" M 
211.0200,199.0000 L 211.0200,181.5000 L 229.4800,181.5000 L 229.4800,199.0000 L 
211.0200,199.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_73"/><text id="ezcGraphTextBox_11_text" x="211.5200" 
text-length="16.9600px" y="195.6000" style="font-size: 16px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">IE</text></g><g 
id="ezcGraphTextBox_14"><path d=" M 278.3000,199.0000 L 278.3000,181.5000 L 
322.2000,181.5000 L 322.2000,199.0000 L 278.3000,199.0000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_74"/><text 
id="ezcGraphTextBox_14_text" x="278.8000" text-length="42.4000px" y="195.6000" 
style="font-size: 16px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">Opera</text></g><g id="ezcGraphTextBox_17"><path d=" M 
362.5400,199.0000 L 362.5400,181.5000 L 397.9600,181.5000 L 397.9600,199.0000 L 
362.5400,199.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_75"/><text id="ezcGraphTextBox_17_text" x="363.0400" 
text-length="33.9200px" y="195.6000" style="font-size: 16px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">wget</text></g><g 
id="ezcGraphTextBox_20"><path d=" M 434.0600,199.0000 L 434.0600,181.5000 L 
486.4400,181.5000 L 486.4400,199.0000 L 434.0600,199.0000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_76"/><text 
id="ezcGraphTextBox_20_text" x="434.5600" text-length="50.8800px" y="195.6000" 
style="font-size: 16px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">Safari</text></g><g id="ezcGraphTextBox_21"><path d=" M 
130.0600,179.0000 L 130.0600,165.5000 L 139.0000,165.5000 L 139.0000,179.0000 L 
130.0600,179.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_77"/><text id="ezcGraphTextBox_21_text" x="130.5600" 
text-length="7.4400px" y="176.2000" style="font-size: 12px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">0</text></g><g 
id="ezcGraphTextBox_30"><path d=" M 107.7400,147.0000 L 107.7400,133.5000 L 
139.0000,133.5000 L 139.0000,147.0000 L 107.7400,147.0000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_78"/><text 
id="ezcGraphTextBox_30_text" x="108.2400" text-length="29.7600px" y="144.2000" 
style="font-size: 12px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">1000</text></g><g id="ezcGraphTextBox_39"><path d=" M 
107.7400,115.0000 L 107.7400,101.5000 L 139.0000,101.5000 L 139.0000,115.0000 L 
107.7400,115.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_79"/><text id="ezcGraphTextBox_39_text" x="108.2400" 
text-length="29.7600px" y="112.2000" style="font-size: 12px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">2000</text></g><g 
id="ezcGraphTextBox_48"><path d=" M 107.7400,83.0000 L 107.7400,69.5000 L 
139.0000,69.5000 L 139.0000,83.0000 L 107.7400,83.0000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_80"/><text 
id="ezcGraphTextBox_48_text" x="108.2400" text-length="29.7600px" y="80.2000" 
style="font-size: 12px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">3000</text></g><g id="ezcGraphTextBox_57"><path d=" M 
107.7400,51.0000 L 107.7400,37.5000 L 139.0000,37.5000 L 139.0000,51.0000 L 
107.7400,51.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_81"/><text id="ezcGraphTextBox_57_text" x="108.2400" 
text-length="29.7600px" y="48.2000" style="font-size: 12px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">4000</text></g><g 
id="ezcGraphTextBox_66"><path d=" M 107.7400,35.0000 L 107.7400,21.5000 L 
139.0000,21.5000 L 139.0000,35.0000 L 107.7400,35.0000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_82"/><text 
id="ezcGraphTextBox_66_text" x="108.2400" text-length="29.7600px" y="32.2000" 
style="font-size: 12px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">5000</text></g></g></svg>

Propchange: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts.svg
------------------------------------------------------------------------------
    svn:mimetype = application/octet-stream

Added: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
==============================================================================
--- 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
 (added)
+++ 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
 [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -1,0 +1,2 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg"; width="500" height="200" version="1.0" 
id="ezcGraph"><defs/><g id="ezcGraphChart" color-rendering="optimizeQuality" 
shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path 
d=" M 0.0000,200.0000 L 0.0000,0.0000 L 500.0000,0.0000 L 500.0000,200.0000 L 
0.0000,200.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_1"/><path d=" M 0.0000,200.0000 L 0.0000,0.0000 L 
100.0000,0.0000 L 100.0000,200.0000 L 0.0000,200.0000 z " style="fill: #000000; 
fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_2"/><path d=" M 
2.0000,16.0000 L 2.0000,2.0000 L 16.0000,2.0000 L 16.0000,16.0000 L 
2.0000,16.0000 z " style="fill: #3465a4; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_3"/><path d=" M 100.0000,182.0000 L 120.0000,162.0000 L 
500.0000,162.0000 L 480.0000,182.0000 L 100.0000,182.0000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_5"/><path d=" M 
120.0000,162.0000 L 500.0000,162.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_6"/><path d=" M 492.0000,158.0000 L 500.0000,162.0000 
L 492.0000,166.0000 L 492.0000,158.0000 z " style="fill: #2e3436; fill-opacity: 
1.00; stroke: none;" id="ezcGraphPolygon_7"/><path d=" M 138.0000,200.0000 L 
158.0000,180.0000 L 158.0000,0.0000 L 138.0000,20.0000 L 138.0000,200.0000 z " 
style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_8"/><path d=" M 158.0000,180.0000 L 158.0000,0.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_9"/><path d=" 
M 155.5000,5.0000 L 158.0000,0.0000 L 160.5000,5.0000 L 155.5000,5.0000 z " 
style="fill: #2e3436; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_10"/><path d=" M 234.0000,162.0000 L 234.0000,18.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_11"/><path d=" 
M 214.0000,179.3000 L 234.0000,159.3000 L 234.0000,162.0000 L 214.0000,182.0000 
L 214.0000,179.3000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: 
none;" id="ezcGraphPolygon_12"/><path d=" M 233.5000,160.5071 L 
233.5000,161.7929 L 214.5000,180.7929 L 214.5000,179.5071 L 233.5000,160.5071 z 
" style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_13"/><path 
d=" M 310.0000,162.0000 L 310.0000,18.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_15"/><path d=" M 290.0000,179.3000 L 310.0000,159.3000 
L 310.0000,162.0000 L 290.0000,182.0000 L 290.0000,179.3000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_16"/><path d=" 
M 309.5000,160.5071 L 309.5000,161.7929 L 290.5000,180.7929 L 290.5000,179.5071 
L 309.5000,160.5071 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_17"/><path d=" M 386.0000,162.0000 L 386.0000,18.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_19"/><path d=" 
M 366.0000,179.3000 L 386.0000,159.3000 L 386.0000,162.0000 L 366.0000,182.0000 
L 366.0000,179.3000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: 
none;" id="ezcGraphPolygon_20"/><path d=" M 385.5000,160.5071 L 
385.5000,161.7929 L 366.5000,180.7929 L 366.5000,179.5071 L 385.5000,160.5071 z 
" style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_21"/><path 
d=" M 462.0000,162.0000 L 462.0000,18.0000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_23"/><path d=" M 442.0000,179.3000 L 462.0000,159.3000 
L 462.0000,162.0000 L 442.0000,182.0000 L 442.0000,179.3000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_24"/><path d=" 
M 461.5000,160.5071 L 461.5000,161.7929 L 442.5000,180.7929 L 442.5000,179.5071 
L 461.5000,160.5071 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_25"/><path d=" M 462.0000,154.8000 L 158.0000,154.8000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_28"/><path d=" 
M 138.0000,174.8000 L 158.0000,154.8000 L 158.9500,154.8000 L 138.9500,174.8000 
L 138.0000,174.8000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: 
none;" id="ezcGraphPolygon_29"/><path d=" M 158.2071,155.3000 L 
157.7429,155.3000 L 138.7429,174.3000 L 139.2071,174.3000 L 158.2071,155.3000 z 
" style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_30"/><path 
d=" M 462.0000,147.6000 L 158.0000,147.6000" style="fill: none; stroke: 
#000000; stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphLine_31"/><path d=" M 138.0000,167.6000 L 
158.0000,147.6000 L 158.9500,147.6000 L 138.9500,167.6000 L 138.0000,167.6000 z 
" style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_32"/><path d=" M 158.2071,148.1000 L 157.7429,148.1000 L 
138.7429,167.1000 L 139.2071,167.1000 L 158.2071,148.1000 z " style="fill: 
none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: 
round; stroke-linejoin: round;" id="ezcGraphPolygon_33"/><path d=" M 
462.0000,140.4000 L 158.0000,140.4000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_34"/><path d=" M 138.0000,160.4000 L 158.0000,140.4000 
L 158.9500,140.4000 L 138.9500,160.4000 L 138.0000,160.4000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_35"/><path d=" 
M 158.2071,140.9000 L 157.7429,140.9000 L 138.7429,159.9000 L 139.2071,159.9000 
L 158.2071,140.9000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_36"/><path d=" M 462.0000,133.2000 L 158.0000,133.2000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_37"/><path d=" 
M 138.0000,153.2000 L 158.0000,133.2000 L 160.8500,133.2000 L 140.8500,153.2000 
L 138.0000,153.2000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: 
none;" id="ezcGraphPolygon_38"/><path d=" M 158.2071,133.7000 L 
159.6429,133.7000 L 140.6429,152.7000 L 139.2071,152.7000 L 158.2071,133.7000 z 
" style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_39"/><path 
d=" M 462.0000,126.0000 L 158.0000,126.0000" style="fill: none; stroke: 
#000000; stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphLine_41"/><path d=" M 138.0000,146.0000 L 
158.0000,126.0000 L 158.9500,126.0000 L 138.9500,146.0000 L 138.0000,146.0000 z 
" style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_42"/><path d=" M 158.2071,126.5000 L 157.7429,126.5000 L 
138.7429,145.5000 L 139.2071,145.5000 L 158.2071,126.5000 z " style="fill: 
none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: 
round; stroke-linejoin: round;" id="ezcGraphPolygon_43"/><path d=" M 
462.0000,118.8000 L 158.0000,118.8000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_44"/><path d=" M 138.0000,138.8000 L 158.0000,118.8000 
L 158.9500,118.8000 L 138.9500,138.8000 L 138.0000,138.8000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_45"/><path d=" 
M 158.2071,119.3000 L 157.7429,119.3000 L 138.7429,138.3000 L 139.2071,138.3000 
L 158.2071,119.3000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_46"/><path d=" M 462.0000,111.6000 L 158.0000,111.6000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_47"/><path d=" 
M 138.0000,131.6000 L 158.0000,111.6000 L 158.9500,111.6000 L 138.9500,131.6000 
L 138.0000,131.6000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: 
none;" id="ezcGraphPolygon_48"/><path d=" M 158.2071,112.1000 L 
157.7429,112.1000 L 138.7429,131.1000 L 139.2071,131.1000 L 158.2071,112.1000 z 
" style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_49"/><path 
d=" M 462.0000,104.4000 L 158.0000,104.4000" style="fill: none; stroke: 
#000000; stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphLine_50"/><path d=" M 138.0000,124.4000 L 
158.0000,104.4000 L 160.8500,104.4000 L 140.8500,124.4000 L 138.0000,124.4000 z 
" style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_51"/><path d=" M 158.2071,104.9000 L 159.6429,104.9000 L 
140.6429,123.9000 L 139.2071,123.9000 L 158.2071,104.9000 z " style="fill: 
none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: 
round; stroke-linejoin: round;" id="ezcGraphPolygon_52"/><path d=" M 
462.0000,97.2000 L 158.0000,97.2000" style="fill: none; stroke: #000000; 
stroke-width: 1; stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_54"/><path d=" M 138.0000,117.2000 L 158.0000,97.2000 
L 158.9500,97.2000 L 138.9500,117.2000 L 138.0000,117.2000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_55"/><path d=" 
M 158.2071,97.7000 L 157.7429,97.7000 L 138.7429,116.7000 L 139.2071,116.7000 L 
158.2071,97.7000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_56"/><path d=" M 462.0000,90.0000 L 158.0000,90.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_57"/><path d=" 
M 138.0000,110.0000 L 158.0000,90.0000 L 158.9500,90.0000 L 138.9500,110.0000 L 
138.0000,110.0000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_58"/><path d=" M 158.2071,90.5000 L 157.7429,90.5000 L 
138.7429,109.5000 L 139.2071,109.5000 L 158.2071,90.5000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_59"/><path d=" M 462.0000,82.8000 
L 158.0000,82.8000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_60"/><path d=" M 138.0000,102.8000 L 158.0000,82.8000 L 
158.9500,82.8000 L 138.9500,102.8000 L 138.0000,102.8000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_61"/><path d=" 
M 158.2071,83.3000 L 157.7429,83.3000 L 138.7429,102.3000 L 139.2071,102.3000 L 
158.2071,83.3000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_62"/><path d=" M 462.0000,75.6000 L 158.0000,75.6000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_63"/><path d=" 
M 138.0000,95.6000 L 158.0000,75.6000 L 160.8500,75.6000 L 140.8500,95.6000 L 
138.0000,95.6000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_64"/><path d=" M 158.2071,76.1000 L 159.6429,76.1000 L 
140.6429,95.1000 L 139.2071,95.1000 L 158.2071,76.1000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_65"/><path d=" M 462.0000,68.4000 
L 158.0000,68.4000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_67"/><path d=" M 138.0000,88.4000 L 158.0000,68.4000 L 
158.9500,68.4000 L 138.9500,88.4000 L 138.0000,88.4000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_68"/><path d=" 
M 158.2071,68.9000 L 157.7429,68.9000 L 138.7429,87.9000 L 139.2071,87.9000 L 
158.2071,68.9000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_69"/><path d=" M 462.0000,61.2000 L 158.0000,61.2000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_70"/><path d=" 
M 138.0000,81.2000 L 158.0000,61.2000 L 158.9500,61.2000 L 138.9500,81.2000 L 
138.0000,81.2000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_71"/><path d=" M 158.2071,61.7000 L 157.7429,61.7000 L 
138.7429,80.7000 L 139.2071,80.7000 L 158.2071,61.7000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_72"/><path d=" M 462.0000,54.0000 
L 158.0000,54.0000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_73"/><path d=" M 138.0000,74.0000 L 158.0000,54.0000 L 
158.9500,54.0000 L 138.9500,74.0000 L 138.0000,74.0000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_74"/><path d=" 
M 158.2071,54.5000 L 157.7429,54.5000 L 138.7429,73.5000 L 139.2071,73.5000 L 
158.2071,54.5000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_75"/><path d=" M 462.0000,46.8000 L 158.0000,46.8000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_76"/><path d=" 
M 138.0000,66.8000 L 158.0000,46.8000 L 160.8500,46.8000 L 140.8500,66.8000 L 
138.0000,66.8000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_77"/><path d=" M 158.2071,47.3000 L 159.6429,47.3000 L 
140.6429,66.3000 L 139.2071,66.3000 L 158.2071,47.3000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_78"/><path d=" M 462.0000,39.6000 
L 158.0000,39.6000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_80"/><path d=" M 138.0000,59.6000 L 158.0000,39.6000 L 
158.9500,39.6000 L 138.9500,59.6000 L 138.0000,59.6000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_81"/><path d=" 
M 158.2071,40.1000 L 157.7429,40.1000 L 138.7429,59.1000 L 139.2071,59.1000 L 
158.2071,40.1000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_82"/><path d=" M 462.0000,32.4000 L 158.0000,32.4000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_83"/><path d=" 
M 138.0000,52.4000 L 158.0000,32.4000 L 158.9500,32.4000 L 138.9500,52.4000 L 
138.0000,52.4000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_84"/><path d=" M 158.2071,32.9000 L 157.7429,32.9000 L 
138.7429,51.9000 L 139.2071,51.9000 L 158.2071,32.9000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_85"/><path d=" M 462.0000,25.2000 
L 158.0000,25.2000" style="fill: none; stroke: #000000; stroke-width: 1; 
stroke-opacity: 0.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_86"/><path d=" M 138.0000,45.2000 L 158.0000,25.2000 L 
158.9500,25.2000 L 138.9500,45.2000 L 138.0000,45.2000 z " style="fill: 
#2e3436; fill-opacity: 0.20; stroke: none;" id="ezcGraphPolygon_87"/><path d=" 
M 158.2071,25.7000 L 157.7429,25.7000 L 138.7429,44.7000 L 139.2071,44.7000 L 
158.2071,25.7000 z " style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_88"/><path d=" M 462.0000,18.0000 L 158.0000,18.0000" 
style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 0.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_89"/><path d=" 
M 138.0000,38.0000 L 158.0000,18.0000 L 160.8500,18.0000 L 140.8500,38.0000 L 
138.0000,38.0000 z " style="fill: #2e3436; fill-opacity: 0.20; stroke: none;" 
id="ezcGraphPolygon_90"/><path d=" M 158.2071,18.5000 L 159.6429,18.5000 L 
140.6429,37.5000 L 139.2071,37.5000 L 158.2071,18.5000 z " style="fill: none; 
stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphPolygon_91"/><path d=" M 158.0000,36.0000 
L 138.0000,56.0000 L 138.0000,56.0000 L 158.0000,36.0000 L 158.0000,36.0000 z " 
style="fill: #3465a4; fill-opacity: 1.00; stroke: none;" 
id="ezcGraphPolygon_93"/><path d=" M 158.0000,36.0000 L 138.0000,56.0000 L 
214.0000,172.0640 L 234.0000,152.0640 L 158.0000,36.0000 z " style="fill: 
#3465a4; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_94"/><path d=" 
M 138.6410,56.0661 L 214.0814,171.2755 L 233.3590,151.9979 L 157.9186,36.7885 L 
138.6410,56.0661 z " style="fill: none; stroke: #1a3352; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_95"/><path d=" M 234.0000,152.0640 L 214.0000,172.0640 L 
290.0000,147.3248 L 310.0000,127.3248 L 234.0000,152.0640 z " style="fill: 
#3465a4; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_96"/><path d=" 
M 215.8280,170.9431 L 289.7312,146.8865 L 308.1720,128.4457 L 234.2688,152.5023 
L 215.8280,170.9431 z " style="fill: none; stroke: #1a3352; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_97"/><path d=" M 310.0000,127.3248 L 290.0000,147.3248 L 
366.0000,175.3472 L 386.0000,155.3472 L 310.0000,127.3248 z " style="fill: 
#3465a4; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_98"/><path d=" 
M 290.9060,147.1259 L 365.8727,174.7674 L 385.0940,155.5461 L 310.1273,127.9046 
L 290.9060,147.1259 z " style="fill: none; stroke: #1a3352; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_99"/><path d=" M 386.0000,155.3472 L 366.0000,175.3472 L 
442.0000,153.5744 L 462.0000,133.5744 L 386.0000,155.3472 z " style="fill: 
#3465a4; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_100"/><path d=" 
M 367.7200,174.3343 L 441.7379,153.1294 L 460.2800,134.5873 L 386.2621,155.7922 
L 367.7200,174.3343 z " style="fill: none; stroke: #1a3352; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphPolygon_101"/><path d=" M 500.0000,162.0000 L 480.0000,182.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_102"/><path 
d=" M 480.0000,182.0000 L 100.0000,182.0000" style="fill: none; stroke: 
#2e3436; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; 
stroke-linejoin: round;" id="ezcGraphLine_103"/><path d=" M 100.0000,182.0000 L 
120.0000,162.0000" style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_104"/><path d=" M 158.0000,0.0000 L 138.0000,20.0000" 
style="fill: none; stroke: #2e3436; stroke-width: 1; stroke-opacity: 1.00; 
stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_105"/><path 
d=" M 138.0000,20.0000 L 138.0000,200.0000" style="fill: none; stroke: #2e3436; 
stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: 
round;" id="ezcGraphLine_106"/><path d=" M 138.0000,200.0000 L 
158.0000,180.0000" style="fill: none; stroke: #2e3436; stroke-width: 1; 
stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" 
id="ezcGraphLine_107"/><g id="ezcGraphTextBox_4"><path d=" M 16.5000,17.0000 L 
16.5000,1.5000 L 62.5200,1.5000 L 62.5200,17.0000 L 16.5000,17.0000 z " 
style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_108"/><text id="ezcGraphTextBox_4_text" x="17.0000" 
text-length="44.5200px" y="13.9000" style="font-size: 14px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: 
none;">sample</text></g><g id="ezcGraphTextBox_14"><path d=" M 
205.8680,199.2000 L 205.8680,183.3000 L 222.6320,183.3000 L 222.6320,199.2000 L 
205.8680,199.2000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_109"/><text id="ezcGraphTextBox_14_text" x="206.3680" 
text-length="15.2640px" y="196.0400" style="font-size: 14px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">IE</text></g><g 
id="ezcGraphTextBox_18"><path d=" M 270.4200,199.2000 L 270.4200,183.3000 L 
310.0800,183.3000 L 310.0800,199.2000 L 270.4200,199.2000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_110"/><text 
id="ezcGraphTextBox_18_text" x="270.9200" text-length="38.1600px" y="196.0400" 
style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">Opera</text></g><g id="ezcGraphTextBox_22"><path d=" M 
350.2360,199.2000 L 350.2360,183.3000 L 382.2640,183.3000 L 382.2640,199.2000 L 
350.2360,199.2000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_111"/><text id="ezcGraphTextBox_22_text" x="350.7360" 
text-length="30.5280px" y="196.0400" style="font-size: 14px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">wget</text></g><g 
id="ezcGraphTextBox_26"><path d=" M 418.6040,199.2000 L 418.6040,183.3000 L 
465.8960,183.3000 L 465.8960,199.2000 L 418.6040,199.2000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_112"/><text 
id="ezcGraphTextBox_26_text" x="419.1040" text-length="45.7920px" y="196.0400" 
style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">Safari</text></g><g id="ezcGraphTextBox_27"><path d=" M 
128.9040,181.2000 L 128.9040,168.9000 L 137.1000,168.9000 L 137.1000,181.2000 L 
128.9040,181.2000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_113"/><text id="ezcGraphTextBox_27_text" x="129.4040" 
text-length="6.6960px" y="178.5800" style="font-size: 10px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">0</text></g><g 
id="ezcGraphTextBox_40"><path d=" M 108.8160,152.4000 L 108.8160,140.1000 L 
137.1000,140.1000 L 137.1000,152.4000 L 108.8160,152.4000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_114"/><text 
id="ezcGraphTextBox_40_text" x="109.3160" text-length="26.7840px" y="149.7800" 
style="font-size: 10px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">1000</text></g><g id="ezcGraphTextBox_53"><path d=" M 
108.8160,123.6000 L 108.8160,111.3000 L 137.1000,111.3000 L 137.1000,123.6000 L 
108.8160,123.6000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_115"/><text id="ezcGraphTextBox_53_text" x="109.3160" 
text-length="26.7840px" y="120.9800" style="font-size: 10px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">2000</text></g><g 
id="ezcGraphTextBox_66"><path d=" M 108.8160,94.8000 L 108.8160,82.5000 L 
137.1000,82.5000 L 137.1000,94.8000 L 108.8160,94.8000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_116"/><text 
id="ezcGraphTextBox_66_text" x="109.3160" text-length="26.7840px" y="92.1800" 
style="font-size: 10px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">3000</text></g><g id="ezcGraphTextBox_79"><path d=" M 
108.8160,66.0000 L 108.8160,53.7000 L 137.1000,53.7000 L 137.1000,66.0000 L 
108.8160,66.0000 z " style="fill: #ffffff; fill-opacity: 0.00; stroke: none;" 
id="ezcGraphPolygon_117"/><text id="ezcGraphTextBox_79_text" x="109.3160" 
text-length="26.7840px" y="63.3800" style="font-size: 10px; font-family: 
sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">4000</text></g><g 
id="ezcGraphTextBox_92"><path d=" M 108.8160,51.6000 L 108.8160,39.3000 L 
137.1000,39.3000 L 137.1000,51.6000 L 108.8160,51.6000 z " style="fill: 
#ffffff; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_118"/><text 
id="ezcGraphTextBox_92_text" x="109.3160" text-length="26.7840px" y="48.9800" 
style="font-size: 10px; font-family: sans-serif; fill: #2e3436; fill-opacity: 
1.00; stroke: none;">5000</text></g></g></svg>

Propchange: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
trunk/Graph/tests/data/compare/ezcGraphLineChartTest_testLineChartUnsyncedFonts3d.svg
------------------------------------------------------------------------------
    svn:mimetype = application/octet-stream

Modified: trunk/Graph/tests/line_test.php
==============================================================================
--- trunk/Graph/tests/line_test.php [iso-8859-1] (original)
+++ trunk/Graph/tests/line_test.php [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -956,14 +956,11 @@
         );
     }
 
-    public function testStackedBarChart()
+    public function testLineChartUnsyncedFonts()
     {
         $filename = $this->tempDir . __FUNCTION__ . '.svg';
 
-        $chart = new ezcGraphBarChart();
-
-        $chart->options->stackBars = true;
-
+        $chart = new ezcGraphLineChart();
         $chart->data['sample'] = new ezcGraphArrayDataSet( array(
             'Mozilla' => 4375,
             'IE' => 345,
@@ -972,6 +969,58 @@
             'Safari' => 987,
         ) );
 
+        $chart->renderer->options->syncAxisFonts = false;
+
+        $chart->driver = new ezcGraphSvgDriver();
+        $chart->render( 500, 200, $filename );
+
+        $this->compare(
+            $filename,
+            $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . 
'.svg'
+        );
+    }
+
+    public function testLineChartUnsyncedFonts3d()
+    {
+        $filename = $this->tempDir . __FUNCTION__ . '.svg';
+
+        $chart = new ezcGraphLineChart();
+        $chart->data['sample'] = new ezcGraphArrayDataSet( array(
+            'Mozilla' => 4375,
+            'IE' => 345,
+            'Opera' => 1204,
+            'wget' => 231,
+            'Safari' => 987,
+        ) );
+
+        $chart->renderer = new ezcGraphRenderer3d();
+        $chart->renderer->options->syncAxisFonts = false;
+
+        $chart->driver = new ezcGraphSvgDriver();
+        $chart->render( 500, 200, $filename );
+
+        $this->compare(
+            $filename,
+            $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . 
'.svg'
+        );
+    }
+
+    public function testStackedBarChart()
+    {
+        $filename = $this->tempDir . __FUNCTION__ . '.svg';
+
+        $chart = new ezcGraphBarChart();
+
+        $chart->options->stackBars = true;
+
+        $chart->data['sample'] = new ezcGraphArrayDataSet( array(
+            'Mozilla' => 4375,
+            'IE' => 345,
+            'Opera' => 1204,
+            'wget' => 231,
+            'Safari' => 987,
+        ) );
+
         $chart->data['sample 2'] = new ezcGraphArrayDataSet( array(
             'Mozilla' => 4352,
             'IE' => 745,

Modified: trunk/Graph/tests/renderer_2d_test.php
==============================================================================
--- trunk/Graph/tests/renderer_2d_test.php [iso-8859-1] (original)
+++ trunk/Graph/tests/renderer_2d_test.php [iso-8859-1] Mon Jan  7 10:59:44 2008
@@ -2191,6 +2191,35 @@
         $this->fail( 'Expected ezcBaseValueException.' );
     }
 
+    public function testRendererOptionsPropertySyncAxisFonts()
+    {
+        $options = new ezcGraphRendererOptions();
+
+        $this->assertSame(
+            true,
+            $options->syncAxisFonts,
+            'Wrong default value for property syncAxisFonts in class 
ezcGraphRendererOptions'
+        );
+
+        $options->syncAxisFonts = false;
+        $this->assertSame(
+            false,
+            $options->syncAxisFonts,
+            'Setting property value did not work for property syncAxisFonts in 
class ezcGraphRendererOptions'
+        );
+
+        try
+        {
+            $options->syncAxisFonts = 42;
+        }
+        catch ( ezcBaseValueException $e )
+        {
+            return true;
+        }
+
+        $this->fail( 'Expected ezcBaseValueException.' );
+    }
+
     public function testRendererOptionsPropertySymbolSize()
     {
         $options = new ezcGraphRendererOptions();


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to