# j-Stats12

> j-Stats12 options: height, max, border, highlight

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

__Configuration__:

- `height {Number}` a height of chart (default: `120`)
- `max {Number}` a maximal hourly value (default: `undefined`)
- `border {Boolean}` enables border (default: `true`)
- `highlight {Boolean}` highlights the current hour (default: `false`)

Use it with `<ui-component name="stats12">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

```html example.html
<div style="width:400px;margin:0 auto">
	<ui-component name="stats12" path="mystats" config="height:80"></ui-component>
</div>

<script>
	var mystats = [30, 500, 33, 49, 340, 94, 10, 30, 500, 33, 49, 3];
</script>
```
