Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit e2a0216

Browse files
committed
Merge branch 'master' of github.com:LLoadout/components
2 parents 843027d + 5d356b2 commit e2a0216

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ The components provide by LLoadout are prefixed with 'load'.
3737
<img src="https://github.com/LLoadout/assets/blob/master/components/select.png" width="400" title="LLoadout Components - select box">
3838
</p>
3939

40-
@php($options = [1 => 'first', 2 => 'second']);
41-
<x-load-select name="your-name" :options="$options" class="searchable"></x-select>
40+
@php($options = [1 => 'first', 2 => 'second'])
41+
<x-load-select name="your-name" :options="$options" class="searchable"></x-load-select>
4242

4343
This markup will render as
4444

@@ -70,7 +70,7 @@ The bar chart has an extra param
7070
<img src="https://github.com/LLoadout/assets/blob/master/components/barchart-horizontal.png" width="400" title="LLoadout Components - bar chart">
7171
</p>
7272

73-
<x-load-barchart title="Provide a title" key="delayed-{{ now() }}" orientation='horizontal' :data="[10,20,70]" :labels="['a']"></x-load-barchart>
73+
<x-load-barchart title="Provide a title" chartkey="your-name" key="delayed-{{ now() }}" orientation='horizontal' :data="[10,20,70]" :labels="['a']"></x-load-barchart>
7474

7575
#### Stacked barchart
7676

@@ -79,7 +79,7 @@ The bar chart has an extra param
7979
</p>
8080
For the stacked barchart you can use the same tag as for the simple barchart , it takes an array of arrays as data
8181

82-
<x-load-barchart title="Provide a title" key="delayed-{{ now() }}" orientation='horizontal' :data="[[10,20,70],[10,20,70],[10,20,70]]" :labels="['a']"></x-load-barchart>
82+
<x-load-barchart title="Provide a title" chartkey="your-name" key="delayed-{{ now() }}" orientation='horizontal' :data="[[10,20,70],[10,20,70],[10,20,70]]" :labels="['a']"></x-load-barchart>
8383

8484

8585
#### Piechart
@@ -88,15 +88,15 @@ For the stacked barchart you can use the same tag as for the simple barchart , i
8888
<img src="https://github.com/LLoadout/assets/blob/master/components/piechart.png" width="400" title="LLoadout Components - pie chart">
8989
</p>
9090

91-
<x-load-piechart title="Provide a title" key="delayed-{{ now() }}" :data="[10,20,70]" :labels="['a']"></x-load-piechart>
91+
<x-load-piechart title="Provide a title" chartkey="your-name" key="delayed-{{ now() }}" :data="[10,20,70]" :labels="['a']"></x-load-piechart>
9292

9393
#### Linechart
9494

9595
<p align="center">
9696
<img src="https://github.com/LLoadout/assets/blob/master/components/linechart.png" width="400" title="LLoadout Components - line chart">
9797
</p>
9898

99-
<x-load-linechart title="Provide a title" key="delayed-{{ now() }}" :data="[10,20,70]" :labels="['a']"></x-load-linechart>
99+
<x-load-linechart title="Provide a title" chartkey="your-name" key="delayed-{{ now() }}" :data="[10,20,70]" :labels="['a']"></x-load-linechart>
100100

101101
### Signature
102102

0 commit comments

Comments
 (0)