• 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>
        #myChart {
          height: 400px;
        }
    
        #button {
          float: left;
          background-color: #C0C0C0;
          height: 20px;
          padding: 5px;
          border-radius: 5px;
        }
    
        #button:hover {
          cursor: pointer;
          background-color: #C1C9C3;
        }
      </style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          type: "bar",
          legend: {
            toggleAction: "remove",
            adjustLayout: true
          },
          series: [{
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [135, 42, 67, 189, 25, 344, 67, 845]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              visible: true,
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [135, 42, 67, 189, 25, 344, 67, 845]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [135, 42, 67, 189, 25, 344, 67, 845]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            },
            {
              values: [135, 42, 67, 189, 25, 344, 67, 845]
            },
            {
              values: [35, 42, 67, 89, 25, 34, 67, 85]
            }
          ]
        };
    
    
        zingchart.render({
          id: 'myChart',
          data: myConfig,
          height: 400,
          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>
      <div id='myChart'></div>
    </body>
    
    </html>
     #myChart {
       height: 400px;
     }
    
     #button {
       float: left;
       background-color: #C0C0C0;
       height: 20px;
       padding: 5px;
       border-radius: 5px;
     }
    
     #button:hover {
       cursor: pointer;
       background-color: #C1C9C3;
     }
    var myConfig = {
      type: "bar",
      legend: {
        toggleAction: "remove",
        adjustLayout: true
      },
      series: [{
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [135, 42, 67, 189, 25, 344, 67, 845]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          visible: true,
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [135, 42, 67, 189, 25, 344, 67, 845]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [135, 42, 67, 189, 25, 344, 67, 845]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        },
        {
          values: [135, 42, 67, 189, 25, 344, 67, 845]
        },
        {
          values: [35, 42, 67, 89, 25, 34, 67, 85]
        }
      ]
    };
    
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 400,
      width: "100%"
    });