summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/renderer/2d.php2
-rw-r--r--tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg2
-rw-r--r--tests/renderer_2d_test.php8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/renderer/2d.php b/src/renderer/2d.php
index 03be22e..8e08f88 100644
--- a/src/renderer/2d.php
+++ b/src/renderer/2d.php
@@ -478,7 +478,7 @@ class ezcGraphRenderer2d extends ezcGraphRenderer
$margin = $stepSize * $this->options->barMargin;
$padding = $stepSize * $this->options->barPadding;
$barWidth = ( $stepSize - $margin ) / $dataCount - $padding;
- $offset = - $stepSize / 2 + $margin / 2 + $dataNumber * ( $padding + $barWidth ) + $padding / 2;
+ $offset = - $stepSize / 2 + $margin / 2 + ( $dataCount - $dataNumber -1 ) * ( $padding + $barWidth ) + $padding / 2;
$barPointArray = array(
new ezcGraphCoordinate(
diff --git a/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg b/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg
index 07351d9..b96b148 100644
--- a/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg
+++ b/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg
@@ -1,2 +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: #2e3436; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_1"/><path d=" M 1.0000,199.0000 L 1.0000,1.0000 L 99.0000,1.0000 L 99.0000,199.0000 L 1.0000,199.0000 z " style="fill: none; stroke: #555753; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_2"/><path d=" M 2.0000,198.0000 L 2.0000,2.0000 L 98.0000,2.0000 L 98.0000,198.0000 L 2.0000,198.0000 z " style="fill: #000000; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_3"/><ellipse cx="11" cy="11" rx="7" ry="7" style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_4"/><ellipse cx="11" cy="29" rx="7" ry="7" style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_6"/><ellipse cx="11" cy="47" rx="7" ry="7" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_8"/><path d=" M 100.0000,180.0000 L 500.0000,180.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_10"/><path d=" M 492.0000,184.0000 L 500.0000,180.0000 L 492.0000,176.0000 L 492.0000,184.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_11"/><path d=" M 140.0000,200.0000 L 140.0000,0.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_12"/><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: #eeeeec; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_13"/><path d=" M 204.0000,20.0000 L 204.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_15"/><path d=" M 204.0000,177.0000 L 204.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_16"/><path d=" M 268.0000,20.0000 L 268.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_18"/><path d=" M 268.0000,177.0000 L 268.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_19"/><path d=" M 332.0000,20.0000 L 332.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_21"/><path d=" M 332.0000,177.0000 L 332.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_22"/><path d=" M 396.0000,20.0000 L 396.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_24"/><path d=" M 396.0000,177.0000 L 396.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_25"/><path d=" M 460.0000,20.0000 L 460.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_27"/><path d=" M 460.0000,177.0000 L 460.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_28"/><path d=" M 140.0000,168.8000 L 460.0000,168.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_30"/><path d=" M 140.0000,169.3333 L 141.0000,169.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_31"/><path d=" M 140.0000,159.2000 L 460.0000,159.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_32"/><path d=" M 140.0000,158.6667 L 141.0000,158.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_33"/><path d=" M 140.0000,148.0000 L 460.0000,148.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_34"/><path d=" M 140.0000,148.0000 L 141.0000,148.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_35"/><path d=" M 140.0000,136.8000 L 460.0000,136.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_36"/><path d=" M 140.0000,137.3333 L 141.0000,137.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_37"/><path d=" M 140.0000,127.2000 L 460.0000,127.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_38"/><path d=" M 140.0000,126.6667 L 143.0000,126.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_39"/><path d=" M 140.0000,116.0000 L 460.0000,116.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_41"/><path d=" M 140.0000,116.0000 L 141.0000,116.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_42"/><path d=" M 140.0000,104.8000 L 460.0000,104.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_43"/><path d=" M 140.0000,105.3333 L 141.0000,105.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_44"/><path d=" M 140.0000,95.2000 L 460.0000,95.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_45"/><path d=" M 140.0000,94.6667 L 141.0000,94.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_46"/><path d=" M 140.0000,84.0000 L 460.0000,84.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_47"/><path d=" M 140.0000,84.0000 L 141.0000,84.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_48"/><path d=" M 140.0000,72.8000 L 460.0000,72.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_49"/><path d=" M 140.0000,73.3333 L 143.0000,73.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_50"/><path d=" M 140.0000,63.2000 L 460.0000,63.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_52"/><path d=" M 140.0000,62.6667 L 141.0000,62.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_53"/><path d=" M 140.0000,52.0000 L 460.0000,52.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_54"/><path d=" M 140.0000,52.0000 L 141.0000,52.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_55"/><path d=" M 140.0000,40.8000 L 460.0000,40.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_56"/><path d=" M 140.0000,41.3333 L 141.0000,41.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_57"/><path d=" M 140.0000,31.2000 L 460.0000,31.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_58"/><path d=" M 140.0000,30.6667 L 141.0000,30.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_59"/><path d=" M 140.0000,20.0000 L 460.0000,20.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_60"/><path d=" M 140.0000,20.0000 L 143.0000,20.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_61"/><path d=" M 199.2425,180.0000 L 173.6025,180.0000 L 173.6025,87.8400 L 199.2425,87.8400 L 199.2425,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_63"/><path d=" M 199.2425,180.0000 L 173.6025,180.0000 L 173.6025,87.8400 L 199.2425,87.8400 L 199.2425,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_64"/><path d=" M 263.2425,180.0000 L 237.6025,180.0000 L 237.6025,170.8267 L 263.2425,170.8267 L 263.2425,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_65"/><path d=" M 263.2425,180.0000 L 237.6025,180.0000 L 237.6025,170.8267 L 263.2425,170.8267 L 263.2425,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_66"/><path d=" M 327.2425,180.0000 L 301.6025,180.0000 L 301.6025,166.1333 L 327.2425,166.1333 L 327.2425,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_67"/><path d=" M 327.2425,180.0000 L 301.6025,180.0000 L 301.6025,166.1333 L 327.2425,166.1333 L 327.2425,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_68"/><path d=" M 391.2425,180.0000 L 365.6025,180.0000 L 365.6025,159.3067 L 391.2425,159.3067 L 391.2425,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_69"/><path d=" M 391.2425,180.0000 L 365.6025,180.0000 L 365.6025,159.3067 L 391.2425,159.3067 L 391.2425,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_70"/><path d=" M 455.2425,180.0000 L 429.6025,180.0000 L 429.6025,147.1467 L 455.2425,147.1467 L 455.2425,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_71"/><path d=" M 455.2425,180.0000 L 429.6025,180.0000 L 429.6025,147.1467 L 455.2425,147.1467 L 455.2425,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_72"/><path d=" M 170.3975,180.0000 L 144.7575,180.0000 L 144.7575,130.0800 L 170.3975,130.0800 L 170.3975,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_73"/><path d=" M 170.3975,180.0000 L 144.7575,180.0000 L 144.7575,130.0800 L 170.3975,130.0800 L 170.3975,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_74"/><path d=" M 234.3975,180.0000 L 208.7575,180.0000 L 208.7575,175.5200 L 234.3975,175.5200 L 234.3975,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_75"/><path d=" M 234.3975,180.0000 L 208.7575,180.0000 L 208.7575,175.5200 L 234.3975,175.5200 L 234.3975,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_76"/><path d=" M 298.3975,180.0000 L 272.7575,180.0000 L 272.7575,110.8800 L 298.3975,110.8800 L 298.3975,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_77"/><path d=" M 298.3975,180.0000 L 272.7575,180.0000 L 272.7575,110.8800 L 298.3975,110.8800 L 298.3975,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_78"/><path d=" M 362.3975,180.0000 L 336.7575,180.0000 L 336.7575,154.4000 L 362.3975,154.4000 L 362.3975,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_79"/><path d=" M 362.3975,180.0000 L 336.7575,180.0000 L 336.7575,154.4000 L 362.3975,154.4000 L 362.3975,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_80"/><path d=" M 426.3975,180.0000 L 400.7575,180.0000 L 400.7575,179.7867 L 426.3975,179.7867 L 426.3975,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_81"/><path d=" M 426.3975,180.0000 L 400.7575,180.0000 L 400.7575,179.7867 L 426.3975,179.7867 L 426.3975,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_82"/><path d=" M 172.0000,64.1600 L 172.0000,64.1600" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_83"/><path d=" M 172.0000,180.0000 L 172.0000,64.1600 L 236.0000,130.0800 L 236.0000,180.0000 L 172.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_84"/><path d=" M 172.0000,64.1600 L 236.0000,130.0800" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_85"/><path d=" M 236.0000,180.0000 L 236.0000,130.0800 L 300.0000,116.4267 L 300.0000,180.0000 L 236.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_86"/><path d=" M 236.0000,130.0800 L 300.0000,116.4267" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_87"/><path d=" M 300.0000,180.0000 L 300.0000,116.4267 L 364.0000,178.9333 L 364.0000,180.0000 L 300.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_88"/><path d=" M 300.0000,116.4267 L 364.0000,178.9333" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_89"/><path d=" M 364.0000,180.0000 L 364.0000,178.9333 L 428.0000,49.2267 L 428.0000,180.0000 L 364.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_90"/><path d=" M 364.0000,178.9333 L 428.0000,49.2267" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_91"/><ellipse cx="172" cy="64.16" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_92"/><ellipse cx="236" cy="130.08" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_93"/><ellipse cx="300" cy="116.42666666667" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_94"/><ellipse cx="364" cy="178.93333333333" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_95"/><ellipse cx="428" cy="49.226666666667" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_96"/><text id="ezcGraphTextBox_5" x="19" text-length="44.52px" y="18" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 0</text><text id="ezcGraphTextBox_7" x="19" text-length="44.52px" y="36" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 1</text><text id="ezcGraphTextBox_9" x="19" text-length="44.52px" y="54" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 2</text><text id="ezcGraphTextBox_14" x="142.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 1</text><text id="ezcGraphTextBox_17" x="206.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 2</text><text id="ezcGraphTextBox_20" x="270.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 3</text><text id="ezcGraphTextBox_23" x="334.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 4</text><text id="ezcGraphTextBox_26" x="398.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 5</text><text id="ezcGraphTextBox_29" x="129.32" text-length="8.68px" y="178" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">0</text><text id="ezcGraphTextBox_40" x="111.96" text-length="26.04px" y="124.66666666667" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">250</text><text id="ezcGraphTextBox_51" x="111.96" text-length="26.04px" y="71.333333333333" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">500</text><text id="ezcGraphTextBox_62" x="111.96" text-length="26.04px" y="36" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">750</text></g></svg>
+<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: #2e3436; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_1"/><path d=" M 1.0000,199.0000 L 1.0000,1.0000 L 99.0000,1.0000 L 99.0000,199.0000 L 1.0000,199.0000 z " style="fill: none; stroke: #555753; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_2"/><path d=" M 2.0000,198.0000 L 2.0000,2.0000 L 98.0000,2.0000 L 98.0000,198.0000 L 2.0000,198.0000 z " style="fill: #000000; fill-opacity: 0.00; stroke: none;" id="ezcGraphPolygon_3"/><ellipse cx="11" cy="11" rx="7" ry="7" style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_4"/><ellipse cx="11" cy="29" rx="7" ry="7" style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_6"/><ellipse cx="11" cy="47" rx="7" ry="7" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_8"/><path d=" M 100.0000,180.0000 L 500.0000,180.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_10"/><path d=" M 492.0000,184.0000 L 500.0000,180.0000 L 492.0000,176.0000 L 492.0000,184.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_11"/><path d=" M 140.0000,200.0000 L 140.0000,0.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_12"/><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: #eeeeec; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_13"/><path d=" M 204.0000,20.0000 L 204.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_15"/><path d=" M 204.0000,177.0000 L 204.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_16"/><path d=" M 268.0000,20.0000 L 268.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_18"/><path d=" M 268.0000,177.0000 L 268.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_19"/><path d=" M 332.0000,20.0000 L 332.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_21"/><path d=" M 332.0000,177.0000 L 332.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_22"/><path d=" M 396.0000,20.0000 L 396.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_24"/><path d=" M 396.0000,177.0000 L 396.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_25"/><path d=" M 460.0000,20.0000 L 460.0000,180.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_27"/><path d=" M 460.0000,177.0000 L 460.0000,183.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_28"/><path d=" M 140.0000,168.8000 L 460.0000,168.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_30"/><path d=" M 140.0000,169.3333 L 141.0000,169.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_31"/><path d=" M 140.0000,159.2000 L 460.0000,159.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_32"/><path d=" M 140.0000,158.6667 L 141.0000,158.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_33"/><path d=" M 140.0000,148.0000 L 460.0000,148.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_34"/><path d=" M 140.0000,148.0000 L 141.0000,148.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_35"/><path d=" M 140.0000,136.8000 L 460.0000,136.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_36"/><path d=" M 140.0000,137.3333 L 141.0000,137.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_37"/><path d=" M 140.0000,127.2000 L 460.0000,127.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_38"/><path d=" M 140.0000,126.6667 L 143.0000,126.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_39"/><path d=" M 140.0000,116.0000 L 460.0000,116.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_41"/><path d=" M 140.0000,116.0000 L 141.0000,116.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_42"/><path d=" M 140.0000,104.8000 L 460.0000,104.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_43"/><path d=" M 140.0000,105.3333 L 141.0000,105.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_44"/><path d=" M 140.0000,95.2000 L 460.0000,95.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_45"/><path d=" M 140.0000,94.6667 L 141.0000,94.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_46"/><path d=" M 140.0000,84.0000 L 460.0000,84.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_47"/><path d=" M 140.0000,84.0000 L 141.0000,84.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_48"/><path d=" M 140.0000,72.8000 L 460.0000,72.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_49"/><path d=" M 140.0000,73.3333 L 143.0000,73.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_50"/><path d=" M 140.0000,63.2000 L 460.0000,63.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_52"/><path d=" M 140.0000,62.6667 L 141.0000,62.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_53"/><path d=" M 140.0000,52.0000 L 460.0000,52.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_54"/><path d=" M 140.0000,52.0000 L 141.0000,52.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_55"/><path d=" M 140.0000,40.8000 L 460.0000,40.8000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_56"/><path d=" M 140.0000,41.3333 L 141.0000,41.3333" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_57"/><path d=" M 140.0000,31.2000 L 460.0000,31.2000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 0.47; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_58"/><path d=" M 140.0000,30.6667 L 141.0000,30.6667" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_59"/><path d=" M 140.0000,20.0000 L 460.0000,20.0000" style="fill: none; stroke: #888a85; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_60"/><path d=" M 140.0000,20.0000 L 143.0000,20.0000" style="fill: none; stroke: #eeeeec; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_61"/><path d=" M 170.3975,180.0000 L 144.7575,180.0000 L 144.7575,87.8400 L 170.3975,87.8400 L 170.3975,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_63"/><path d=" M 170.3975,180.0000 L 144.7575,180.0000 L 144.7575,87.8400 L 170.3975,87.8400 L 170.3975,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_64"/><path d=" M 234.3975,180.0000 L 208.7575,180.0000 L 208.7575,170.8267 L 234.3975,170.8267 L 234.3975,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_65"/><path d=" M 234.3975,180.0000 L 208.7575,180.0000 L 208.7575,170.8267 L 234.3975,170.8267 L 234.3975,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_66"/><path d=" M 298.3975,180.0000 L 272.7575,180.0000 L 272.7575,166.1333 L 298.3975,166.1333 L 298.3975,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_67"/><path d=" M 298.3975,180.0000 L 272.7575,180.0000 L 272.7575,166.1333 L 298.3975,166.1333 L 298.3975,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_68"/><path d=" M 362.3975,180.0000 L 336.7575,180.0000 L 336.7575,159.3067 L 362.3975,159.3067 L 362.3975,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_69"/><path d=" M 362.3975,180.0000 L 336.7575,180.0000 L 336.7575,159.3067 L 362.3975,159.3067 L 362.3975,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_70"/><path d=" M 426.3975,180.0000 L 400.7575,180.0000 L 400.7575,147.1467 L 426.3975,147.1467 L 426.3975,180.0000 z " style="fill: #729fcf; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_71"/><path d=" M 426.3975,180.0000 L 400.7575,180.0000 L 400.7575,147.1467 L 426.3975,147.1467 L 426.3975,180.0000 z " style="fill: none; stroke: #395068; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_72"/><path d=" M 199.2425,180.0000 L 173.6025,180.0000 L 173.6025,130.0800 L 199.2425,130.0800 L 199.2425,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_73"/><path d=" M 199.2425,180.0000 L 173.6025,180.0000 L 173.6025,130.0800 L 199.2425,130.0800 L 199.2425,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_74"/><path d=" M 263.2425,180.0000 L 237.6025,180.0000 L 237.6025,175.5200 L 263.2425,175.5200 L 263.2425,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_75"/><path d=" M 263.2425,180.0000 L 237.6025,180.0000 L 237.6025,175.5200 L 263.2425,175.5200 L 263.2425,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_76"/><path d=" M 327.2425,180.0000 L 301.6025,180.0000 L 301.6025,110.8800 L 327.2425,110.8800 L 327.2425,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_77"/><path d=" M 327.2425,180.0000 L 301.6025,180.0000 L 301.6025,110.8800 L 327.2425,110.8800 L 327.2425,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_78"/><path d=" M 391.2425,180.0000 L 365.6025,180.0000 L 365.6025,154.4000 L 391.2425,154.4000 L 391.2425,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_79"/><path d=" M 391.2425,180.0000 L 365.6025,180.0000 L 365.6025,154.4000 L 391.2425,154.4000 L 391.2425,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_80"/><path d=" M 455.2425,180.0000 L 429.6025,180.0000 L 429.6025,179.7867 L 455.2425,179.7867 L 455.2425,180.0000 z " style="fill: #ef2929; fill-opacity: 1.00; stroke: none;" id="ezcGraphPolygon_81"/><path d=" M 455.2425,180.0000 L 429.6025,180.0000 L 429.6025,179.7867 L 455.2425,179.7867 L 455.2425,180.0000 z " style="fill: none; stroke: #781515; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphPolygon_82"/><path d=" M 172.0000,64.1600 L 172.0000,64.1600" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_83"/><path d=" M 172.0000,180.0000 L 172.0000,64.1600 L 236.0000,130.0800 L 236.0000,180.0000 L 172.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_84"/><path d=" M 172.0000,64.1600 L 236.0000,130.0800" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_85"/><path d=" M 236.0000,180.0000 L 236.0000,130.0800 L 300.0000,116.4267 L 300.0000,180.0000 L 236.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_86"/><path d=" M 236.0000,130.0800 L 300.0000,116.4267" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_87"/><path d=" M 300.0000,180.0000 L 300.0000,116.4267 L 364.0000,178.9333 L 364.0000,180.0000 L 300.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_88"/><path d=" M 300.0000,116.4267 L 364.0000,178.9333" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_89"/><path d=" M 364.0000,180.0000 L 364.0000,178.9333 L 428.0000,49.2267 L 428.0000,180.0000 L 364.0000,180.0000 z " style="fill: #fce94f; fill-opacity: 0.22; stroke: none;" id="ezcGraphPolygon_90"/><path d=" M 364.0000,178.9333 L 428.0000,49.2267" style="fill: none; stroke: #fce94f; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round; stroke-linejoin: round;" id="ezcGraphLine_91"/><ellipse cx="172" cy="64.16" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_92"/><ellipse cx="236" cy="130.08" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_93"/><ellipse cx="300" cy="116.42666666667" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_94"/><ellipse cx="364" cy="178.93333333333" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_95"/><ellipse cx="428" cy="49.226666666667" rx="3" ry="3" style="fill: #fce94f; fill-opacity: 1.00; stroke: none;" id="ezcGraphCircle_96"/><text id="ezcGraphTextBox_5" x="19" text-length="44.52px" y="18" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 0</text><text id="ezcGraphTextBox_7" x="19" text-length="44.52px" y="36" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 1</text><text id="ezcGraphTextBox_9" x="19" text-length="44.52px" y="54" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">Line 2</text><text id="ezcGraphTextBox_14" x="142.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 1</text><text id="ezcGraphTextBox_17" x="206.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 2</text><text id="ezcGraphTextBox_20" x="270.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 3</text><text id="ezcGraphTextBox_23" x="334.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 4</text><text id="ezcGraphTextBox_26" x="398.32" text-length="59.36px" y="196" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">sample 5</text><text id="ezcGraphTextBox_29" x="129.32" text-length="8.68px" y="178" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">0</text><text id="ezcGraphTextBox_40" x="111.96" text-length="26.04px" y="124.66666666667" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">250</text><text id="ezcGraphTextBox_51" x="111.96" text-length="26.04px" y="71.333333333333" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">500</text><text id="ezcGraphTextBox_62" x="111.96" text-length="26.04px" y="36" style="font-size: 14px; font-family: sans-serif; fill: #d3d7cf; fill-opacity: 1.00; stroke: none;">750</text></g></svg>
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index 8b5bfad..8feedeb 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -370,10 +370,10 @@ class ezcGraphRenderer2dTest extends ezcTestCase
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
- new ezcGraphCoordinate( 202.5, 0. ),
- new ezcGraphCoordinate( 202.5, 40. ),
- new ezcGraphCoordinate( 242.5, 40. ),
- new ezcGraphCoordinate( 242.5, 0. ),
+ new ezcGraphCoordinate( 157.5, 0. ),
+ new ezcGraphCoordinate( 157.5, 40. ),
+ new ezcGraphCoordinate( 197.5, 40. ),
+ new ezcGraphCoordinate( 197.5, 0. ),
), 1. ),
$this->equalTo( ezcGraphColor::fromHex( '#FF0000' ) ),
$this->equalTo( 1 )
OpenPOWER on IntegriCloud