This widget is based on the standard Dashing Graph widget. The additions are:
- suffix management
- possibility of adding a background image
Very close to the standard graph widget, if you refer to the thumbnail, you'll see an example.
Copy
- graphenhanced.coffee
- graphenhanced.html
- graphenhanced.scss
in a "graphenhanced" folder in your dashing widget directory.
Its use is very close to the standard Graph widget, with the added management of prefix and background image.
Add the declaration of the widget.
Examples :
For Dashing-js
li(data-row='1', data-col='1', data-sizex='2', data-sizey='1')
div(data-id='valuationineuro', data-view='Graphenhanced', data-title='Valuation', style='background-color:#25AA85', data-suffix=' €', data-moreinfo='(CAC)')
i.fa.fa-keyboard-o.icon-background
For regular Dashing
<li data-row='1' data-col='1' data-sizex='2' data-sizey='1'>
<div data-id='valuationineuro' data-view='Graphenhanced' data-title='Valuation' style='background-color:#25AA85' data-suffix=' €' data-moreinfo='(CAC)'></div>
<i class='fa fa-keyboard-o icon-background'></i>
</li>
The events are the same as the standard graph widget.
Licenced under the Creative Commons Attribution 4.0