• 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: "radar",
          title: {
            text: "Midichlorian Count of Various Characters in Star Wars",
            fontSize: 16
          },
          plot: {
            aspect: "rose",
            animation: {
              effect: "ANIMATION_EXPAND_TOP",
              sequence: "ANIMATION_BY_NODE",
              speed: 10
            }
          },
          scaleK: {
            aspect: "circle",
            guide: {
              visible: false
            },
            tick: {
              visible: false
            }
          },
          scaleV: {
            minValue: 0,
            maxValue: 5000
          },
          series: [{
            values: [501, 922, 1138, 1977, 2449, 2701, 3232, 3569, 21039, 4802],
            "data-character": ["Leia Organa", "Darth Maul", "Luke Skywalker", "Qui-Gon Jinn", "Mace Windu", "Count Dooku", "Emperor Palpatine", "Obi-Wan Kenobi", "Anakin Skywalker", "Yoda"],
            tooltip: {
              fontSize: 14,
              text: "%data-character's midichlorian count is %v.",
              rules: [{
                rule: "%v > 20000",
                text: "%data-character's midichlorian count is off the charts!\nOver 20,000! Even Master Yoda doesn't have a midichlorian count that high."
              }]
            }
          }]
        };
    
        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: "radar",
      title: {
        text: "Midichlorian Count of Various Characters in Star Wars",
        fontSize: 16
      },
      plot: {
        aspect: "rose",
        animation: {
          effect: "ANIMATION_EXPAND_TOP",
          sequence: "ANIMATION_BY_NODE",
          speed: 10
        }
      },
      scaleK: {
        aspect: "circle",
        guide: {
          visible: false
        },
        tick: {
          visible: false
        }
      },
      scaleV: {
        minValue: 0,
        maxValue: 5000
      },
      series: [{
        values: [501, 922, 1138, 1977, 2449, 2701, 3232, 3569, 21039, 4802],
        "data-character": ["Leia Organa", "Darth Maul", "Luke Skywalker", "Qui-Gon Jinn", "Mace Windu", "Count Dooku", "Emperor Palpatine", "Obi-Wan Kenobi", "Anakin Skywalker", "Yoda"],
        tooltip: {
          fontSize: 14,
          text: "%data-character's midichlorian count is %v.",
          rules: [{
            rule: "%v > 20000",
            text: "%data-character's midichlorian count is off the charts!\nOver 20,000! Even Master Yoda doesn't have a midichlorian count that high."
          }]
        }
      }]
    };
    
    zingchart.render({
      id: 'myChart',
      data: myConfig,
      height: 400,
      width: "100%"
    });