<!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>
html,
body,
#myChart {
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div id='myChart'></div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
var myConfig = {
"type": "mixed",
"title": {
"text": "Range/Scatter Mixed Chart"
},
"scale-x": {
"labels": ["M", "T", "W", "H", "F", "S/S"],
"values": "0:5"
},
"scale-y": {
"values": "0:100:25",
"guide": {
"visible": false
}
},
"series": [{
"type": "range",
"values": [
[9, 15],
[15, 29],
[5, 21],
[30, 34],
[34, 59],
[30, 93]
],
"aspect": "spline",
"background-color": "#ff0066 #ff9966",
"line-color": "#66CCFF",
"line-width": 1,
"marker": {
"type": "none"
}
},
{
"type": "scatter",
"values": [
[0.3, 12],
[0.5, 15],
[1, 19],
[1.5, 15],
[1.7, 14],
[2, 16],
[3, 32],
[3.3, 37],
[3.4, 34],
[4, 37],
[4.2, 54],
[4.3, 60],
[4.4, 39],
[4.5, 50],
[4.5, 34],
[4.6, 70],
[4.7, 80],
[4.8, 65],
[4.8, 71],
[4.9, 34]
],
"marker": {
"size": 4,
"background-color": "#66CCFF #FFCCFF",
"border-color": "white"
}
}
]
};
zingchart.render({
id: 'myChart',
data: myConfig,
height: "100%",
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>
html,
body,
#myChart {
height: 100%;
width: 100%;
}
var myConfig = {
"type": "mixed",
"title": {
"text": "Range/Scatter Mixed Chart"
},
"scale-x": {
"labels": ["M", "T", "W", "H", "F", "S/S"],
"values": "0:5"
},
"scale-y": {
"values": "0:100:25",
"guide": {
"visible": false
}
},
"series": [{
"type": "range",
"values": [
[9, 15],
[15, 29],
[5, 21],
[30, 34],
[34, 59],
[30, 93]
],
"aspect": "spline",
"background-color": "#ff0066 #ff9966",
"line-color": "#66CCFF",
"line-width": 1,
"marker": {
"type": "none"
}
},
{
"type": "scatter",
"values": [
[0.3, 12],
[0.5, 15],
[1, 19],
[1.5, 15],
[1.7, 14],
[2, 16],
[3, 32],
[3.3, 37],
[3.4, 34],
[4, 37],
[4.2, 54],
[4.3, 60],
[4.4, 39],
[4.5, 50],
[4.5, 34],
[4.6, 70],
[4.7, 80],
[4.8, 65],
[4.8, 71],
[4.9, 34]
],
"marker": {
"size": 4,
"background-color": "#66CCFF #FFCCFF",
"border-color": "white"
}
}
]
};
zingchart.render({
id: 'myChart',
data: myConfig,
height: "100%",
width: "100%"
});