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

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

153 lines 3.8 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/waterfall-bar",
4 "title": "Waterfall Bar Chart",
5 "category": "bkbg-charts",
6 "icon": "chart-bar",
7 "description": "Bridge / waterfall chart showing cumulative running totals with positive and negative steps.",
8 "textdomain": "blockenberg",
9 "editorScript": "bkbg-waterfall-bar-editor",
10 "style": "bkbg-waterfall-bar-style",
11 "attributes": {
12 "title": {
13 "type": "string",
14 "default": "P&L Waterfall: FY 2024"
15 },
16 "showTitle": {
17 "type": "boolean",
18 "default": true
19 },
20 "svgWidth": {
21 "type": "number",
22 "default": 700
23 },
24 "svgHeight": {
25 "type": "number",
26 "default": 400
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": 64
43 },
44 "barWidth": {
45 "type": "number",
46 "default": 42
47 },
48 "showValues": {
49 "type": "boolean",
50 "default": true
51 },
52 "showGridLines": {
53 "type": "boolean",
54 "default": true
55 },
56 "showConnectors": {
57 "type": "boolean",
58 "default": true
59 },
60 "labelRotate": {
61 "type": "boolean",
62 "default": true
63 },
64 "labelFontSize": {
65 "type": "number",
66 "default": 12
67 },
68 "valueFontSize": {
69 "type": "number",
70 "default": 11
71 },
72 "titleTypo": {
73 "type": "object",
74 "default": {}
75 },
76 "posColor": {
77 "type": "string",
78 "default": "#10b981"
79 },
80 "negColor": {
81 "type": "string",
82 "default": "#ef4444"
83 },
84 "totalColor": {
85 "type": "string",
86 "default": "#6366f1"
87 },
88 "connectorColor": {
89 "type": "string",
90 "default": "#d1d5db"
91 },
92 "bgColor": {
93 "type": "string",
94 "default": "#ffffff"
95 },
96 "gridColor": {
97 "type": "string",
98 "default": "#f3f4f6"
99 },
100 "titleColor": {
101 "type": "string",
102 "default": "#111827"
103 },
104 "labelColor": {
105 "type": "string",
106 "default": "#374151"
107 },
108 "items": {
109 "type": "array",
110 "default": [
111 {
112 "label": "Starting Balance",
113 "value": 1000,
114 "isTotal": true
115 },
116 {
117 "label": "Q1 Revenue",
118 "value": 420,
119 "isTotal": false
120 },
121 {
122 "label": "Q1 Costs",
123 "value": -180,
124 "isTotal": false
125 },
126 {
127 "label": "Q2 Revenue",
128 "value": 380,
129 "isTotal": false
130 },
131 {
132 "label": "Q2 Costs",
133 "value": -210,
134 "isTotal": false
135 },
136 {
137 "label": "Adjustments",
138 "value": -65,
139 "isTotal": false
140 },
141 {
142 "label": "Final Total",
143 "value": 0,
144 "isTotal": true
145 }
146 ],
147 "items": {
148 "type": "object"
149 }
150 }
151 }
152 }
153