Added widget charts, chart extracted from widgets.

This commit is contained in:
woothu
2018-10-11 12:34:59 +02:00
parent 2023248ee2
commit 364c951ef2
26 changed files with 785 additions and 130 deletions
+17
View File
@@ -0,0 +1,17 @@
### Widget04
This widget style depends on type property which defines which social widget background color and icon will be used (i.e facebook, twitter, linkedin, google-plus). Inside component there is slot for placing data chart.
prop | default
--- | ---
type | `facebook`
rightHeader | `'rightHeader:string'`
rightFooter | `'rightFooter:string'`
leftHeader | `'leftHeader:string'`
leftFooter | `'leftFooter:string'`
#### Example:
> <widget04 type="linkedin" rightHeader="500+" rightFooter="contracts" leftHeader="292" leftFooter="feeds">
> <line-chart1 chartId="linkedIn" :data='[15, 22, 34, 46, 58, 70, 68, 58, 52, 60, 64, 71]'
> label='Contracts' style='height:100px' backgroundColor='rgba(255,255,255,.1)'/>
> </widget04>