Code Duplication    Length = 11-11 lines in 2 locations

catalog/admin/includes/classes/phplot.php 2 locations

@@ 2531-2541 (lines=11) @@
2528
					$this->DrawLabels();
2529
					$this->DrawThinBarLines();
2530
					break;
2531
				case "lines":
2532
					$this->DrawPlotBorder();
2533
					$this->DrawLabels();
2534
					if ( $this->data_type == "text-data") {
2535
						$this->DrawLines();
2536
					} elseif ( $this->data_type == "data-data-error") {
2537
						$this->DrawLinesError();
2538
					} else {
2539
						$this->DrawLines();
2540
					}
2541
					break;
2542
				case "area":
2543
					$this->DrawPlotBorder();
2544
					$this->DrawLabels();
@@ 2565-2575 (lines=11) @@
2562
						$this->DrawDots();
2563
					}
2564
					break;
2565
				case "points";
2566
					$this->DrawPlotBorder();
2567
					$this->DrawLabels();
2568
					if ( $this->data_type == "text-data") {
2569
						$this->DrawDots();
2570
					} elseif ( $this->data_type == "data-data-error") {
2571
						$this->DrawDotsError();
2572
					} else {
2573
						$this->DrawDots();
2574
					}
2575
					break;
2576
				case "pie":
2577
					$this->DrawPieChart();
2578
					$this->DrawLabels();