Code Duplication    Length = 8-8 lines in 2 locations

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

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