PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / speedometer / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/speedometer/block.json

140 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "name": "blockenberg/speedometer",
4 "title": "Speedometer Gauge",
5 "category": "bkbg-charts",
6 "icon": "dashboard",
7 "description": "Half-circle gauge chart with colour zones and a needle pointer.",
8 "textdomain": "blockenberg",
9 "editorScript": "bkbg-speedometer-editor",
10 "style": "bkbg-speedometer-style",
11 "attributes": {
12 "title": {
13 "type": "string",
14 "default": "System Health Score"
15 },
16 "showTitle": {
17 "type": "boolean",
18 "default": true
19 },
20 "svgWidth": {
21 "type": "number",
22 "default": 460
23 },
24 "svgHeight": {
25 "type": "number",
26 "default": 280
27 },
28 "value": {
29 "type": "number",
30 "default": 67
31 },
32 "minValue": {
33 "type": "number",
34 "default": 0
35 },
36 "maxValue": {
37 "type": "number",
38 "default": 100
39 },
40 "unit": {
41 "type": "string",
42 "default": "%"
43 },
44 "arcThickness": {
45 "type": "number",
46 "default": 28
47 },
48 "needleLength": {
49 "type": "number",
50 "default": 110
51 },
52 "needleWidth": {
53 "type": "number",
54 "default": 6
55 },
56 "showValue": {
57 "type": "boolean",
58 "default": true
59 },
60 "showLabel": {
61 "type": "boolean",
62 "default": true
63 },
64 "showTicks": {
65 "type": "boolean",
66 "default": true
67 },
68 "showZoneLabels": {
69 "type": "boolean",
70 "default": false
71 },
72 "labelFontSize": {
73 "type": "number",
74 "default": 13
75 },
76 "labelFontWeight": {
77 "type": "number",
78 "default": 400
79 },
80 "valueFontSize": {
81 "type": "number",
82 "default": 36
83 },
84 "valueFontWeight": {
85 "type": "number",
86 "default": 700
87 },
88 "needleColor": {
89 "type": "string",
90 "default": "#111827"
91 },
92 "centerColor": {
93 "type": "string",
94 "default": "#ffffff"
95 },
96 "bgColor": {
97 "type": "string",
98 "default": "#ffffff"
99 },
100 "titleColor": {
101 "type": "string",
102 "default": "#111827"
103 },
104 "textColor": {
105 "type": "string",
106 "default": "#374151"
107 },
108 "zones": {
109 "type": "array",
110 "default": [
111 {
112 "label": "Poor",
113 "from": 0,
114 "to": 33,
115 "color": "#ef4444"
116 },
117 {
118 "label": "Fair",
119 "from": 33,
120 "to": 66,
121 "color": "#f59e0b"
122 },
123 {
124 "label": "Good",
125 "from": 66,
126 "to": 100,
127 "color": "#10b981"
128 }
129 ],
130 "items": {
131 "type": "object"
132 }
133 },
134 "titleTypo": {
135 "type": "object",
136 "default": {}
137 }
138 }
139 }
140