• 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></style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig5b = {
          "type": "scatter",
          "series": [{
              "values": [
                [1, 9],
                [3, 21],
                [5, 40],
                [7, 60],
                [9, 81],
              ],
              "marker": {
                "background-image": "https://www.zingchart.com/resources/target.png",
                "background-color": "none",
                "border-color": "none",
                "background-repeat": "no-repeat",
                "shadow": false,
                "size": 12
              }
            },
            {
              "values": [
                [2, 15],
                [4, 30],
                [6, 59],
                [8, 75],
                [10, 99]
              ],
              "marker": {
                "background-image": "https://www.zingchart.com/resources/heart.png",
                "background-color": "none",
                "border-color": "none",
                "background-repeat": "no-repeat",
                "shadow": false,
                "size": 12
              }
            }
          ]
        };
        zingchart.render({
          id: 'myChart',
          data: myConfig5b,
          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='myChart'></div>
    </body>
    
    </html>
    
          
    var myConfig5b = {
      "type": "scatter",
      "series": [{
          "values": [
            [1, 9],
            [3, 21],
            [5, 40],
            [7, 60],
            [9, 81],
          ],
          "marker": {
            "background-image": "https://www.zingchart.com/resources/target.png",
            "background-color": "none",
            "border-color": "none",
            "background-repeat": "no-repeat",
            "shadow": false,
            "size": 12
          }
        },
        {
          "values": [
            [2, 15],
            [4, 30],
            [6, 59],
            [8, 75],
            [10, 99]
          ],
          "marker": {
            "background-image": "https://www.zingchart.com/resources/heart.png",
            "background-color": "none",
            "border-color": "none",
            "background-repeat": "no-repeat",
            "shadow": false,
            "size": 12
          }
        }
      ]
    };
    zingchart.render({
      id: 'myChart',
      data: myConfig5b,
      height: 400,
      width: "100%"
    });