diff options
-rw-r--r-- | src/graph_autoload.php | 1 | ||||
-rw-r--r-- | src/palette/ez.php | 89 | ||||
-rw-r--r-- | src/renderer/3d.php | 2 | ||||
-rw-r--r-- | tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartBlue.svg | 2 | ||||
-rw-r--r-- | tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartEz.svg | 2 | ||||
-rw-r--r-- | tests/renderer_2d_test.php | 4 | ||||
-rw-r--r-- | tests/renderer_3d_test.php | 66 |
7 files changed, 163 insertions, 3 deletions
diff --git a/src/graph_autoload.php b/src/graph_autoload.php index 5e451f7..da5e60d 100644 --- a/src/graph_autoload.php +++ b/src/graph_autoload.php @@ -63,6 +63,7 @@ return array( 'ezcGraphPaletteTango' => 'Graph/palette/tango.php', 'ezcGraphPaletteBlack' => 'Graph/palette/black.php', 'ezcGraphPaletteEzBlue' => 'Graph/palette/ez_blue.php', + 'ezcGraphPaletteEz' => 'Graph/palette/ez.php', 'ezcGraphUnknownPaletteException' => 'Graph/exceptions/unknown_palette.php', 'ezcGraphChartElement' => 'Graph/interfaces/element.php', diff --git a/src/palette/ez.php b/src/palette/ez.php new file mode 100644 index 0000000..9cfef1d --- /dev/null +++ b/src/palette/ez.php @@ -0,0 +1,89 @@ +<?php +/** + * File containing the abstract ezcGraphPaletteEz class + * + * @package Graph + * @version //autogentag// + * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved. + * @license http://ez.no/licenses/new_bsd New BSD License + */ +/** + * Color pallet for ezcGraph based on eZ color scheme + * + * @package Graph + */ +class ezcGraphPaletteEz extends ezcGraphPalette +{ + /** + * Axiscolor + * + * @var ezcGraphColor + */ + protected $axisColor = '#1E1E1E'; + + /** + * Array with colors for datasets + * + * @var array + */ + protected $dataSetColor = array( + '#C60C30', + '#C90062', + '#E05206', + '#F0AB00', + '#D4BA00', + '#9C9A00', + '#3C8A2E', + '#006983', + '#0098C3', + '#21578A', + '#55517B', + '#4E7D5B', + ); + + /** + * Array with symbols for datasets + * + * @var array + */ + protected $dataSetSymbol = array( + ezcGraph::BULLET, + ); + + /** + * Name of font to use + * + * @var string + */ + protected $fontName = 'sans-serif'; + + /** + * Fontcolor + * + * @var ezcGraphColor + */ + protected $fontColor = '#1E1E1E'; + + /** + * Backgroundcolor for chart + * + * @var ezcGraphColor + */ + protected $chartBackground = '#FFFFFFFF'; + + /** + * Padding in elements + * + * @var integer + */ + protected $padding = 1; + + /** + * Margin of elements + * + * @var integer + */ + protected $margin = 0; +} + +?> diff --git a/src/renderer/3d.php b/src/renderer/3d.php index cbb2598..f53be9f 100644 --- a/src/renderer/3d.php +++ b/src/renderer/3d.php @@ -452,7 +452,7 @@ class ezcGraphRenderer3d extends ezcGraphRenderer $endAngle = $circleSector['end'] + ( $this->options->pieChartShadowSize - $i ); } - if ( $startAngle < ( $endAngle % 360 ) ) + if ( $endAngle - $startAngle >= 360 ) { // Skip if block is to big break; diff --git a/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartBlue.svg b/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartBlue.svg new file mode 100644 index 0000000..d5c24e2 --- /dev/null +++ b/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartBlue.svg @@ -0,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><linearGradient id="Definition_LinearGradient_6_6_11_11_9ee9ff00_354e8000"><stop offset="0" style="stop-color: #9ee9ff; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #354e80; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_6_11_11_9ee9ff00_354e8000" x1="6.100505066" y1="6.100505066" x2="11.899494934" y2="11.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_6_11_11_9ee9ff00_354e8000"/><linearGradient id="Definition_LinearGradient_6_24_11_29_c8ffff00_43578000"><stop offset="0" style="stop-color: #c8ffff; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #435780; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_24_11_29_c8ffff00_43578000" x1="6.100505066" y1="24.100505066" x2="11.899494934" y2="29.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_24_11_29_c8ffff00_43578000"/><linearGradient id="Definition_LinearGradient_6_42_11_47_f5ffff00_52618000"><stop offset="0" style="stop-color: #f5ffff; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #526180; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_42_11_47_f5ffff00_52618000" x1="6.100505066" y1="42.100505066" x2="11.899494934" y2="47.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_42_11_47_f5ffff00_52618000"/><linearGradient id="Definition_LinearGradient_6_60_11_65_ffffff00_5f6a8000"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #5f6a80; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_60_11_65_ffffff00_5f6a8000" x1="6.100505066" y1="60.100505066" x2="11.899494934" y2="65.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_60_11_65_ffffff00_5f6a8000"/><linearGradient id="Definition_LinearGradient_6_78_11_83_7eceff00_2a457900"><stop offset="0" style="stop-color: #7eceff; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #2a4579; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_78_11_83_7eceff00_2a457900" x1="6.100505066" y1="78.100505066" x2="11.899494934" y2="83.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_78_11_83_7eceff00_2a457900"/><linearGradient id="Definition_LinearGradient_210_92_390_92_ffffffbf_0000007f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.25;"/><stop offset="1" style="stop-color: #000000; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_210_92_390_92_ffffffbf_0000007f" x1="210" y1="92" x2="390" y2="92" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_210_92_390_92_ffffffbf_0000007f"/><linearGradient id="Definition_LinearGradient_219_89_399_89_ffffffbf_0000007f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.25;"/><stop offset="1" style="stop-color: #000000; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_219_89_399_89_ffffffbf_0000007f" x1="219.07224812614" y1="89.476123414749" x2="399.07224812614" y2="89.476123414749" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_219_89_399_89_ffffffbf_0000007f"/><linearGradient id="Definition_LinearGradient_300_92_210_46_ffffffff_ffffff7f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.00;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_300_92_210_46_ffffffff_ffffff7f" x1="300" y1="92" x2="210" y2="46" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_300_92_210_46_ffffffff_ffffff7f"/><linearGradient id="Definition_RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.50;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.20;"/></linearGradient><radialGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc" cx="236.36038969321" cy="124.52691193458" fx="236.36038969321" fy="124.52691193458" r="180" gradientUnits="userSpaceOnUse" xlink:href="#Definition_RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc"/><linearGradient id="Definition_LinearGradient_309_89_219_43_ffffffff_ffffff7f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.00;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_309_89_219_43_ffffffff_ffffff7f" x1="309.07224812614" y1="89.476123414749" x2="219.07224812614" y2="43.476123414749" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_309_89_219_43_ffffffff_ffffff7f"/><linearGradient id="Definition_RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.50;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.20;"/></linearGradient><radialGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc" cx="245.43263781935" cy="122.00303534933" fx="245.43263781935" fy="122.00303534933" r="180" gradientUnits="userSpaceOnUse" xlink:href="#Definition_RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc"/></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: #ffffff; 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"/><ellipse cx="9" cy="9" rx="7" ry="7" style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_3"/><ellipse cx="9" cy="9" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_6_11_11_9ee9ff00_354e8000); stroke: none;" id="ezcGraphCircle_4"/><ellipse cx="9" cy="27" rx="7" ry="7" style="fill: #85aeff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_6"/><ellipse cx="9" cy="27" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_24_11_29_c8ffff00_43578000); stroke: none;" id="ezcGraphCircle_7"/><ellipse cx="9" cy="45" rx="7" ry="7" style="fill: #a3c2ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_9"/><ellipse cx="9" cy="45" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_42_11_47_f5ffff00_52618000); stroke: none;" id="ezcGraphCircle_10"/><ellipse cx="9" cy="63" rx="7" ry="7" style="fill: #bdd3ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_12"/><ellipse cx="9" cy="63" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_60_11_65_ffffff00_5f6a8000); stroke: none;" id="ezcGraphCircle_13"/><ellipse cx="9" cy="81" rx="7" ry="7" style="fill: #5489f2; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_15"/><ellipse cx="9" cy="81" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_78_11_83_7eceff00_2a457900); stroke: none;" id="ezcGraphCircle_16"/><path d="M 300.00,108.00 L 400.00,108.00 A 100.00,56.00 0 1,1 364.61,65.26 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_18"/><path d="M 300.00,108.00 L 398.98,107.04 A 99.00,55.00 0 1,1 365.27,66.65 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_19"/><path d="M 300.00,108.00 L 397.94,106.12 A 98.00,54.00 0 1,1 365.89,68.03 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_20"/><path d="M 300.00,108.00 L 396.87,105.23 A 97.00,53.00 0 1,1 366.46,69.40 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_21"/><path d="M 300.00,108.00 L 395.77,104.37 A 96.00,52.00 0 1,1 366.99,70.75 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_22"/><path d="M 300.00,108.00 L 394.64,103.56 A 95.00,51.00 0 1,1 367.47,72.09 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_23"/><path d="M 300.00,108.00 L 393.49,102.77 A 94.00,50.00 0 1,1 367.90,73.42 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_24"/><path d="M 300.00,108.00 L 392.31,102.03 A 93.00,49.00 0 1,1 368.29,74.74 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_25"/><path d="M 300.00,108.00 L 391.10,101.32 A 92.00,48.00 0 1,1 368.64,76.04 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_26"/><path d="M 300.00,108.00 L 389.88,100.65 A 91.00,47.00 0 1,1 368.94,77.32 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_27"/><path d="M 309.07,105.48 L 373.68,62.73 A 100.00,56.00 0 0,1 409.07,105.48 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_28"/><path d="M 309.07,105.48 L 371.71,62.88 A 99.00,55.00 0 0,1 408.06,106.44 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_29"/><path d="M 309.07,105.48 L 369.74,63.07 A 98.00,54.00 0 0,1 407.01,107.36 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_30"/><path d="M 309.07,105.48 L 367.78,63.29 A 97.00,53.00 0 0,1 405.94,108.25 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_31"/><path d="M 309.07,105.48 L 365.84,63.54 A 96.00,52.00 0 0,1 404.84,109.10 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_32"/><path d="M 309.07,105.48 L 363.90,63.83 A 95.00,51.00 0 0,1 403.71,109.92 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_33"/><path d="M 309.07,105.48 L 361.97,64.15 A 94.00,50.00 0 0,1 402.56,110.70 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_34"/><path d="M 309.07,105.48 L 360.06,64.50 A 93.00,49.00 0 0,1 401.38,111.45 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_35"/><path d="M 309.07,105.48 L 358.16,64.88 A 92.00,48.00 0 0,1 400.18,112.16 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_36"/><path d="M 309.07,105.48 L 356.28,65.29 A 91.00,47.00 0 0,1 398.95,112.83 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_37"/><path d="M 343.09,67.61 A 90.00,46.00 0 0,0 252.20,69.03 L 252.20,53.03 A 90.00,46.000000 0 0,1 343.09,51.61 z" style="fill: #a3c2ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_38"/><path d="M 343.09,67.61 A 90.00,46.00 0 0,0 252.20,69.03 L 252.20,53.03 A 90.00,46.000000 0 0,1 343.09,51.61 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 358.15,72.89 A 90.00,46.00 0 0,0 343.09,67.61 L 343.09,51.61 A 90.00,46.000000 0 0,1 358.15,56.89 z" style="fill: #bdd3ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_39"/><path d="M 358.15,72.89 A 90.00,46.00 0 0,0 343.09,67.61 L 343.09,51.61 A 90.00,46.000000 0 0,1 358.15,56.89 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 252.20,69.03 A 90.00,46.00 0 0,0 231.59,78.11 L 231.59,62.11 A 90.00,46.000000 0 0,1 252.20,53.03 z" style="fill: #85aeff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_40"/><path d="M 252.20,69.03 A 90.00,46.00 0 0,0 231.59,78.11 L 231.59,62.11 A 90.00,46.000000 0 0,1 252.20,53.03 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 399.07,105.48 A 90.00,46.00 0 0,0 367.22,70.37 L 367.22,54.37 A 90.00,46.000000 0 0,1 399.07,89.48 z" style="fill: #5489f2; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_41"/><path d="M 399.07,105.48 A 90.00,46.00 0 0,0 367.22,70.37 L 367.22,54.37 A 90.00,46.000000 0 0,1 399.07,89.48 z" style="fill: url(#LinearGradient_219_89_399_89_ffffffbf_0000007f); stroke: none;"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: #a3c2ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_42"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: none; stroke: #a3c2ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_43"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: #bdd3ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_44"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: none; stroke: #bdd3ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_45"/><path d=" M 367.2225,54.3670 L 309.0722,89.4761 L 309.0722,105.4761 L 367.2225,70.3670 L 367.2225,54.3670 z " style="fill: #5489f2; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_46"/><path d=" M 367.2225,54.3670 L 309.0722,89.4761 L 309.0722,105.4761 L 367.2225,70.3670 L 367.2225,54.3670 z " style="fill: none; stroke: #5489f2; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_47"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: #85aeff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_48"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: none; stroke: #85aeff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_49"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: #a3c2ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_50"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: none; stroke: #a3c2ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_51"/><path d=" M 358.1502,56.8909 L 300.0000,92.0000 L 300.0000,108.0000 L 358.1502,72.8909 L 358.1502,56.8909 z " style="fill: #bdd3ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_52"/><path d=" M 358.1502,56.8909 L 300.0000,92.0000 L 300.0000,108.0000 L 358.1502,72.8909 L 358.1502,56.8909 z " style="fill: none; stroke: #bdd3ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_53"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_54"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: none; stroke: #699bff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_55"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: #85aeff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_56"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: none; stroke: #85aeff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_57"/><path d=" M 399.0722,89.4761 L 309.0722,89.4761 L 309.0722,105.4761 L 399.0722,105.4761 L 399.0722,89.4761 z " style="fill: #5489f2; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_58"/><path d=" M 399.0722,89.4761 L 309.0722,89.4761 L 309.0722,105.4761 L 399.0722,105.4761 L 399.0722,89.4761 z " style="fill: none; stroke: #5489f2; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_59"/><path d=" M 390.0000,92.0000 L 300.0000,92.0000 L 300.0000,108.0000 L 390.0000,108.0000 L 390.0000,92.0000 z " style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_60"/><path d=" M 390.0000,92.0000 L 300.0000,92.0000 L 300.0000,108.0000 L 390.0000,108.0000 L 390.0000,92.0000 z " style="fill: none; stroke: #699bff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_61"/><path d="M 210.00,108.00 A 90.00,46.00 0 0,0 390.00,108.00 L 390.00,92.00 A 90.00,46.000000 0 0,1 210.00,92.00 z" style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_62"/><path d="M 210.00,108.00 A 90.00,46.00 0 0,0 390.00,108.00 L 390.00,92.00 A 90.00,46.000000 0 0,1 210.00,92.00 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 231.59,78.11 A 90.00,46.00 0 0,0 210.00,108.00 L 210.00,92.00 A 90.00,46.000000 0 0,1 231.59,62.11 z" style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_63"/><path d="M 231.59,78.11 A 90.00,46.00 0 0,0 210.00,108.00 L 210.00,92.00 A 90.00,46.000000 0 0,1 231.59,62.11 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: #699bff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_64"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_65"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: none; stroke: #699bff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_66"/><path d="M 390.00,92.00 A 90.00,46.00 0 0,1 210.00,92.00" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_67"/><path d="M 210.00,92.00 A 90.00,46.00 0 0,1 231.59,62.11" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_68"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: #85aeff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_69"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_70"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: none; stroke: #85aeff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_71"/><path d="M 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_72"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: #a3c2ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_73"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_74"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: none; stroke: #a3c2ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_75"/><path d="M 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_76"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: #bdd3ff; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_77"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_78"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: none; stroke: #bdd3ff; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_79"/><path d="M 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_80"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: #5489f2; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_81"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: url(#LinearGradient_309_89_219_43_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_82"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: none; stroke: #5489f2; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_83"/><path d="M 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48" style="fill: none; stroke: url(#RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_84"/><path d=" M 297.9769,52.0184 L 220.6788,32.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_85"/><ellipse cx="297.97688217216" cy="52.018422768334" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_86"/><ellipse cx="220.67878888071" cy="32" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_87"/><path d=" M 256.4576,61.7104 L 206.2732,52.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_89"/><ellipse cx="256.45757254587" cy="61.710389172115" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_90"/><ellipse cx="206.27315120215" cy="52" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_91"/><path d=" M 276.9111,129.5245 L 206.2732,148.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_93"/><ellipse cx="276.91108607676" cy="129.52445521769" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_94"/><ellipse cx="206.27315120215" cy="148" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_95"/><path d=" M 337.6907,59.0062 L 387.4616,42.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_97"/><ellipse cx="337.69070236328" cy="59.006243864473" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_98"/><ellipse cx="387.46164741767" cy="42" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_99"/><path d=" M 369.5539,72.6503 L 399.2952,64.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_101"/><ellipse cx="369.55390230042" cy="72.650279513073" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_102"/><ellipse cx="399.29523031752" cy="64" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_103"/><text id="ezcGraphTextBox_5" x="17" text-length="51.94px" y="16" style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Mozilla</text><text id="ezcGraphTextBox_8" x="17" text-length="14.84px" y="34" style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">IE</text><text id="ezcGraphTextBox_11" x="17" text-length="37.1px" y="52" style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Opera</text><text id="ezcGraphTextBox_14" x="17" text-length="29.68px" y="70" style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">wget</text><text id="ezcGraphTextBox_17" x="17" text-length="44.52px" y="88" style="font-size: 14px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Safari</text><text id="ezcGraphTextBox_88" x="124.04878888071" text-length="90.63px" y="36.5" style="font-size: 9px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Opera: 1204 (16.9%)</text><text id="ezcGraphTextBox_92" x="133.49315120215" text-length="66.78px" y="56.5" style="font-size: 9px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">IE: 345 (4.8%)</text><text id="ezcGraphTextBox_96" x="100.10315120215" text-length="100.17px" y="152.5" style="font-size: 9px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Mozilla: 4375 (61.3%)</text><text id="ezcGraphTextBox_100" x="393.46164741767" text-length="76.32px" y="46.5" style="font-size: 9px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">wget: 231 (3.2%)</text><text id="ezcGraphTextBox_104" x="405.29523031752" text-length="90.63px" y="68.5" style="font-size: 9px; font-family: sans-serif; fill: #2e3436; fill-opacity: 1.00; stroke: none;">Safari: 987 (13.8%)</text></g></svg> diff --git a/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartEz.svg b/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartEz.svg new file mode 100644 index 0000000..cc9d8ec --- /dev/null +++ b/tests/data/compare/ezcGraphRenderer3dTest_testRenderLabeledPieChartEz.svg @@ -0,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><linearGradient id="Definition_LinearGradient_6_6_11_11_ff009300_65003100"><stop offset="0" style="stop-color: #ff0093; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #650031; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_6_11_11_ff009300_65003100" x1="6.100505066" y1="6.100505066" x2="11.899494934" y2="11.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_6_11_11_ff009300_65003100"/><linearGradient id="Definition_LinearGradient_6_24_11_29_ff7b0900_70290300"><stop offset="0" style="stop-color: #ff7b09; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #702903; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_24_11_29_ff7b0900_70290300" x1="6.100505066" y1="24.100505066" x2="11.899494934" y2="29.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_24_11_29_ff7b0900_70290300"/><linearGradient id="Definition_LinearGradient_6_42_11_47_ffff0000_78560000"><stop offset="0" style="stop-color: #ffff00; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #785600; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_42_11_47_ffff0000_78560000" x1="6.100505066" y1="42.100505066" x2="11.899494934" y2="47.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_42_11_47_ffff0000_78560000"/><linearGradient id="Definition_LinearGradient_6_60_11_65_ffff0000_6a5d0000"><stop offset="0" style="stop-color: #ffff00; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #6a5d00; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_60_11_65_ffff0000_6a5d0000" x1="6.100505066" y1="60.100505066" x2="11.899494934" y2="65.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_60_11_65_ffff0000_6a5d0000"/><linearGradient id="Definition_LinearGradient_6_78_11_83_eae70000_4e4d0000"><stop offset="0" style="stop-color: #eae700; stop-opacity: 1.00;"/><stop offset="1" style="stop-color: #4e4d00; stop-opacity: 1.00;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_6_78_11_83_eae70000_4e4d0000" x1="6.100505066" y1="78.100505066" x2="11.899494934" y2="83.899494934" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_6_78_11_83_eae70000_4e4d0000"/><linearGradient id="Definition_LinearGradient_210_92_390_92_ffffffbf_0000007f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.25;"/><stop offset="1" style="stop-color: #000000; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_210_92_390_92_ffffffbf_0000007f" x1="210" y1="92" x2="390" y2="92" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_210_92_390_92_ffffffbf_0000007f"/><linearGradient id="Definition_LinearGradient_219_89_399_89_ffffffbf_0000007f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.25;"/><stop offset="1" style="stop-color: #000000; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_219_89_399_89_ffffffbf_0000007f" x1="219.07224812614" y1="89.476123414749" x2="399.07224812614" y2="89.476123414749" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_219_89_399_89_ffffffbf_0000007f"/><linearGradient id="Definition_LinearGradient_300_92_210_46_ffffffff_ffffff7f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.00;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_300_92_210_46_ffffffff_ffffff7f" x1="300" y1="92" x2="210" y2="46" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_300_92_210_46_ffffffff_ffffff7f"/><linearGradient id="Definition_RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.50;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.20;"/></linearGradient><radialGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc" cx="236.36038969321" cy="124.52691193458" fx="236.36038969321" fy="124.52691193458" r="180" gradientUnits="userSpaceOnUse" xlink:href="#Definition_RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc"/><linearGradient id="Definition_LinearGradient_309_89_219_43_ffffffff_ffffff7f"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.00;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.50;"/></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="LinearGradient_309_89_219_43_ffffffff_ffffff7f" x1="309.07224812614" y1="89.476123414749" x2="219.07224812614" y2="43.476123414749" gradientUnits="userSpaceOnUse" xlink:href="#Definition_LinearGradient_309_89_219_43_ffffffff_ffffff7f"/><linearGradient id="Definition_RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc"><stop offset="0" style="stop-color: #ffffff; stop-opacity: 0.50;"/><stop offset="1" style="stop-color: #ffffff; stop-opacity: 0.20;"/></linearGradient><radialGradient xmlns:xlink="http://www.w3.org/1999/xlink" id="RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc" cx="245.43263781935" cy="122.00303534933" fx="245.43263781935" fy="122.00303534933" r="180" gradientUnits="userSpaceOnUse" xlink:href="#Definition_RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc"/></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: #ffffff; fill-opacity: 0.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"/><ellipse cx="9" cy="9" rx="7" ry="7" style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_3"/><ellipse cx="9" cy="9" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_6_11_11_ff009300_65003100); stroke: none;" id="ezcGraphCircle_4"/><ellipse cx="9" cy="27" rx="7" ry="7" style="fill: #e05206; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_6"/><ellipse cx="9" cy="27" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_24_11_29_ff7b0900_70290300); stroke: none;" id="ezcGraphCircle_7"/><ellipse cx="9" cy="45" rx="7" ry="7" style="fill: #f0ab00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_9"/><ellipse cx="9" cy="45" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_42_11_47_ffff0000_78560000); stroke: none;" id="ezcGraphCircle_10"/><ellipse cx="9" cy="63" rx="7" ry="7" style="fill: #d4ba00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_12"/><ellipse cx="9" cy="63" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_60_11_65_ffff0000_6a5d0000); stroke: none;" id="ezcGraphCircle_13"/><ellipse cx="9" cy="81" rx="7" ry="7" style="fill: #9c9a00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_15"/><ellipse cx="9" cy="81" rx="6.3" ry="6.3" style="fill: url(#LinearGradient_6_78_11_83_eae70000_4e4d0000); stroke: none;" id="ezcGraphCircle_16"/><path d="M 300.00,108.00 L 400.00,108.00 A 100.00,56.00 0 1,1 364.61,65.26 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_18"/><path d="M 300.00,108.00 L 398.98,107.04 A 99.00,55.00 0 1,1 365.27,66.65 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_19"/><path d="M 300.00,108.00 L 397.94,106.12 A 98.00,54.00 0 1,1 365.89,68.03 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_20"/><path d="M 300.00,108.00 L 396.87,105.23 A 97.00,53.00 0 1,1 366.46,69.40 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_21"/><path d="M 300.00,108.00 L 395.77,104.37 A 96.00,52.00 0 1,1 366.99,70.75 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_22"/><path d="M 300.00,108.00 L 394.64,103.56 A 95.00,51.00 0 1,1 367.47,72.09 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_23"/><path d="M 300.00,108.00 L 393.49,102.77 A 94.00,50.00 0 1,1 367.90,73.42 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_24"/><path d="M 300.00,108.00 L 392.31,102.03 A 93.00,49.00 0 1,1 368.29,74.74 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_25"/><path d="M 300.00,108.00 L 391.10,101.32 A 92.00,48.00 0 1,1 368.64,76.04 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_26"/><path d="M 300.00,108.00 L 389.88,100.65 A 91.00,47.00 0 1,1 368.94,77.32 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_27"/><path d="M 309.07,105.48 L 373.68,62.73 A 100.00,56.00 0 0,1 409.07,105.48 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_28"/><path d="M 309.07,105.48 L 371.71,62.88 A 99.00,55.00 0 0,1 408.06,106.44 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_29"/><path d="M 309.07,105.48 L 369.74,63.07 A 98.00,54.00 0 0,1 407.01,107.36 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_30"/><path d="M 309.07,105.48 L 367.78,63.29 A 97.00,53.00 0 0,1 405.94,108.25 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_31"/><path d="M 309.07,105.48 L 365.84,63.54 A 96.00,52.00 0 0,1 404.84,109.10 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_32"/><path d="M 309.07,105.48 L 363.90,63.83 A 95.00,51.00 0 0,1 403.71,109.92 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_33"/><path d="M 309.07,105.48 L 361.97,64.15 A 94.00,50.00 0 0,1 402.56,110.70 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_34"/><path d="M 309.07,105.48 L 360.06,64.50 A 93.00,49.00 0 0,1 401.38,111.45 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_35"/><path d="M 309.07,105.48 L 358.16,64.88 A 92.00,48.00 0 0,1 400.18,112.16 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_36"/><path d="M 309.07,105.48 L 356.28,65.29 A 91.00,47.00 0 0,1 398.95,112.83 z" style="fill: #000000; fill-opacity: 0.03; stroke: none;" id="ezcGraphCircleSector_37"/><path d="M 343.09,67.61 A 90.00,46.00 0 0,0 252.20,69.03 L 252.20,53.03 A 90.00,46.000000 0 0,1 343.09,51.61 z" style="fill: #f0ab00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_38"/><path d="M 343.09,67.61 A 90.00,46.00 0 0,0 252.20,69.03 L 252.20,53.03 A 90.00,46.000000 0 0,1 343.09,51.61 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 358.15,72.89 A 90.00,46.00 0 0,0 343.09,67.61 L 343.09,51.61 A 90.00,46.000000 0 0,1 358.15,56.89 z" style="fill: #d4ba00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_39"/><path d="M 358.15,72.89 A 90.00,46.00 0 0,0 343.09,67.61 L 343.09,51.61 A 90.00,46.000000 0 0,1 358.15,56.89 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 252.20,69.03 A 90.00,46.00 0 0,0 231.59,78.11 L 231.59,62.11 A 90.00,46.000000 0 0,1 252.20,53.03 z" style="fill: #e05206; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_40"/><path d="M 252.20,69.03 A 90.00,46.00 0 0,0 231.59,78.11 L 231.59,62.11 A 90.00,46.000000 0 0,1 252.20,53.03 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 399.07,105.48 A 90.00,46.00 0 0,0 367.22,70.37 L 367.22,54.37 A 90.00,46.000000 0 0,1 399.07,89.48 z" style="fill: #9c9a00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_41"/><path d="M 399.07,105.48 A 90.00,46.00 0 0,0 367.22,70.37 L 367.22,54.37 A 90.00,46.000000 0 0,1 399.07,89.48 z" style="fill: url(#LinearGradient_219_89_399_89_ffffffbf_0000007f); stroke: none;"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: #f0ab00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_42"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: none; stroke: #f0ab00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_43"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: #d4ba00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_44"/><path d=" M 343.0898,51.6149 L 300.0000,92.0000 L 300.0000,108.0000 L 343.0898,67.6149 L 343.0898,51.6149 z " style="fill: none; stroke: #d4ba00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_45"/><path d=" M 367.2225,54.3670 L 309.0722,89.4761 L 309.0722,105.4761 L 367.2225,70.3670 L 367.2225,54.3670 z " style="fill: #9c9a00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_46"/><path d=" M 367.2225,54.3670 L 309.0722,89.4761 L 309.0722,105.4761 L 367.2225,70.3670 L 367.2225,54.3670 z " style="fill: none; stroke: #9c9a00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_47"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: #e05206; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_48"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: none; stroke: #e05206; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_49"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: #f0ab00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_50"/><path d=" M 252.1962,53.0253 L 300.0000,92.0000 L 300.0000,108.0000 L 252.1962,69.0253 L 252.1962,53.0253 z " style="fill: none; stroke: #f0ab00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_51"/><path d=" M 358.1502,56.8909 L 300.0000,92.0000 L 300.0000,108.0000 L 358.1502,72.8909 L 358.1502,56.8909 z " style="fill: #d4ba00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_52"/><path d=" M 358.1502,56.8909 L 300.0000,92.0000 L 300.0000,108.0000 L 358.1502,72.8909 L 358.1502,56.8909 z " style="fill: none; stroke: #d4ba00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_53"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_54"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: none; stroke: #c90062; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_55"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: #e05206; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_56"/><path d=" M 231.5905,62.1092 L 300.0000,92.0000 L 300.0000,108.0000 L 231.5905,78.1092 L 231.5905,62.1092 z " style="fill: none; stroke: #e05206; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_57"/><path d=" M 399.0722,89.4761 L 309.0722,89.4761 L 309.0722,105.4761 L 399.0722,105.4761 L 399.0722,89.4761 z " style="fill: #9c9a00; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_58"/><path d=" M 399.0722,89.4761 L 309.0722,89.4761 L 309.0722,105.4761 L 399.0722,105.4761 L 399.0722,89.4761 z " style="fill: none; stroke: #9c9a00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_59"/><path d=" M 390.0000,92.0000 L 300.0000,92.0000 L 300.0000,108.0000 L 390.0000,108.0000 L 390.0000,92.0000 z " style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_60"/><path d=" M 390.0000,92.0000 L 300.0000,92.0000 L 300.0000,108.0000 L 390.0000,108.0000 L 390.0000,92.0000 z " style="fill: none; stroke: #c90062; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_61"/><path d="M 210.00,108.00 A 90.00,46.00 0 0,0 390.00,108.00 L 390.00,92.00 A 90.00,46.000000 0 0,1 210.00,92.00 z" style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_62"/><path d="M 210.00,108.00 A 90.00,46.00 0 0,0 390.00,108.00 L 390.00,92.00 A 90.00,46.000000 0 0,1 210.00,92.00 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 231.59,78.11 A 90.00,46.00 0 0,0 210.00,108.00 L 210.00,92.00 A 90.00,46.000000 0 0,1 231.59,62.11 z" style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircularArc_63"/><path d="M 231.59,78.11 A 90.00,46.00 0 0,0 210.00,108.00 L 210.00,92.00 A 90.00,46.000000 0 0,1 231.59,62.11 z" style="fill: url(#LinearGradient_210_92_390_92_ffffffbf_0000007f); stroke: none;"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: #c90062; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_64"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_65"/><path d="M 300.00,92.00 L 390.00,92.00 A 90.00,46.00 0 1,1 231.59,62.11 z" style="fill: none; stroke: #c90062; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_66"/><path d="M 390.00,92.00 A 90.00,46.00 0 0,1 210.00,92.00" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_67"/><path d="M 210.00,92.00 A 90.00,46.00 0 0,1 231.59,62.11" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_68"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: #e05206; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_69"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_70"/><path d="M 300.00,92.00 L 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03 z" style="fill: none; stroke: #e05206; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_71"/><path d="M 231.59,62.11 A 90.00,46.00 0 0,1 252.20,53.03" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_72"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: #f0ab00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_73"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_74"/><path d="M 300.00,92.00 L 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61 z" style="fill: none; stroke: #f0ab00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_75"/><path d="M 252.20,53.03 A 90.00,46.00 0 0,1 343.09,51.61" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_76"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: #d4ba00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_77"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: url(#LinearGradient_300_92_210_46_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_78"/><path d="M 300.00,92.00 L 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89 z" style="fill: none; stroke: #d4ba00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_79"/><path d="M 343.09,51.61 A 90.00,46.00 0 0,1 358.15,56.89" style="fill: none; stroke: url(#RadialGradient_236_124_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_80"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: #9c9a00; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircleSector_81"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: url(#LinearGradient_309_89_219_43_ffffffff_ffffff7f); stroke: none;" id="ezcGraphCircleSector_82"/><path d="M 309.07,89.48 L 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48 z" style="fill: none; stroke: #9c9a00; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphCircleSector_83"/><path d="M 367.22,54.37 A 90.00,46.00 0 0,1 399.07,89.48" style="fill: none; stroke: url(#RadialGradient_245_122_180_92_0.00_ffffff7f_ffffffcc);" id="ezcGraphCircularArc_84"/><path d=" M 297.9769,52.0184 L 220.6788,32.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_85"/><ellipse cx="297.97688217216" cy="52.018422768334" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_86"/><ellipse cx="220.67878888071" cy="32" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_87"/><path d=" M 256.4576,61.7104 L 206.2732,52.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_89"/><ellipse cx="256.45757254587" cy="61.710389172115" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_90"/><ellipse cx="206.27315120215" cy="52" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_91"/><path d=" M 276.9111,129.5245 L 206.2732,148.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_93"/><ellipse cx="276.91108607676" cy="129.52445521769" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_94"/><ellipse cx="206.27315120215" cy="148" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_95"/><path d=" M 337.6907,59.0062 L 387.4616,42.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_97"/><ellipse cx="337.69070236328" cy="59.006243864473" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_98"/><ellipse cx="387.46164741767" cy="42" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_99"/><path d=" M 369.5539,72.6503 L 399.2952,64.0000" style="fill: none; stroke: #000000; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_101"/><ellipse cx="369.55390230042" cy="72.650279513073" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_102"/><ellipse cx="399.29523031752" cy="64" rx="3" ry="3" style="fill: #000000; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_103"/><text id="ezcGraphTextBox_5" x="17" text-length="51.94px" y="16" style="font-size: 14px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Mozilla</text><text id="ezcGraphTextBox_8" x="17" text-length="14.84px" y="34" style="font-size: 14px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">IE</text><text id="ezcGraphTextBox_11" x="17" text-length="37.1px" y="52" style="font-size: 14px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Opera</text><text id="ezcGraphTextBox_14" x="17" text-length="29.68px" y="70" style="font-size: 14px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">wget</text><text id="ezcGraphTextBox_17" x="17" text-length="44.52px" y="88" style="font-size: 14px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Safari</text><text id="ezcGraphTextBox_88" x="124.04878888071" text-length="90.63px" y="36.5" style="font-size: 9px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Opera: 1204 (16.9%)</text><text id="ezcGraphTextBox_92" x="133.49315120215" text-length="66.78px" y="56.5" style="font-size: 9px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">IE: 345 (4.8%)</text><text id="ezcGraphTextBox_96" x="100.10315120215" text-length="100.17px" y="152.5" style="font-size: 9px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Mozilla: 4375 (61.3%)</text><text id="ezcGraphTextBox_100" x="393.46164741767" text-length="76.32px" y="46.5" style="font-size: 9px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">wget: 231 (3.2%)</text><text id="ezcGraphTextBox_104" x="405.29523031752" text-length="90.63px" y="68.5" style="font-size: 9px; font-family: sans-serif; fill: #1e1e1e; fill-opacity: 1.00; stroke: none;">Safari: 987 (13.8%)</text></g></svg> diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php index 6e5d1da..6849525 100644 --- a/tests/renderer_2d_test.php +++ b/tests/renderer_2d_test.php @@ -647,7 +647,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase ezcGraphColor::fromHex( '#FF0000DD' ), .5 ); - $this->renderer->render( 400, 200, $this->tempDir . __METHOD__ . 'svg' ); + $this->renderer->render( $this->tempDir . __METHOD__ . 'svg' ); } public function testRenderFilledDataLineWithSymbolInDifferentColorAndCustomSize() @@ -711,7 +711,7 @@ class ezcGraphRenderer2dTest extends ezcTestCase ezcGraphColor::fromHex( '#FF0000DD' ), .5 ); - $this->renderer->render( 400, 200, $this->tempDir . __METHOD__ . 'svg' ); + $this->renderer->render( $this->tempDir . __METHOD__ . 'svg' ); } public function testRenderBox() diff --git a/tests/renderer_3d_test.php b/tests/renderer_3d_test.php index 3204b0c..ef9c112 100644 --- a/tests/renderer_3d_test.php +++ b/tests/renderer_3d_test.php @@ -382,6 +382,72 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase ); } + public function testRenderLabeledPieChartBlue() + { + $filename = $this->tempDir . __FUNCTION__ . '.svg'; + + $chart = new ezcGraphPieChart(); + $chart->palette = new ezcGraphPaletteEzBlue(); + $chart->data['sample'] = new ezcGraphArrayDataSet( array( + 'Mozilla' => 4375, + 'IE' => 345, + 'Opera' => 1204, + 'wget' => 231, + 'Safari' => 987, + ) ); + + $chart->data['sample']->highlight['Safari'] = true; + + $chart->renderer = new ezcGraphRenderer3d(); + + $chart->renderer->options->pieChartShadowSize = 10; + $chart->renderer->options->pieChartGleam = .5; + $chart->renderer->options->dataBorder = false; + $chart->renderer->options->pieChartHeight = 16; + $chart->renderer->options->legendSymbolGleam = .5; + + $chart->driver = new ezcGraphSvgDriver(); + $chart->render( 500, 200, $filename ); + + $this->compare( + $filename, + $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.svg' + ); + } + + public function testRenderLabeledPieChartEz() + { + $filename = $this->tempDir . __FUNCTION__ . '.svg'; + + $chart = new ezcGraphPieChart(); + $chart->palette = new ezcGraphPaletteEz(); + $chart->data['sample'] = new ezcGraphArrayDataSet( array( + 'Mozilla' => 4375, + 'IE' => 345, + 'Opera' => 1204, + 'wget' => 231, + 'Safari' => 987, + ) ); + + $chart->data['sample']->highlight['Safari'] = true; + + $chart->renderer = new ezcGraphRenderer3d(); + + $chart->renderer->options->pieChartShadowSize = 10; + $chart->renderer->options->pieChartGleam = .5; + $chart->renderer->options->dataBorder = false; + $chart->renderer->options->pieChartHeight = 16; + $chart->renderer->options->legendSymbolGleam = .5; + + $chart->driver = new ezcGraphSvgDriver(); + $chart->render( 500, 200, $filename ); + + $this->compare( + $filename, + $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.svg' + ); + } + public function testRenderLabeledPieSegmentWithGleamAndShadowGD() { if ( !ezcBaseFeatures::hasExtensionSupport( 'gd' ) && |