mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 01:16:09 +00:00
square linecaps are much faster to render
This commit is contained in:
parent
6f33d2b1d4
commit
acd456611e
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ namespace NeatCharts {
|
||||||
fill-opacity="0.5"
|
fill-opacity="0.5"
|
||||||
stroke="'.( $this->options['barColor'] ).'"
|
stroke="'.( $this->options['barColor'] ).'"
|
||||||
stroke-width="2"
|
stroke-width="2"
|
||||||
stroke-linecap="round"
|
stroke-linecap="square"
|
||||||
>
|
>
|
||||||
<path d="'.( $chartPoints ).'" />
|
<path d="'.( $chartPoints ).'" />
|
||||||
</g>
|
</g>
|
||||||
|
|
|
@ -75,7 +75,7 @@ namespace NeatCharts {
|
||||||
class="chart__bars"
|
class="chart__bars"
|
||||||
stroke="'.( $this->options['barColor'] ).'"
|
stroke="'.( $this->options['barColor'] ).'"
|
||||||
stroke-width="1"
|
stroke-width="1"
|
||||||
stroke-linecap="round"
|
stroke-linecap="square"
|
||||||
>
|
>
|
||||||
<g
|
<g
|
||||||
class="chart__whiskers"
|
class="chart__whiskers"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue