• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
        <meta charset="utf-8">
        <title>ZingSoft Demo</title>
    
        <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
        <style>
            zing-grid[loading] {
                height: 800px;
            }
        </style>
    </head>
    
    <body>
        <div id="chartDiv"></div>
        <script>
            ZC.LICENSE = ["b55b025e438fa8a98e32482b5f768ff5"];
            var chartData = {
                type: 'bar', // Specify your chart type here.
                title: {
                    text: 'My First Chart' // Adds a title to your chart
                },
                legend: {}, // Creates an interactive legend
                series: [ // Insert your series data here
                    {
                        values: [35, 42, 67, 89]
                    },
                    {
                        values: [28, 40, 39, 36]
                    }
                ]
            };
            zingchart.render({ // Render Method[3]
                id: 'chartDiv',
                data: chartData,
                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="chartDiv"></div>
    	</body>
    </html>
    
          
    var chartData = {
          type: 'bar',  // Specify your chart type here.
          title: {
            text: 'My First Chart' // Adds a title to your chart
          },
          legend: {}, // Creates an interactive legend
          series: [  // Insert your series data here
              { values: [35, 42, 67, 89] },
              { values: [28, 40, 39, 36] }
          ]
        };
        zingchart.render({ // Render Method[3]
          id: 'chartDiv',
          data: chartData,
          height: 400,
          width: '100%'
        });