From 6f67493efce57ee7579f805eea8d32bf547386a5 Mon Sep 17 00:00:00 2001 From: webeweb Date: Sat, 7 Oct 2017 15:52:45 +0200 Subject: [PATCH] Correct indent --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4c8ff1b4..da9869f1 100755 --- a/README.md +++ b/README.md @@ -57,16 +57,16 @@ In your controller ... // Initialize the chart. $chart = new HighchartsChart; - $chart->newChart()->setType("pie"); - $chart->newPlotOptions(); - $chart->getPlotOptions()->newPie() - ->setAllowPointSelect(true) - ->setCursor("pointer") - ->setShowInLegend(true) - ->newDataLabels()->setEnabled(true); - $chart->setSeries($series); - $chart->newTitle()->setText("your_custom_test"); - $chart->newTooltip()->setPointFormat("{series.name}: {point.percentage:.1f}%"); + $chart->newChart()->setType("pie"); + $chart->newPlotOptions(); + $chart->getPlotOptions()->newPie() + ->setAllowPointSelect(true) + ->setCursor("pointer") + ->setShowInLegend(true) + ->newDataLabels()->setEnabled(true); + $chart->setSeries($series); + $chart->newTitle()->setText("your_custom_test"); + $chart->newTooltip()->setPointFormat("{series.name}: {point.percentage:.1f}%"); return $this->render('::your_template.html.twig', [ 'chart' => $chart