<!DOCTYPE html>
<html class="zc-html">
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
<style>
.zc-html,
.zc-body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #fff;
}
.chart--container {
min-height: 530px;
width: 100%;
height: 100%;
}
.zc-ref {
display: none;
}
</style>
</head>
<body class="zc-body">
<div id="myChart" class="chart--container">
<a href="https://www.zingchart.com/" rel="noopener" class="zc-ref">Powered by ZingChart</a>
</div>
<script>
ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
let chartConfig = {
type: 'venn',
title: {
text: 'Facts About AngularJS'
},
tooltip: {
text: '%t',
borderRadius: '5px',
fontSize: '15px'
},
series: [{
text: 'Popularity Of AngularJS Online',
values: [400],
tooltip: {
backgroundColor: '#006ACC'
},
backgroundColor: '#006ACC',
join: [15]
},
{
text: 'People Who Use AngularJS',
values: [300],
tooltip: {
backgroundColor: '#FBB148'
},
backgroundColor: '#FBB148',
join: [15]
},
{
text: 'People Who Actually Know How To Use AngularJS',
values: [100],
tooltip: {
backgroundColor: '#DD0031'
},
backgroundColor: '#DD0031',
join: [15]
}
]
};
zingchart.render({
id: 'myChart',
data: chartConfig,
height: '100%',
width: '100%',
});
</script>
</body>
</html>
<!DOCTYPE html>
<html class="zc-html">
<head>
<meta charset="utf-8">
<title>ZingSoft Demo</title>
<script src="https://cdn.zingchart.com/zingchart.min.js"></script>
</head>
<body class="zc-body">
<div id="myChart" class="chart--container">
<a href="https://www.zingchart.com/" rel="noopener" class="zc-ref">Powered by ZingChart</a>
</div>
</body>
</html>
let chartConfig = {
type: 'venn',
title: {
text: 'Facts About AngularJS'
},
tooltip: {
text: '%t',
borderRadius: '5px',
fontSize: '15px'
},
series: [
{
text: 'Popularity Of AngularJS Online',
values: [400],
tooltip: {
backgroundColor: '#006ACC'
},
backgroundColor: '#006ACC',
join: [15]
},
{
text: 'People Who Use AngularJS',
values: [300],
tooltip: {
backgroundColor: '#FBB148'
},
backgroundColor: '#FBB148',
join: [15]
},
{
text: 'People Who Actually Know How To Use AngularJS',
values: [100],
tooltip: {
backgroundColor: '#DD0031'
},
backgroundColor: '#DD0031',
join: [15]
}
]
};
zingchart.render({
id: 'myChart',
data: chartConfig,
height: '100%',
width: '100%',
});