Widget:Radar

From Elwiki
Revision as of 08:57, 29 May 2020 by Boxsnake (talk | contribs) (Undo revision 634746 by Boxsnake (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget:Radar is a component for radar chart.

Arguments are listed as following:

* Array argument(s) can be called multiple times.

Key Type Description Default
size String Size of the chart, use CSS notation (Depends on parent container)
dim Integer Number of axes
fontfamily String Name of font(s) Microsoft YaHei
fontsize Number Font size 24
color HexColor (#RRGGBB format only) The color for the radar area
label Array<String> Label(s) for each axis in sequence (Empty String)
max Array<Number>
    or
Integer
Max value for each axis.
  • When using an integer, all axes will have the same max value.
  • When using an array, each axis will use the corresponding max value.
  • When using an array but the corresponding max value is missing, the first value in the array will be used.
max[0] (Array Type)
value Array<Number> Value for each axis. 0