Code Duplication    Length = 8-8 lines in 2 locations

src/PhpSpreadsheet/Chart/Renderer/JpGraph.php 2 locations

@@ 590-597 (lines=8) @@
587
        }
588
    }
589
590
    private function renderScatterChart($groupCount)
591
    {
592
        $this->renderCartesianPlotArea('linlin');
593
594
        for ($i = 0; $i < $groupCount; ++$i) {
595
            $this->renderPlotScatter($i, false);
596
        }
597
    }
598
599
    private function renderBubbleChart($groupCount)
600
    {
@@ 599-606 (lines=8) @@
596
        }
597
    }
598
599
    private function renderBubbleChart($groupCount)
600
    {
601
        $this->renderCartesianPlotArea('linlin');
602
603
        for ($i = 0; $i < $groupCount; ++$i) {
604
            $this->renderPlotScatter($i, true);
605
        }
606
    }
607
608
    private function renderPieChart($groupCount, $dimensions = '2d', $doughnut = false, $multiplePlots = false)
609
    {