• 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 {
          height: 100%;
          width: 100%;
          margin: 0;
          padding: 0;
        }
    
        #myChart {
          height: 100%;
          width: 100%;
          min-height: 150px;
        }
    
        .zc-ref {
          display: none;
        }
      </style>
    </head>
    
    <body>
      <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
      <div id="myChart"><a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a></div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        var myConfig = {
          "globals": {
            "font-family": "Open Sans"
          },
          "type": "radar",
          "title": {
            "text": "Sales Per Company ($B)"
          },
          "tooltip": {
            "font-size": 11,
            "border-width": 0,
            "padding": "6 10",
            "background-color": "#444 #111",
            "fill-angle": 270,
            "color": "#fff",
            "border-radius": 6,
            "alpha": 0.85
          },
          "plotarea": {},
          "legend": {
            "margin": "40 10 auto auto",
            "border-width": 0,
            "marker": {
              "type": "default",
              "offset-x": -5,
              "width": 30,
              "height": 18,
              "border-width": 0,
              "border-radius": 5,
              "background-color": "#bbb #eee",
              "fill-angle": 270,
              "shadow": true,
              "shadow-distance": 1,
              "shadow-alpha": 0.25,
              "background-image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAahJREFUeNpi/P//PwMlgImBQjDwBrCAiNnzFjO8efeWQU1VlcFQX4fh16/fGApZWVkZvn//zj97/uJlf//+uaCrpdWRnhL/mYUYW0Caf/z4wTNz7oJVl65cc2NjZfViYmL+BJTqhBsAFGAASjAwMjKiaWYBaeadPmf+mitXrruxMDMz6OvqLHSws1kMDwMmoODbd+9iLly+3P7v339mJiYmBlD0Qmz+CdF89bobMzMT0It6891dnZP5+fiewcPgytVreddv3uoHKmZi/M/IExkenAvS/O3rN94ZcxeANYMMNTQAanZxSv3379/f339+I2LByEj/hLSU5EmQoj0HDuasXLO+//OXL7wz5y1cdfnqNbBmI7Bm5xSgC/8CDYB7kRHk1KMnTjO8f/9BeN2mLRsePHxkw8rC8pefn//t+/fvxUCKITY7g22GaWZnZ2NwsreBuODnz59AAfa3QX4+gYryckf+/PnD/PHjR4hmfUzNWBMSUBPI1DcBfj4BCkBDQIaCbXbFrRkeiAhD/jJwAF3i5eEWc/HSlUArc9M5+DTDw2BA8wJAgAEA6E7ZgwiQeboAAAAASUVORK5CYII=",
              "background-position": "80% 50%",
              "background-repeat": false,
              "top-state": {
                "type": "default",
                "background-image": "none",
                "width": "-22",
                "height": 18,
                "border-width": 0,
                "border-radius": "5 0 0 5"
              }
            },
            "marker-off": {
              "background-image": "none"
            }
          },
          "plot": {
            "marker": {
              "visible": true
            }
          },
          "scale-k": {
            "values": ["2011", "2012", "2013", "2014", "2015", "2016"],
            "item": {
              "font-weight": 600
            }
          },
          "series": [{
              "values": [69, 68, 54, 48, 70, 74],
              "text": "Apple",
              "legend-marker": {
                "top-state": {
                  "background-color": "#29A2CC"
                }
              }
            },
            {
              "values": [51, 53, 47, 60, 48, 52],
              "text": "Microsoft",
              "legend-marker": {
                "top-state": {
                  "background-color": "#D31E1E"
                }
              }
            },
            {
              "values": [42, 43, 30, 40, 31, 48],
              "text": "Oracle",
              "legend-marker": {
                "top-state": {
                  "background-color": "#7CA82B"
                }
              }
            },
            {
              "values": [25, 15, 26, 21, 24, 26],
              "text": "Dell",
              "legend-marker": {
                "top-state": {
                  "background-color": "#EF8535"
                }
              }
            }
          ]
        };
    
        zingchart.render({
          id: 'myChart',
          data: myConfig,
          height: 500,
          width: 500
        });
      </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>
      <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
      <div id="myChart"><a class="zc-ref" href="https://www.zingchart.com">Powered by ZingChart</a></div>
    </body>
    
    </html>
    html,
    body {
      height: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
    }
    
    #myChart {
      height: 100%;
      width: 100%;
      min-height: 150px;
    }
    
    .zc-ref {
      display: none;
    }
    var myConfig = {
      "globals": {
        "font-family": "Open Sans"
      },
      "type": "radar",
      "title": {
        "text": "Sales Per Company ($B)"
      },
      "tooltip": {
        "font-size": 11,
        "border-width": 0,
        "padding": "6 10",
        "background-color": "#444 #111",
        "fill-angle": 270,
        "color": "#fff",
        "border-radius": 6,
        "alpha": 0.85
      },
      "plotarea": {},
      "legend": {
        "margin": "40 10 auto auto",
        "border-width": 0,
        "marker": {
          "type": "default",
          "offset-x": -5,
          "width": 30,
          "height": 18,
          "border-width": 0,
          "border-radius": 5,
          "background-color": "#bbb #eee",
          "fill-angle": 270,
          "shadow": true,
          "shadow-distance": 1,
          "shadow-alpha": 0.25,
          "background-image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAahJREFUeNpi/P//PwMlgImBQjDwBrCAiNnzFjO8efeWQU1VlcFQX4fh16/fGApZWVkZvn//zj97/uJlf//+uaCrpdWRnhL/mYUYW0Caf/z4wTNz7oJVl65cc2NjZfViYmL+BJTqhBsAFGAASjAwMjKiaWYBaeadPmf+mitXrruxMDMz6OvqLHSws1kMDwMmoODbd+9iLly+3P7v339mJiYmBlD0Qmz+CdF89bobMzMT0It6891dnZP5+fiewcPgytVreddv3uoHKmZi/M/IExkenAvS/O3rN94ZcxeANYMMNTQAanZxSv3379/f339+I2LByEj/hLSU5EmQoj0HDuasXLO+//OXL7wz5y1cdfnqNbBmI7Bm5xSgC/8CDYB7kRHk1KMnTjO8f/9BeN2mLRsePHxkw8rC8pefn//t+/fvxUCKITY7g22GaWZnZ2NwsreBuODnz59AAfa3QX4+gYryckf+/PnD/PHjR4hmfUzNWBMSUBPI1DcBfj4BCkBDQIaCbXbFrRkeiAhD/jJwAF3i5eEWc/HSlUArc9M5+DTDw2BA8wJAgAEA6E7ZgwiQeboAAAAASUVORK5CYII=",
          "background-position": "80% 50%",
          "background-repeat": false,
          "top-state": {
            "type": "default",
            "background-image": "none",
            "width": "-22",
            "height": 18,
            "border-width": 0,
            "border-radius": "5 0 0 5"
          }
        },
        "marker-off": {
          "background-image": "none"
        }
      },
      "plot": {
        "marker": {
          "visible": true
        }
      },
      "scale-k": {
        "values": ["2011", "2012", "2013", "2014", "2015", "2016"],
        "item": {
          "font-weight": 600
        }
      },
      "series": [{
          "values": [69, 68, 54, 48, 70, 74],
          "text": "Apple",
          "legend-marker": {
            "top-state": {
              "background-color": "#29A2CC"
            }
          }
        },
        {
          "values": [51, 53, 47, 60, 48, 52],
          "text": "Microsoft",
          "legend-marker": {
            "top-state": {
              "background-color": "#D31E1E"
            }
          }
        },
        {
          "values": [42, 43, 30, 40, 31, 48],
          "text": "Oracle",
          "legend-marker": {
            "top-state": {
              "background-color": "#7CA82B"
            }
          }
        },
        {
          "values": [25, 15, 26, 21, 24, 26],
          "text": "Dell",
          "legend-marker": {
            "top-state": {
              "background-color": "#EF8535"
            }
          }
        }
      ]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 500,
      width: 500
    });