• 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></style>
    </head>
    
    <body>
      <div id='myChart'></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "type": "area",
          "plot": {
            "error": {
              "size": "15px",
              "line-width": 1,
              "line-segment-size": 3,
              "line-gap-size": 3
            },
            "aspect": "spline",
            "stacked": true,
            "alpha-area": 0.7,
            "marker": {
              "type": "square",
              "size": 3,
              "background-color": "black",
              "border-color": "none"
            }
          },
          "scale-x": {
            "offset-start": 15,
            "offset-end": 15
          },
          "scale-y": {
            "values": "0:200:25",
            "guide": {
              "line-style": "solid"
            }
          },
          "series": [{
              "values": [15, 34, 15, 16, 31, 35, 59, 121],
              "line-color": "#006600",
              "background-color": "#006600",
              "errors": [
                [14, 10.1],
                [12, 15],
                [15.1, 9],
                [9.3, 8.3],
                [14.1, 14],
                [11.2, 12.1],
                [13.2, 13],
                [14, 15.1],
              ]
            },
            {
              "values": [30, 34, 35, 61, 91, 35, 35, 59],
              "line-color": "#00b300",
              "background-color": "#00b300",
              "errors": [
                [11, 9.9],
                [15.1, 15],
                [17, 15.3],
                [15.2, 14],
                [16, 15.5],
                [14.3, 11],
                [13.5, 14.1],
                [12.5, 13.6],
              ]
            }
          ]
        };
    
        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": "area",
      "plot": {
        "error": {
          "size": "15px",
          "line-width": 1,
          "line-segment-size": 3,
          "line-gap-size": 3
        },
        "aspect": "spline",
        "stacked": true,
        "alpha-area": 0.7,
        "marker": {
          "type": "square",
          "size": 3,
          "background-color": "black",
          "border-color": "none"
        }
      },
      "scale-x": {
        "offset-start": 15,
        "offset-end": 15
      },
      "scale-y": {
        "values": "0:200:25",
        "guide": {
          "line-style": "solid"
        }
      },
      "series": [{
          "values": [15, 34, 15, 16, 31, 35, 59, 121],
          "line-color": "#006600",
          "background-color": "#006600",
          "errors": [
            [14, 10.1],
            [12, 15],
            [15.1, 9],
            [9.3, 8.3],
            [14.1, 14],
            [11.2, 12.1],
            [13.2, 13],
            [14, 15.1],
          ]
        },
        {
          "values": [30, 34, 35, 61, 91, 35, 35, 59],
          "line-color": "#00b300",
          "background-color": "#00b300",
          "errors": [
            [11, 9.9],
            [15.1, 15],
            [17, 15.3],
            [15.2, 14],
            [16, 15.5],
            [14.3, 11],
            [13.5, 14.1],
            [12.5, 13.6],
          ]
        }
      ]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 400,
      width: "100%"
    });