- <!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": {
- "col-labels": ["Id", "First Name", "Last Name", "Birthday", "Sex", "Country"],
- "col-widths": ["6%", "21%", "21%", "21%", "9%", "22%"],
- "style": {
- ".th": {
- "y": "0px",
- "background-color": "#7ca82b",
- "font-color": "#fff",
- "font-size": "18",
- "font-weight": "none",
- "height": "40px"
- }
- }
- },
- "series": [{
- "values": [1, "Jon", "Anderson", "January 9, 1957", "M", "United Kingdom"]
- },
- {
- "values": [2, "Steve", "Hogarth", "January 25, 1950", "M", "United Kingdom"]
- },
- {
- "values": [3, "Jim", "Carrey", "June 12, 1972", "M", "United States"]
- },
- {
- "values": [4, "Paul", "Hogan", "October 22, 1956", "M", "Australia"]
- },
- {
- "values": [5, "Brenden", "Morrow", "January 16, 1979", "M", "Canada"]
- },
- {
- "values": [6, "Kate", "Moss", "January 16, 1974", "F", "United Kingdom"]
- },
- {
- "values": [7, "David", "Chokachi", "January 16, 1968", "M", "United States"]
- },
- {
- "values": [8, "Josie", "Davis", "January 16, 1973", "F", "United Kingdom"]
- },
- {
- "values": [9, "Alex", "Morgan", "July 2, 1989", "F", "United States"]
- },
- {
- "values": [10, "Tom", "Cruise", "July 3, 1962", "M", "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": {
- "col-labels": ["Id", "First Name", "Last Name", "Birthday", "Sex", "Country"],
- "col-widths": ["6%", "21%", "21%", "21%", "9%", "22%"],
- "style": {
- ".th": {
- "y": "0px",
- "background-color": "#7ca82b",
- "font-color": "#fff",
- "font-size": "18",
- "font-weight": "none",
- "height": "40px"
- }
- }
- },
- "series": [{
- "values": [1, "Jon", "Anderson", "January 9, 1957", "M", "United Kingdom"]
- },
- {
- "values": [2, "Steve", "Hogarth", "January 25, 1950", "M", "United Kingdom"]
- },
- {
- "values": [3, "Jim", "Carrey", "June 12, 1972", "M", "United States"]
- },
- {
- "values": [4, "Paul", "Hogan", "October 22, 1956", "M", "Australia"]
- },
- {
- "values": [5, "Brenden", "Morrow", "January 16, 1979", "M", "Canada"]
- },
- {
- "values": [6, "Kate", "Moss", "January 16, 1974", "F", "United Kingdom"]
- },
- {
- "values": [7, "David", "Chokachi", "January 16, 1968", "M", "United States"]
- },
- {
- "values": [8, "Josie", "Davis", "January 16, 1973", "F", "United Kingdom"]
- },
- {
- "values": [9, "Alex", "Morgan", "July 2, 1989", "F", "United States"]
- },
- {
- "values": [10, "Tom", "Cruise", "July 3, 1962", "M", "United States"]
- }
- ]
- }]
- };
-
- zingchart.render({
- id: 'myChart',
- data: myConfig,
- height: "100%",
- width: "100%"
- });