# j-NoSQLcounter

> j-NoSQLcounter: łatwy w użyciu; źródło danych musi być w formie: [{ id: 201702, rok: 2017, miesiąc: 2, wartość: 1690 }]

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: pl
Content-SHA256: 816647e8ab8ea1c8c1e0ba237f87adb394c7ed43b8c9f84b27dce040b8df63d1
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- Ź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 dla `value` (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.

```html example.html
<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>
```
