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

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

166 lines 4.1 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/histogram-chart",
4 "title": "Histogram Chart",
5 "category": "bkbg-charts",
6 "icon": "chart-bar",
7 "description": "Frequency-distribution histogram with configurable bins, colours, and axis labels.",
8 "textdomain": "blockenberg",
9 "editorScript": "bkbg-histogram-chart-editor",
10 "style": "bkbg-histogram-chart-style",
11 "attributes": {
12 "title": {
13 "type": "string",
14 "default": "Response Time Distribution"
15 },
16 "showTitle": {
17 "type": "boolean",
18 "default": true
19 },
20 "svgWidth": {
21 "type": "number",
22 "default": 680
23 },
24 "svgHeight": {
25 "type": "number",
26 "default": 360
27 },
28 "padTop": {
29 "type": "number",
30 "default": 30
31 },
32 "padLeft": {
33 "type": "number",
34 "default": 60
35 },
36 "padRight": {
37 "type": "number",
38 "default": 30
39 },
40 "padBottom": {
41 "type": "number",
42 "default": 54
43 },
44 "barGap": {
45 "type": "number",
46 "default": 2
47 },
48 "showValues": {
49 "type": "boolean",
50 "default": true
51 },
52 "showGrid": {
53 "type": "boolean",
54 "default": true
55 },
56 "showCurve": {
57 "type": "boolean",
58 "default": false
59 },
60 "barColor": {
61 "type": "string",
62 "default": "#6366f1"
63 },
64 "curveColor": {
65 "type": "string",
66 "default": "#ef4444"
67 },
68 "bgColor": {
69 "type": "string",
70 "default": "#ffffff"
71 },
72 "gridColor": {
73 "type": "string",
74 "default": "#f3f4f6"
75 },
76 "textColor": {
77 "type": "string",
78 "default": "#374151"
79 },
80 "titleColor": {
81 "type": "string",
82 "default": "#111827"
83 },
84 "xAxisLabel": {
85 "type": "string",
86 "default": "Response Time (ms)"
87 },
88 "yAxisLabel": {
89 "type": "string",
90 "default": "Frequency"
91 },
92 "labelFontSize": {
93 "type": "number",
94 "default": 12
95 },
96 "valueFontSize": {
97 "type": "number",
98 "default": 10
99 },
100 "titleFontSize": {
101 "type": "number",
102 "default": 18
103 },
104 "titleFontWeight": {
105 "type": "string",
106 "default": "700"
107 },
108 "titleLineHeight": {
109 "type": "number",
110 "default": 1.2
111 },
112 "titleTypo": {
113 "type": "object",
114 "default": {}
115 },
116 "bins": {
117 "type": "array",
118 "default": [
119 {
120 "label": "0–50",
121 "count": 12
122 },
123 {
124 "label": "50–100",
125 "count": 38
126 },
127 {
128 "label": "100–150",
129 "count": 74
130 },
131 {
132 "label": "150–200",
133 "count": 91
134 },
135 {
136 "label": "200–250",
137 "count": 68
138 },
139 {
140 "label": "250–300",
141 "count": 43
142 },
143 {
144 "label": "300–350",
145 "count": 27
146 },
147 {
148 "label": "350–400",
149 "count": 15
150 },
151 {
152 "label": "400–450",
153 "count": 8
154 },
155 {
156 "label": "450–500",
157 "count": 4
158 }
159 ],
160 "items": {
161 "type": "object"
162 }
163 }
164 }
165 }
166