<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
<style></style>
</head>
<body>
<div id='myChart'></div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
var myConfig = {
"type": "bar",
"title": {
"text": "Exact Mode"
},
"crosshair-x": {
"exact": true, //false (default) or true
"plot-label": {
"text": "%vv bars at %kv",
"transform": {
"type": "date",
"all": "%g:%i %a"
}
}
},
"scale-x": {
"min-value": 1451606436000,
"max-value": 1451692836000,
"step": "hour",
"transform": {
"type": "date",
"all": "%g %a"
},
"max-items": 9,
"item": {
"font-size": 10
}
},
"utc": true,
"plot": {
"tooltip": {
"visible": false
},
"bar-width": "40%",
"background-color": "pink orange",
"border-width": 1,
"border-color": "gray"
},
"series": [{
"values": [
[1451631600000, 35],
[1451634600000, 42],
[1451636100000, 67],
[1451637780000, 89],
[1451648040000, 34],
[1451649600000, 25],
[1451655240000, 67],
[1451656800000, 85],
[1451681700000, 32],
[1451683200000, 99],
[1451685240000, 64],
[1451691120000, 16]
]
}]
};
zingchart.render({
id: 'myChart',
data: myConfig,
height: 400,
width: "100%"
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<script src="https://cdn.zingchart.com/zingchart.min.js"></script>
</head>
<body>
<div id='myChart'></div>
</body>
</html>
var myConfig = {
"type": "bar",
"title": {
"text": "Exact Mode"
},
"crosshair-x": {
"exact": true, //false (default) or true
"plot-label": {
"text": "%vv bars at %kv",
"transform": {
"type": "date",
"all": "%g:%i %a"
}
}
},
"scale-x": {
"min-value": 1451606436000,
"max-value": 1451692836000,
"step": "hour",
"transform": {
"type": "date",
"all": "%g %a"
},
"max-items": 9,
"item": {
"font-size": 10
}
},
"utc": true,
"plot": {
"tooltip": {
"visible": false
},
"bar-width": "40%",
"background-color": "pink orange",
"border-width": 1,
"border-color": "gray"
},
"series": [{
"values": [
[1451631600000, 35],
[1451634600000, 42],
[1451636100000, 67],
[1451637780000, 89],
[1451648040000, 34],
[1451649600000, 25],
[1451655240000, 67],
[1451656800000, 85],
[1451681700000, 32],
[1451683200000, 99],
[1451685240000, 64],
[1451691120000, 16]
]
}]
};
zingchart.render({
id: 'myChart',
data: myConfig,
height: 400,
width: "100%"
});