ForgeComponents
en

Components

j-Stats12

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

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.

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>