• 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 {
                margin: 0;
                padding: 0;
                width: 100%;
                height: 100%;
            }
    
            .chart--container {
                min-height: 150px;
                width: 100%;
                height: 100%;
            }
    
            .zc-ref {
                display: none;
            }
    
            zing-grid[loading] {
                height: 480px;
            }
        </style>
    </head>
    
    <body>
        <div id="myChart" class="chart--container">
            <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
        </div>
        <script>
            ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
            let chartConfig = {
                type: 'bubble',
                series: [{
                        values: [
                            [1, 9, 59],
                            [3, 21, 30],
                            [5, 40, 35],
                            [7, 60, 25],
                            [9, 81, 87]
                        ],
                        marker: {
                            backgroundColor: 'none',
                            backgroundImage: 'https://www.zingchart.com/resources/target.png',
                            backgroundRepeat: 'no-repeat',
                            size: '20px'
                        }
                    },
                    {
                        values: [
                            [2, 15, 15],
                            [4, 30, 5],
                            [6, 59, 21],
                            [8, 75, 85],
                            [10, 99, 12]
                        ],
                        marker: {
                            backgroundColor: 'none',
                            backgroundImage: 'https://www.zingchart.com/resources/heart.png',
                            backgroundRepeat: 'no-repeat',
                            size: '20px'
                        }
                    }
                ]
            };
    
            zingchart.render({
                id: 'myChart',
                data: chartConfig
            });
        </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" class="chart--container">
    			<a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
    		</div>
    	</body>
    </html>
    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
    }
    
    .chart--container {
      min-height: 150px;
      width: 100%;
      height: 100%;
    }
    
    .zc-ref {
      display: none;
    }
    let chartConfig = {
      type: 'bubble',
      series: [
        {
          values: [
            [1, 9, 59],
            [3, 21, 30],
            [5, 40, 35],
            [7, 60, 25],
            [9, 81, 87]
          ],
          marker: {
            backgroundColor: 'none',
            backgroundImage: 'https://www.zingchart.com/resources/target.png',
            backgroundRepeat: 'no-repeat',
            size: '20px'
          }
        },
        {
          values: [
            [2, 15, 15],
            [4, 30, 5],
            [6, 59, 21],
            [8, 75, 85],
            [10, 99, 12]
          ],
          marker: {
            backgroundColor: 'none',
            backgroundImage: 'https://www.zingchart.com/resources/heart.png',
            backgroundRepeat: 'no-repeat',
            size: '20px'
          }
        }
      ]
    };
    
    zingchart.render({
      id: 'myChart',
      data: chartConfig
    });