j-NoSQLcounter
- Źródło danych musi być w formie:
[{ id: 201702, year: 2017, month: 2, value: 1690 }]
Konfiguracja:
count{Liczba} maksymalne paski w wykresie (default:0===auto-count)lastvalues{Boolean} pokazuje tylko ostatnie wartości (default:false)months{String} miesiące np.January,February,etc.- NEW
limit{Liczba} maksymalny limit dlavalue(default:0- nie jest włączony)
Użyj go z <ui-component name="nosqlcounter">Gdy element nie jest jeszcze ładowany, jComponent Pobierz go po pierwszym użyciu z adresu DEF.fallback (Wydaje się Componentator Autor: Peter Širka Źródło: Componentator Zestaw składników, licencja MIT.
<div style="width:400px">
<ui-component name="nosqlcounter" path="stats" style="height:40px"></ui-component>
</div>
<script>
var stats = [{"id":"201702","year":2017,"month":2,"value":1690},{"id":"201703","year":2017,"month":3,"value":1199},{"id":"201704","year":2017,"month":4,"value":393}];
</script>