From acd456611e5963af2559279e7e067f1dafe23e54 Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Thu, 7 Jul 2016 01:37:49 -0400 Subject: [PATCH] square linecaps are much faster to render --- src/NeatCharts/BarChart.php | 2 +- src/NeatCharts/CandlestickChart.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NeatCharts/BarChart.php b/src/NeatCharts/BarChart.php index d5947aa..a5b534b 100644 --- a/src/NeatCharts/BarChart.php +++ b/src/NeatCharts/BarChart.php @@ -48,7 +48,7 @@ namespace NeatCharts { fill-opacity="0.5" stroke="'.( $this->options['barColor'] ).'" stroke-width="2" - stroke-linecap="round" + stroke-linecap="square" > diff --git a/src/NeatCharts/CandlestickChart.php b/src/NeatCharts/CandlestickChart.php index 85ed036..61104da 100644 --- a/src/NeatCharts/CandlestickChart.php +++ b/src/NeatCharts/CandlestickChart.php @@ -75,7 +75,7 @@ namespace NeatCharts { class="chart__bars" stroke="'.( $this->options['barColor'] ).'" stroke-width="1" - stroke-linecap="round" + stroke-linecap="square" >