• 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>
        #chart-container {
          height: 500px;
          width: 100%;
          border: 1px dotted black;
        }
    
        #chart-1 {
          float: left;
          width: 60%;
          height: 100%;
        }
    
        #chart-2 {
          width: 40%;
          height: 100%;
        }
      </style>
    </head>
    
    <body>
      <section id="chart-container">
        <div id='chart-1'></div>
        <div id='chart-2'></div>
      </section>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          type: "bar",
          title: {
            text: 'Responsive'
          },
          series: [{
            values: [35, 42, 67, 89, 25, 34, 67, 85]
          }]
        };
    
        zingchart.render({
          id: 'chart-1',
          data: myConfig,
          height: "100%",
          width: "100%"
        });
    
        var myConfig2 = {
          type: "line",
          title: {
            text: 'Responsive'
          },
          series: [{
            values: [35, 42, 67, 89, 25, 34, 67, 85]
          }]
        };
    
        zingchart.render({
          id: 'chart-2',
          data: myConfig2,
          height: "100%",
          width: "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>
      <section id="chart-container">
        <div id='chart-1'></div>
        <div id='chart-2'></div>
      </section>
    </body>
    
    </html>
    #chart-container {
      height: 500px;
      width: 100%;
      border: 1px dotted black;
    }
    
    #chart-1 {
      float: left;
      width: 60%;
      height: 100%;
    }
    
    #chart-2 {
      width: 40%;
      height: 100%;
    }
    var myConfig = {
      type: "bar",
      title: {
        text: 'Responsive'
      },
      series: [{
        values: [35, 42, 67, 89, 25, 34, 67, 85]
      }]
    };
    
    zingchart.render({
      id: 'chart-1',
      data: myConfig,
      height: "100%",
      width: "100%"
    });
    
    var myConfig2 = {
      type: "line",
      title: {
        text: 'Responsive'
      },
      series: [{
        values: [35, 42, 67, 89, 25, 34, 67, 85]
      }]
    };
    
    zingchart.render({
      id: 'chart-2',
      data: myConfig2,
      height: "100%",
      width: "100%"
    });