PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / population-pyramid / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/population-pyramid/block.json

161 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/population-pyramid",
5 "title": "Population Pyramid",
6 "category": "bkbg-charts",
7 "icon": "chart-bar",
8 "description": "Back-to-back horizontal bar chart showing two population groups (e.g. male/female, 2020/2030) by age or category.",
9 "attributes": {
10 "title": {
11 "type": "string",
12 "default": "Age Distribution: Male vs Female"
13 },
14 "showTitle": {
15 "type": "boolean",
16 "default": true
17 },
18 "labelA": {
19 "type": "string",
20 "default": "Male"
21 },
22 "labelB": {
23 "type": "string",
24 "default": "Female"
25 },
26 "svgWidth": {
27 "type": "integer",
28 "default": 700
29 },
30 "padTop": {
31 "type": "integer",
32 "default": 36
33 },
34 "padLeft": {
35 "type": "integer",
36 "default": 20
37 },
38 "padRight": {
39 "type": "integer",
40 "default": 20
41 },
42 "padCenter": {
43 "type": "integer",
44 "default": 60
45 },
46 "barHeight": {
47 "type": "integer",
48 "default": 26
49 },
50 "barGap": {
51 "type": "integer",
52 "default": 4
53 },
54 "showValues": {
55 "type": "boolean",
56 "default": true
57 },
58 "showPercentage": {
59 "type": "boolean",
60 "default": false
61 },
62 "showGridLines": {
63 "type": "boolean",
64 "default": true
65 },
66 "labelFontSize": {
67 "type": "integer",
68 "default": 12
69 },
70 "valueFontSize": {
71 "type": "integer",
72 "default": 10
73 },
74 "colorA": {
75 "type": "string",
76 "default": "#3b82f6"
77 },
78 "colorB": {
79 "type": "string",
80 "default": "#ec4899"
81 },
82 "bgColor": {
83 "type": "string",
84 "default": "#ffffff"
85 },
86 "gridColor": {
87 "type": "string",
88 "default": "#f3f4f6"
89 },
90 "titleColor": {
91 "type": "string",
92 "default": "#111827"
93 },
94 "labelColor": {
95 "type": "string",
96 "default": "#374151"
97 },
98 "items": {
99 "type": "array",
100 "default": [
101 {
102 "label": "75+",
103 "a": 2.1,
104 "b": 3.2
105 },
106 {
107 "label": "65\u201374",
108 "a": 4.8,
109 "b": 5.6
110 },
111 {
112 "label": "55\u201364",
113 "a": 6.9,
114 "b": 7.4
115 },
116 {
117 "label": "45\u201354",
118 "a": 8.2,
119 "b": 8.5
120 },
121 {
122 "label": "35\u201344",
123 "a": 8.7,
124 "b": 8.6
125 },
126 {
127 "label": "25\u201334",
128 "a": 9.1,
129 "b": 8.8
130 },
131 {
132 "label": "15\u201324",
133 "a": 8.4,
134 "b": 7.9
135 },
136 {
137 "label": "5\u201314",
138 "a": 7.6,
139 "b": 7.2
140 },
141 {
142 "label": "0\u20134",
143 "a": 4.3,
144 "b": 4.1
145 }
146 ]
147 },
148 "titleTypo": {
149 "type": "object",
150 "default": {}
151 }
152 },
153 "supports": {
154 "align": [
155 "wide",
156 "full"
157 ]
158 },
159 "editorScript": "bkbg-population-pyramid-editor",
160 "style": "bkbg-population-pyramid-style"
161 }