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

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

182 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/waterfall-chart",
5 "title": "Waterfall Chart",
6 "category": "bkbg-charts",
7 "description": "Financial waterfall (bridge) chart showing cumulative effect of sequential positive and negative values. Perfect for P&L analysis, budget breakdowns, and cash flow visualization.",
8 "keywords": [
9 "waterfall",
10 "bridge",
11 "chart",
12 "finance",
13 "revenue",
14 "budget",
15 "cascade",
16 "bar"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-waterfall-chart-editor",
20 "editorStyle": "bkbg-waterfall-chart-style",
21 "style": "bkbg-waterfall-chart-style",
22 "viewScript": "bkbg-waterfall-chart-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": [
28 "wide",
29 "full"
30 ]
31 },
32 "attributes": {
33 "title": {
34 "type": "string",
35 "default": "Revenue Waterfall"
36 },
37 "showTitle": {
38 "type": "boolean",
39 "default": true
40 },
41 "items": {
42 "type": "array",
43 "default": [
44 {
45 "label": "Q1 Revenue",
46 "value": 120000,
47 "type": "start"
48 },
49 {
50 "label": "New Clients",
51 "value": 45000,
52 "type": "increase"
53 },
54 {
55 "label": "Upsells",
56 "value": 28000,
57 "type": "increase"
58 },
59 {
60 "label": "Churn",
61 "value": -18000,
62 "type": "decrease"
63 },
64 {
65 "label": "Refunds",
66 "value": -7000,
67 "type": "decrease"
68 },
69 {
70 "label": "Q2 Revenue",
71 "value": 168000,
72 "type": "total"
73 }
74 ]
75 },
76 "valuePrefix": {
77 "type": "string",
78 "default": "$"
79 },
80 "valueSuffix": {
81 "type": "string",
82 "default": ""
83 },
84 "abbreviate": {
85 "type": "boolean",
86 "default": true
87 },
88 "height": {
89 "type": "number",
90 "default": 380
91 },
92 "barThickness": {
93 "type": "number",
94 "default": 48
95 },
96 "showConnectors": {
97 "type": "boolean",
98 "default": true
99 },
100 "showDataLabels": {
101 "type": "boolean",
102 "default": true
103 },
104 "showGrid": {
105 "type": "boolean",
106 "default": true
107 },
108 "showLegend": {
109 "type": "boolean",
110 "default": true
111 },
112 "borderRadius": {
113 "type": "number",
114 "default": 4
115 },
116 "maxWidth": {
117 "type": "number",
118 "default": 800
119 },
120 "paddingTop": {
121 "type": "number",
122 "default": 0
123 },
124 "paddingBottom": {
125 "type": "number",
126 "default": 0
127 },
128 "titleSize": {
129 "type": "number",
130 "default": 20
131 },
132 "labelSize": {
133 "type": "number",
134 "default": 12
135 },
136 "valueSize": {
137 "type": "number",
138 "default": 11
139 },
140 "titleTypo": {
141 "type": "object",
142 "default": {}
143 },
144 "startColor": {
145 "type": "string",
146 "default": "#6366f1"
147 },
148 "increaseColor": {
149 "type": "string",
150 "default": "#10b981"
151 },
152 "decreaseColor": {
153 "type": "string",
154 "default": "#ef4444"
155 },
156 "totalColor": {
157 "type": "string",
158 "default": "#8b5cf6"
159 },
160 "connectorColor": {
161 "type": "string",
162 "default": "#9ca3af"
163 },
164 "bgColor": {
165 "type": "string",
166 "default": "#ffffff"
167 },
168 "titleColor": {
169 "type": "string",
170 "default": "#111827"
171 },
172 "labelColor": {
173 "type": "string",
174 "default": "#6b7280"
175 },
176 "gridColor": {
177 "type": "string",
178 "default": "#e5e7eb"
179 }
180 }
181 }
182