• 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>
        @import 'https://fonts.googleapis.com/css?family=Muli';
    
        * {
          box-sizing: border-box;
        }
    
        body {
          background-color: #f6f6f6;
        }
    
        #container {
          height: 500px;
          display: flex;
          justify-content: space-around;
          flex-flow: row wrap;
        }
    
        #myChart {
          flex-basis: 250px;
          height: 40%;
          box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
          margin: 10px;
          border-radius: 5px;
        }
    
        #myChart1 {
          flex-basis: 250px;
          height: 40%;
          box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
          margin: 10px;
          border-radius: 5px;
        }
    
        #myChart2 {
          flex-basis: 250px;
          height: 40%;
          box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
          margin: 10px;
          border-radius: 5px;
        }
    
        #myChart3 {
          flex-basis: 250px;
          height: 40%;
          box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
          margin: 10px;
          border-radius: 5px;
        }
      </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",
          globals: {
            fontFamily: "Muli"
          },
          tooltip: {
            borderRadius: "5px"
          },
          scaleY: {
            guide: {
              visible: false
            }
          },
          series: [{
            values: [35, 42, 67, 89, 25, 34, 67, 85],
            borderRadius: "5px",
            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>
    @import 'https://fonts.googleapis.com/css?family=Muli';
    
    * {
      box-sizing: border-box;
    }
    
    body {
      background-color: #f6f6f6;
    }
    
    #container {
      height: 500px;
      display: flex;
      justify-content: space-around;
      flex-flow: row wrap;
    }
    
    #myChart {
      flex-basis: 250px;
      height: 40%;
      box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
      margin: 10px;
      border-radius: 5px;
    }
    
    #myChart1 {
      flex-basis: 250px;
      height: 40%;
      box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
      margin: 10px;
      border-radius: 5px;
    }
    
    #myChart2 {
      flex-basis: 250px;
      height: 40%;
      box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
      margin: 10px;
      border-radius: 5px;
    }
    
    #myChart3 {
      flex-basis: 250px;
      height: 40%;
      box-shadow: 10px 10px 5px 0 rgba(230, 230, 230, 1);
      margin: 10px;
      border-radius: 5px;
    }
    var myConfig = {
      type: "bar",
      globals: {
        fontFamily: "Muli"
      },
      tooltip: {
        borderRadius: "5px"
      },
      scaleY: {
        guide: {
          visible: false
        }
      },
      series: [{
        values: [35, 42, 67, 89, 25, 34, 67, 85],
        borderRadius: "5px",
        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%',
    });