• 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>
        html,
        body,
        #myChart {
          width: 100%;
          height: 100%;
        }
      </style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "graphset": [{
            "type": "grid",
            "plotarea": {
              "margin": "35 20 20 20"
            },
            "options": {
              "header-row": true,
              "col-labels": ["First Name", "Last Name", "Birthday", "Country"],
            },
            "series": [{
                "values": ["Jon", "Anderson", "January 9, 1957", "United Kingdom"]
              },
              {
                "values": ["Steve", "Hogarth", "January 25, 1950", "United Kingdom"]
              },
              {
                "values": ["Jim", "Carrey", "June 12, 1972", "United States"]
              },
              {
                "values": ["Paul", "Hogan", "October 22, 1956", "Australia"]
              },
              {
                "values": ["Brenden", "Morrow", "January 16, 1979", "Canada"]
              },
              {
                "values": ["Kate", "Moss", "January 16, 1974", "United Kingdom"]
              },
              {
                "values": ["David", "Chokachi", "January 16, 1968", "United States"]
              },
              {
                "values": ["Josie", "Davis", "January 16, 1973", "United Kingdom"]
              },
              {
                "values": ["Alex", "Morgan", "July 2, 1989", "United States"]
              },
              {
                "values": ["Tom", "Cruise", "July 3, 1962", "United States"]
              },
              {
                "values": ["Tony", "Bennett", "August 3, 1926", "United States"]
              },
              {
                "values": ["Martha", "Stewart", "August 3, 1941", "United States"]
              },
              {
                "values": ["Tom", "Brady", "August 3, 1977", "United States"]
              },
              {
                "values": ["Julie", "Bowen", "March 3, 1970", "United States"]
              },
              {
                "values": ["Barack", "Obama", "August 4, 1961", "United States"]
              }
            ]
          }]
        };
    
        zingchart.render({
          id: 'myChart',
          data: myConfig,
          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>
      <div id='myChart'></div>
    </body>
    
    </html>
    html,
    body,
    #myChart {
      width: 100%;
      height: 100%;
    }
    var myConfig = {
      "graphset": [{
        "type": "grid",
        "plotarea": {
          "margin": "35 20 20 20"
        },
        "options": {
          "header-row": true,
          "col-labels": ["First Name", "Last Name", "Birthday", "Country"],
        },
        "series": [{
            "values": ["Jon", "Anderson", "January 9, 1957", "United Kingdom"]
          },
          {
            "values": ["Steve", "Hogarth", "January 25, 1950", "United Kingdom"]
          },
          {
            "values": ["Jim", "Carrey", "June 12, 1972", "United States"]
          },
          {
            "values": ["Paul", "Hogan", "October 22, 1956", "Australia"]
          },
          {
            "values": ["Brenden", "Morrow", "January 16, 1979", "Canada"]
          },
          {
            "values": ["Kate", "Moss", "January 16, 1974", "United Kingdom"]
          },
          {
            "values": ["David", "Chokachi", "January 16, 1968", "United States"]
          },
          {
            "values": ["Josie", "Davis", "January 16, 1973", "United Kingdom"]
          },
          {
            "values": ["Alex", "Morgan", "July 2, 1989", "United States"]
          },
          {
            "values": ["Tom", "Cruise", "July 3, 1962", "United States"]
          },
          {
            "values": ["Tony", "Bennett", "August 3, 1926", "United States"]
          },
          {
            "values": ["Martha", "Stewart", "August 3, 1941", "United States"]
          },
          {
            "values": ["Tom", "Brady", "August 3, 1977", "United States"]
          },
          {
            "values": ["Julie", "Bowen", "March 3, 1970", "United States"]
          },
          {
            "values": ["Barack", "Obama", "August 4, 1961", "United States"]
          }
        ]
      }]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: "100%",
      width: "100%"
    });