• 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></style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "type": "area",
          "scale-x": {
            "labels": ["Day 1", "Day 2", "Day 3", "Day 4", "Day 5", "Day 6", "Day 7"]
          },
          "scale-y": {
            "values": "0:1000000:200000",
            "exponent": true,
            "exponent-decimals": 1,
          },
          "plot": {
            "aspect": "spline"
          },
          "plotarea": {
            "margin-left": "dynamic"
          },
          "series": [{
            "values": [31342, 596061, 76790, 151630, 75319, 771421, 989312]
          }]
        };
    
        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>
    
          
    var myConfig = {
      "type": "area",
      "scale-x": {
        "labels": ["Day 1", "Day 2", "Day 3", "Day 4", "Day 5", "Day 6", "Day 7"]
      },
      "scale-y": {
        "values": "0:1000000:200000",
        "exponent": true,
        "exponent-decimals": 1,
      },
      "plot": {
        "aspect": "spline"
      },
      "plotarea": {
        "margin-left": "dynamic"
      },
      "series": [{
        "values": [31342, 596061, 76790, 151630, 75319, 771421, 989312]
      }]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 400,
      width: "100%"
    });