• 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>
        html,
        body,
        #myChart {
          height: 100%;
          width: 100%;
        }
      </style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "graphset": [{
            "type": "mixed",
            "series": [{
              "type": "bar",
              "values": [59, 70, 40, 75, 33, 50, 65],
              "bar-width": "50%"
            }, {
              "type": "line",
              "values": [49, 30, 21, 15, 59, 51, 69],
              "aspect": "spline"
            }]
          }, {
            "type": "mixed",
            "series": [{
              "type": "bar",
              "values": [55, 71, 45, 77, 29, 40, 59],
              "bar-width": "50%"
            }, {
              "type": "line",
              "values": [40, 29, 33, 19, 50, 61, 66],
              "aspect": "spline"
            }]
          }, {
            "type": "mixed",
            "series": [{
              "type": "bar",
              "values": [49, 55, 70, 60, 55, 43, 55],
              "bar-width": "50%"
            }, {
              "type": "line",
              "values": [60, 34, 67, 27, 64, 71, 54],
              "aspect": "spline"
            }]
          }, {
            "type": "mixed",
            "series": [{
              "type": "bar",
              "values": [50, 41, 59, 79, 70, 61, 53],
              "bar-width": "50%"
            }, {
              "type": "line",
              "values": [59, 15, 29, 34, 51, 66, 75],
              "aspect": "spline"
            }]
          }]
        };
    
        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{
     height: 100%;
     width: 100%;
    }
    var myConfig = {
    	"graphset": [{
    		"type": "mixed",
    		"series": [{
    			"type": "bar",
    			"values": [59, 70, 40, 75, 33, 50, 65],
    			"bar-width": "50%"
    		}, {
    			"type": "line",
    			"values": [49, 30, 21, 15, 59, 51, 69],
    			"aspect": "spline"
    		}]
    	}, {
    		"type": "mixed",
    		"series": [{
    			"type": "bar",
    			"values": [55, 71, 45, 77, 29, 40, 59],
    			"bar-width": "50%"
    		}, {
    			"type": "line",
    			"values": [40, 29, 33, 19, 50, 61, 66],
    			"aspect": "spline"
    		}]
    	}, {
    		"type": "mixed",
    		"series": [{
    			"type": "bar",
    			"values": [49, 55, 70, 60, 55, 43, 55],
    			"bar-width": "50%"
    		}, {
    			"type": "line",
    			"values": [60, 34, 67, 27, 64, 71, 54],
    			"aspect": "spline"
    		}]
    	}, {
    		"type": "mixed",
    		"series": [{
    			"type": "bar",
    			"values": [50, 41, 59, 79, 70, 61, 53],
    			"bar-width": "50%"
    		}, {
    			"type": "line",
    			"values": [59, 15, 29, 34, 51, 66, 75],
    			"aspect": "spline"
    		}]
    	}]
    };
    
    zingchart.render({ 
    	id : 'myChart', 
    	data : myConfig, 
    	height: "100%", 
    	width: "100%"
    });