<!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> body { background-color: #f6f6f6; } #container { height: 500px; display: flex; } #myChart { width: 25%; height: 50%; } #myChart1 { width: 25%; height: 50%; } #myChart2 { width: 25%; height: 50%; } #myChart3 { width: 25%; height: 50%; } </style> </head> <body> <div id="container"> <div id="myChart"></div> <div id="myChart1"></div> <div id="myChart2"></div> <div id="myChart3"></div> </div> <script> ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"]; var myConfig = { type: "bar", series: [{ values: [35, 42, 67, 89, 25, 34, 67, 85], backgroundColor: "#67C8FF" }] }; zingchart.render({ id: 'myChart', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart1', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart2', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart3', data: myConfig, height: '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="container"> <div id="myChart"></div> <div id="myChart1"></div> <div id="myChart2"></div> <div id="myChart3"></div> </div> </body> </html>
body { background-color: #f6f6f6; } #container { height: 500px; display: flex; } #myChart { width: 25%; height: 50%; } #myChart1 { width: 25%; height: 50%; } #myChart2 { width: 25%; height: 50%; } #myChart3 { width: 25%; height: 50%; }
var myConfig = { type: "bar", series: [{ values: [35, 42, 67, 89, 25, 34, 67, 85], backgroundColor: "#67C8FF" }] }; zingchart.render({ id: 'myChart', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart1', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart2', data: myConfig, height: '100%', }); zingchart.render({ id: 'myChart3', data: myConfig, height: '100%', });