• Edit
  • Download
  • <!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;
          flex-flow: row wrap;
          justify-content: space-around;
        }
    
        #myChart {
          height: 40%;
          flex-basis: 250px;
        }
    
        #myChart1 {
          height: 40%;
          flex-basis: 250px;
        }
    
        #myChart2 {
          height: 40%;
          flex-basis: 250px;
          ;
        }
    
        #myChart3 {
          height: 40%;
          flex-basis: 250px;
        }
      </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;
      flex-flow: row wrap;
      justify-content: space-around;
    }
    
    #myChart {
      height: 40%;
      flex-basis: 250px;
    }
    
    #myChart1 {
      height: 40%;
      flex-basis: 250px;
    }
    
    #myChart2 {
      height: 40%;
      flex-basis: 250px;
      ;
    }
    
    #myChart3 {
      height: 40%;
      flex-basis: 250px;
    }
    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%',
    });