Difference between revisions of "Template:Graph:CategoryPie"

From Public Play Space Community
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<graph>{
<graph>{
   "width": 100,
   "width": 100,
   "height": 100,
   "height": 100,
  "parameters": [
    {
      "name": "job", "signal": "q", "type": "text",
      "value": "", "placeholder": "search", "autocomplete": "off"
    },
    {
      "signal": "sex", "type": "radio", "value": "all",
      "options": ["men", "women", "all"]
    }
  ],
   "data": [
   "data": [
     {
     {
       "name": "table",
       "name": "table",
       "values": [
       "values": [
{"name":"GAME","color":"#2bddff","data":1},
          {"name":"GAME","color":"#2bddff","data":1},
{"name":"PLAY","color":"#00d67f","data":1},
          {"name":"PLAY","color":"#00d67f","data":1},
{"name":"SPACE","color":"#0000ff","data":1}
          {"name":"SPACE","color":"#0000ff","data":1}
],
      ],
       "transform": [{"type": "pie", "field": "data"}]
       "transform": [{"type": "pie", "field": "data"}]
     }
     }

Latest revision as of 07:38, 20 May 2020


Template for selecting a parameter to the pie

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
GAMEGAME

State whether this type of parameter is used by the project.

Default
1
Booleanrequired
PLAYPLAY

State whether this type of parameter is used by the project.

Default
1
Booleanrequired
SPACESPACE

State whether this type of parameter is used by the project.

Default
1
Booleanrequired