0.0.9 • Published 7 years ago

jbradar v0.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

radar SVG component

A web component to render a radar chart.

Getting Started

Include the following in the section of your HTML document:

  <script src="https://d3js.org/d3.v4.min.js"></script>
  <script src='https://unpkg.com/jbradar@0.0.7/dist/myname.js'></script>

Then in the body of your HTML you can use the custom element. For example:

<div>
  <p>Radar test</p>
  <app-radar smetadata='{
    "labels": [ { "label": "January"}, { "label": "February"}, { "label": "March"}, { "label": "April"}, { "label": "May"}],
    "title":"Radar",
    "axis": false,
    "ymax": 100,
    "chartColour": "red",
    "axesColour": "white",
    "axesFontSize": "1.0em",
    "backgroundColour": "#808080",
    "titleColour": "white"
  }' sdata="[50,80,40,70,35]"></app-radar>
</div>
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago