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

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

163 lines 3.9 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/area-chart",
5 "title": "Area Chart",
6 "category": "bkbg-charts",
7 "icon": "chart-area",
8 "description": "Smooth filled area chart with multiple datasets, gradient fills, and animation using Chart.js (CDN). Great for showing trends over time.",
9 "keywords": [
10 "chart",
11 "area",
12 "graph",
13 "data",
14 "visualization",
15 "fill",
16 "trend"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-area-chart-editor",
20 "style": "bkbg-area-chart-style",
21 "viewScript": "bkbg-area-chart-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "title": {
33 "type": "string",
34 "default": ""
35 },
36 "subtitle": {
37 "type": "string",
38 "default": ""
39 },
40 "labels": {
41 "type": "string",
42 "default": "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug"
43 },
44 "datasets": {
45 "type": "array",
46 "default": [
47 {
48 "id": "d1",
49 "label": "Revenue",
50 "data": "40,55,72,65,90,85,100,95",
51 "color": "#6c3fb5",
52 "fill": true,
53 "tension": 0.45
54 },
55 {
56 "id": "d2",
57 "label": "Expenses",
58 "data": "30,38,45,50,55,60,62,58",
59 "color": "#e040fb",
60 "fill": true,
61 "tension": 0.45
62 }
63 ]
64 },
65 "height": {
66 "type": "number",
67 "default": 340
68 },
69 "gradientFill": {
70 "type": "boolean",
71 "default": true
72 },
73 "gradientAlpha": {
74 "type": "number",
75 "default": 20
76 },
77 "showGrid": {
78 "type": "boolean",
79 "default": true
80 },
81 "showLegend": {
82 "type": "boolean",
83 "default": true
84 },
85 "legendPos": {
86 "type": "string",
87 "default": "top"
88 },
89 "showPoints": {
90 "type": "boolean",
91 "default": true
92 },
93 "pointSize": {
94 "type": "number",
95 "default": 4
96 },
97 "lineWidth": {
98 "type": "number",
99 "default": 2
100 },
101 "yMin": {
102 "type": "string",
103 "default": ""
104 },
105 "yMax": {
106 "type": "string",
107 "default": ""
108 },
109 "xLabel": {
110 "type": "string",
111 "default": ""
112 },
113 "yLabel": {
114 "type": "string",
115 "default": ""
116 },
117 "animate": {
118 "type": "boolean",
119 "default": true
120 },
121 "animDuration": {
122 "type": "number",
123 "default": 800
124 },
125 "bgColor": {
126 "type": "string",
127 "default": "#ffffff"
128 },
129 "cardRadius": {
130 "type": "number",
131 "default": 12
132 },
133 "titleColor": {
134 "type": "string",
135 "default": "#111827"
136 },
137 "titleSize": {
138 "type": "number",
139 "default": 20
140 },
141 "subtitleColor": {
142 "type": "string",
143 "default": "#6b7280"
144 },
145 "paddingTop": {
146 "type": "number",
147 "default": 0
148 },
149 "paddingBottom": {
150 "type": "number",
151 "default": 0
152 },
153 "titleTypo": {
154 "type": "object",
155 "default": {}
156 },
157 "subtitleTypo": {
158 "type": "object",
159 "default": {}
160 }
161 }
162 }
163