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 / dumbbell-chart / block.json

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

183 lines 4.4 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/dumbbell-chart",
5 "version": "1.0.0",
6 "title": "Dumbbell Chart",
7 "category": "bkbg-charts",
8 "icon": "minus",
9 "description": "Horizontal dumbbell (connected dot) chart comparing two values per category — ideal for before/after, target vs actual, or two-group comparisons.",
10 "keywords": [
11 "dumbbell",
12 "chart",
13 "before after",
14 "comparison",
15 "range",
16 "dot plot",
17 "connected dot"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-dumbbell-chart-editor",
21 "style": "bkbg-dumbbell-chart-style",
22 "supports": {
23 "html": false,
24 "align": [
25 "wide",
26 "full"
27 ]
28 },
29 "attributes": {
30 "title": {
31 "type": "string",
32 "default": "Performance: Before vs After"
33 },
34 "showTitle": {
35 "type": "boolean",
36 "default": true
37 },
38 "labelA": {
39 "type": "string",
40 "default": "Before"
41 },
42 "labelB": {
43 "type": "string",
44 "default": "After"
45 },
46 "colorA": {
47 "type": "string",
48 "default": "#9ca3af"
49 },
50 "colorB": {
51 "type": "string",
52 "default": "#4f46e5"
53 },
54 "connectorColor": {
55 "type": "string",
56 "default": "#e5e7eb"
57 },
58 "bgColor": {
59 "type": "string",
60 "default": "#ffffff"
61 },
62 "gridColor": {
63 "type": "string",
64 "default": "#f3f4f6"
65 },
66 "titleColor": {
67 "type": "string",
68 "default": "#111827"
69 },
70 "labelColor": {
71 "type": "string",
72 "default": "#374151"
73 },
74 "svgWidth": {
75 "type": "number",
76 "default": 700
77 },
78 "rowHeight": {
79 "type": "number",
80 "default": 48
81 },
82 "padTop": {
83 "type": "number",
84 "default": 36
85 },
86 "padLeft": {
87 "type": "number",
88 "default": 160
89 },
90 "padRight": {
91 "type": "number",
92 "default": 50
93 },
94 "dotRadius": {
95 "type": "number",
96 "default": 11
97 },
98 "labelFontSize": {
99 "type": "number",
100 "default": 13
101 },
102 "valueFontSize": {
103 "type": "number",
104 "default": 11
105 },
106 "legendFontSize": {
107 "type": "number",
108 "default": 12
109 },
110 "titleFontSize": {
111 "type": "number",
112 "default": 20
113 },
114 "titleFontWeight": {
115 "type": "string",
116 "default": "700"
117 },
118 "labelFontWeight": {
119 "type": "string",
120 "default": "400"
121 },
122 "valueFontWeight": {
123 "type": "string",
124 "default": "700"
125 },
126 "legendFontWeight": {
127 "type": "string",
128 "default": "400"
129 },
130 "typoTitle": {
131 "type": "object",
132 "default": {}
133 },
134 "showValues": {
135 "type": "boolean",
136 "default": true
137 },
138 "showGridLines": {
139 "type": "boolean",
140 "default": true
141 },
142 "showLegend": {
143 "type": "boolean",
144 "default": true
145 },
146 "items": {
147 "type": "array",
148 "default": [
149 {
150 "label": "Conversion Rate",
151 "a": 2.4,
152 "b": 5.1
153 },
154 {
155 "label": "Page Speed",
156 "a": 3.8,
157 "b": 7.2
158 },
159 {
160 "label": "User Retention",
161 "a": 41,
162 "b": 68
163 },
164 {
165 "label": "NPS Score",
166 "a": 28,
167 "b": 54
168 },
169 {
170 "label": "Avg Session (s)",
171 "a": 88,
172 "b": 142
173 },
174 {
175 "label": "Click-through %",
176 "a": 1.9,
177 "b": 4.6
178 }
179 ]
180 }
181 }
182 }
183