• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft Demo</title>
    
      <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
      <style>
        html,
        body,
        #myChart {
          width: 100%;
          height: 100%;
        }
      </style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "type": "stock",
          "plot": {
            "selection-mode": "multiple",
            "background-state": {
              "background-color": "#ff0080",
              "border-color": "#ff0080",
              "line-color": "#ff0080"
            }
          },
          "scale-y": {
            "values": "34:37:1"
          },
          "series": [{
            "values": [
              [34.88, 35.21, 34.80, 35.21],
              [35.22, 35.30, 35.10, 35.17],
              [35.12, 35.45, 35.09, 35.39],
              [35.45, 36.06, 35.44, 35.91],
              [35.94, 36.01, 35.81, 35.89],
              [35.83, 36.27, 35.75, 35.99],
              [35.88, 36.12, 35.85, 36.11],
              [36.05, 36.08, 35.78, 35.86],
              [35.76, 35.77, 35.47, 35.66],
              [35.62, 35.82, 35.57, 35.82],
              [35.71, 35.78, 35.33, 35.42],
              [35.52, 35.70, 35.49, 35.64],
              [35.50, 35.64, 35.17, 35.17],
              [35.28, 35.49, 35.13, 35.19],
              [35.27, 35.41, 35.17, 35.40],
              [35.28, 35.36, 34.81, 35.04]
            ]
          }]
        };
    
        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 {
      width: 100%;
      height: 100%;
    }
    var myConfig = {
      "type": "stock",
      "plot": {
        "selection-mode": "multiple",
        "background-state": {
          "background-color": "#ff0080",
          "border-color": "#ff0080",
          "line-color": "#ff0080"
        }
      },
      "scale-y": {
        "values": "34:37:1"
      },
      "series": [{
        "values": [
          [34.88, 35.21, 34.80, 35.21],
          [35.22, 35.30, 35.10, 35.17],
          [35.12, 35.45, 35.09, 35.39],
          [35.45, 36.06, 35.44, 35.91],
          [35.94, 36.01, 35.81, 35.89],
          [35.83, 36.27, 35.75, 35.99],
          [35.88, 36.12, 35.85, 36.11],
          [36.05, 36.08, 35.78, 35.86],
          [35.76, 35.77, 35.47, 35.66],
          [35.62, 35.82, 35.57, 35.82],
          [35.71, 35.78, 35.33, 35.42],
          [35.52, 35.70, 35.49, 35.64],
          [35.50, 35.64, 35.17, 35.17],
          [35.28, 35.49, 35.13, 35.19],
          [35.27, 35.41, 35.17, 35.40],
          [35.28, 35.36, 34.81, 35.04]
        ]
      }]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: "100%",
      width: "100%"
    });