• 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 myJson = {
          "graphset": [{
            "type": "area",
            title: {
              text: 'SparkLines'
            },
            crosshairX: {
              lineWidth: 0,
              plotLabel: {
                placement: 'node-top',
                callout: true,
                calloutPosition: 'left',
                multiple: true
              },
              scaleLabel: {
                visible: false
              }
            },
            "scale-y": {
              visible: false
            },
            "scale-x": {
              visible: false
            },
            plotarea: {
              margin: 'dynamic'
            },
            tooltip: {
              visible: false
            },
            "margin": "5px 5px 5px 5px",
            "series": [{
              "marker": {
                "type": "none"
              },
              "background-color": "#E5F2F9",
              "line-color": "#168ADB",
              "values": [353.9, 366.8, 370.2, 333, 324.3, 344.2, 274.4, 223.8, 231.6, 269.1, 583.7, 578.1, 604.5, 563.8, 551.2, 515.6, 532.9, 480.6, 440.6, 441.4, 356, 415.3, 392.1, 449.3, 422.3, 423.1, 398.6, 356, 392.1, 382.2, 482.2, 422.5, 445.4, 468.9, 420.8, 434.6, 459.4, 488.4, 525.8, 480.4]
            }]
          }]
        };
    
        zingchart.render({
          id: 'myChart',
          data: myJson,
          height: 200,
          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 myJson = {
      "graphset": [{
        "type": "area",
        title: {
          text: 'SparkLines'
        },
        crosshairX: {
          lineWidth: 0,
          plotLabel: {
            placement: 'node-top',
            callout: true,
            calloutPosition: 'left',
            multiple: true
          },
          scaleLabel: {
            visible: false
          }
        },
        "scale-y": {
          visible: false
        },
        "scale-x": {
          visible: false
        },
        plotarea: {
          margin: 'dynamic'
        },
        tooltip: {
          visible: false
        },
        "margin": "5px 5px 5px 5px",
        "series": [{
          "marker": {
            "type": "none"
          },
          "background-color": "#E5F2F9",
          "line-color": "#168ADB",
          "values": [353.9, 366.8, 370.2, 333, 324.3, 344.2, 274.4, 223.8, 231.6, 269.1, 583.7, 578.1, 604.5, 563.8, 551.2, 515.6, 532.9, 480.6, 440.6, 441.4, 356, 415.3, 392.1, 449.3, 422.3, 423.1, 398.6, 356, 392.1, 382.2, 482.2, 422.5, 445.4, 468.9, 420.8, 434.6, 459.4, 488.4, 525.8, 480.4]
        }]
      }]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myJson,
      height: 200,
      width: '100%'
    });