ForgeComponents
en

Components

j-Stats7

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)
  • firstday {Number} first day (default: 0)

Use it with <ui-component name="stats7">. 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:300px;margin:0 auto">
	<ui-component name="stats7" path="mystats" config="height:80"></ui-component>
</div>

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