• 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 myConfig = {
          "type": "scatter",
          "plot": {
            "tooltip": {
              "text": "On %t, node %node-index is positioned at %kt (X) and %vt (Y)."
            }
          },
          "scale-x": {
            "values": "0:100:25"
          },
          "scale-y": {
            "values": "0:100:25"
          },
          "series": [{
              "values": [
                [23.1, 30.3],
                [25.1, 34.3],
                [30.2, 34.2],
                [34.2, 50.5],
                [59.5, 60.5],
                [64.1, 64.2],
                [70.3, 80.9],
                [75.4, 83.4],
                [80.3, 84.3],
                [85.3, 87.5],
                [90.1, 91.2],
                [91.3, 95.3],
                [95.5, 96.5],
                [96.1, 90.5],
                [99.1, 99.1]
              ],
              "text": "Blue"
            },
            {
              "values": [
                [21.5, 23.5],
                [30.2, 29.3],
                [31.9, 39.9],
                [35.5, 33.3],
                [39.1, 39.1],
                [53.2, 54.3],
                [57.1, 60.1],
                [61.6, 61.7],
                [69.5, 70.9],
                [71.7, 63.7],
                [80.3, 89.4],
                [85.1, 83.1],
                [89.3, 84.9],
                [92.4, 90.8],
                [93.5, 98.7]
              ],
              "text": "Red"
            }
          ]
        };
    
        zingchart.render({
          id: 'myChart',
          data: myConfig,
          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 myConfig = {
      "type": "scatter",
      "plot": {
        "tooltip": {
          "text": "On %t, node %node-index is positioned at %kt (X) and %vt (Y)."
        }
      },
      "scale-x": {
        "values": "0:100:25"
      },
      "scale-y": {
        "values": "0:100:25"
      },
      "series": [{
          "values": [
            [23.1, 30.3],
            [25.1, 34.3],
            [30.2, 34.2],
            [34.2, 50.5],
            [59.5, 60.5],
            [64.1, 64.2],
            [70.3, 80.9],
            [75.4, 83.4],
            [80.3, 84.3],
            [85.3, 87.5],
            [90.1, 91.2],
            [91.3, 95.3],
            [95.5, 96.5],
            [96.1, 90.5],
            [99.1, 99.1]
          ],
          "text": "Blue"
        },
        {
          "values": [
            [21.5, 23.5],
            [30.2, 29.3],
            [31.9, 39.9],
            [35.5, 33.3],
            [39.1, 39.1],
            [53.2, 54.3],
            [57.1, 60.1],
            [61.6, 61.7],
            [69.5, 70.9],
            [71.7, 63.7],
            [80.3, 89.4],
            [85.1, 83.1],
            [89.3, 84.9],
            [92.4, 90.8],
            [93.5, 98.7]
          ],
          "text": "Red"
        }
      ]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 400,
      width: "100%"
    });