<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<!--ZingChart Mobile-->
<script nonce="undefined" src="https://cdn.zingchart.com/modules/zingchart-mobile.min.js"></script>
<link rel="stylesheet" href="https://cdn.zingchart.com/modules/zingchart-mobile.min.css">
<!--ZingChart Mobile End-->
<script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
<style>
@import 'https://fonts.googleapis.com/css?family=Montserrat';
#container {
width: 100%;
display: flex;
justify-content: center;
margin: 0;
}
#myChart {
margin: 0;
border-radius: 5px;
height: 667px;
width: 250px;
}
</style>
</head>
<body>
<div id="container">
<div id='myChart'></div>
</div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
var myConfig = {
type: 'area',
globals: {
fontFamily: 'Montserrat',
color: 'white',
},
backgroundColor: '#0D47A1',
options: {
contextMenu: {
button: {
open: {
lineColor: 'white'
},
close: {
lineColor: 'white'
}
}
}
},
plotarea: {
margin: 'dynamic'
},
scaleX: {
labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
zoomTo: [2, 7], //CHANGE VALUE FOR EXAMPLE
item: {
fontAngle: -90
}
},
scrollX: {
bar: {
height: 15,
backgroundColor: '#0D47A1',
borderWidth: 0,
alpha: 0
},
handle: {
height: 10,
alpha: 4
}
},
scaleY: {
_values: '0: 20000: 5000'
},
series: [{
values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21],
backgroundColor: '#BBDEFB'
}]
};
zingchart.render({
id: 'myChart',
data: myConfig,
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<!--ZingChart Mobile-->
<script src="https://cdn.zingchart.com/modules/zingchart-mobile.min.js"></script>
<link rel="stylesheet" href="https://cdn.zingchart.com/modules/zingchart-mobile.min.css">
<!--ZingChart Mobile End-->
<script src="https://cdn.zingchart.com/zingchart.min.js"></script>
</head>
<body>
<div id="container">
<div id='myChart'></div>
</div>
</body>
</html>
@import 'https://fonts.googleapis.com/css?family=Montserrat';
#container {
width: 100%;
display: flex;
justify-content: center;
margin: 0;
}
#myChart {
margin: 0;
border-radius: 5px;
height: 667px;
width: 250px;
}
var myConfig = {
type: 'area',
globals: {
fontFamily: 'Montserrat',
color: 'white',
},
backgroundColor: '#0D47A1',
options: {
contextMenu: {
button: {
open: {
lineColor: 'white'
},
close: {
lineColor: 'white'
}
}
}
},
plotarea: {
margin: 'dynamic'
},
scaleX: {
labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
zoomTo: [2, 7], //CHANGE VALUE FOR EXAMPLE
item: {
fontAngle: -90
}
},
scrollX: {
bar: {
height: 15,
backgroundColor: '#0D47A1',
borderWidth: 0,
alpha: 0
},
handle: {
height: 10,
alpha: 4
}
},
scaleY: {
_values: '0: 20000: 5000'
},
series: [{
values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21],
backgroundColor: '#BBDEFB'
}]
};
zingchart.render({
id: 'myChart',
data: myConfig,
});