<!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: "line",
title: {
text: "Server Load"
},
subtitle: {
text: "CoLocation North"
},
scaleY: {
markers: [{
type: "area",
range: [85, 100],
backgroundColor: "#9d0404",
alpha: 0.7
},
{
type: "area",
range: [60, 85],
backgroundColor: "#d89108",
alpha: 0.7
},
{
type: "area",
range: [20, 60],
backgroundColor: "#068b04",
alpha: 0.7
},
{
type: "area",
range: [0, 20],
backgroundColor: "#045b8b",
alpha: 0.7
}
],
},
series: [{
values: [34, 93, 46, 100, 33, 78, 10, 24, 92, 77, 12, 1],
lineColor: "#333",
marker: {
backgroundColor: "#333"
}
},
{
values: [8, 46, 65, 79, 93, 77, 31, 24, 90, 53, 9, 81],
lineColor: "#787878",
marker: {
backgroundColor: "#787878"
}
},
{
values: [23, 93, 34, 72, 96, 33, 32, 27, 38, 49, 75, 74],
lineColor: "#a1a1a1",
marker: {
backgroundColor: "#a1a1a1"
}
}
]
};
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: "line",
title: {
text: "Server Load"
},
subtitle: {
text: "CoLocation North"
},
scaleY: {
markers: [{
type: "area",
range: [85, 100],
backgroundColor: "#9d0404",
alpha: 0.7
},
{
type: "area",
range: [60, 85],
backgroundColor: "#d89108",
alpha: 0.7
},
{
type: "area",
range: [20, 60],
backgroundColor: "#068b04",
alpha: 0.7
},
{
type: "area",
range: [0, 20],
backgroundColor: "#045b8b",
alpha: 0.7
}
],
},
series: [{
values: [34, 93, 46, 100, 33, 78, 10, 24, 92, 77, 12, 1],
lineColor: "#333",
marker: {
backgroundColor: "#333"
}
},
{
values: [8, 46, 65, 79, 93, 77, 31, 24, 90, 53, 9, 81],
lineColor: "#787878",
marker: {
backgroundColor: "#787878"
}
},
{
values: [23, 93, 34, 72, 96, 33, 32, 27, 38, 49, 75, 74],
lineColor: "#a1a1a1",
marker: {
backgroundColor: "#a1a1a1"
}
}
]
};
zingchart.render({
id: 'myChart',
data: myConfig,
height: 400,
width: '100%'
});