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

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

129 lines 3.2 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/line-chart",
5 "title": "Line Chart",
6 "category": "bkbg-charts",
7 "icon": "chart-line",
8 "description": "Interactive line chart using Chart.js (loaded from CDN). Supports multiple datasets, fill, tension, and grid styling.",
9 "keywords": [
10 "chart",
11 "line",
12 "graph",
13 "data",
14 "visualization",
15 "chartjs"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-line-chart-editor",
19 "editorStyle": "bkbg-line-chart-style",
20 "style": "bkbg-line-chart-style",
21 "viewScript": "bkbg-line-chart-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "labels": {
33 "type": "string",
34 "default": "Jan,Feb,Mar,Apr,May,Jun"
35 },
36 "datasets": {
37 "type": "array",
38 "default": [
39 {
40 "label": "Sales",
41 "data": "65,59,80,81,56,72",
42 "color": "#6c3fb5",
43 "fill": false,
44 "tension": 0.4
45 },
46 {
47 "label": "Revenue",
48 "data": "28,48,40,19,86,60",
49 "color": "#e040fb",
50 "fill": false,
51 "tension": 0.4
52 }
53 ]
54 },
55 "height": {
56 "type": "number",
57 "default": 340
58 },
59 "showGrid": {
60 "type": "boolean",
61 "default": true
62 },
63 "showLegend": {
64 "type": "boolean",
65 "default": true
66 },
67 "legendPos": {
68 "type": "string",
69 "default": "top"
70 },
71 "pointStyle": {
72 "type": "string",
73 "default": "circle"
74 },
75 "bgColor": {
76 "type": "string",
77 "default": "#ffffff"
78 },
79 "borderRadius": {
80 "type": "number",
81 "default": 12
82 },
83 "title": {
84 "type": "string",
85 "default": ""
86 },
87 "labelFontSize": {
88 "type": "number",
89 "default": 11
90 },
91 "labelFontWeight": {
92 "type": "number",
93 "default": 400
94 },
95 "labelLineHeight": {
96 "type": "number",
97 "default": 1.4
98 },
99 "legendFontSize": {
100 "type": "number",
101 "default": 12
102 },
103 "legendFontWeight": {
104 "type": "number",
105 "default": 400
106 },
107 "legendLineHeight": {
108 "type": "number",
109 "default": 1.4
110 },
111 "titleFontSize": {
112 "type": "number",
113 "default": 16
114 },
115 "titleFontWeight": {
116 "type": "number",
117 "default": 600
118 },
119 "titleLineHeight": {
120 "type": "number",
121 "default": 1.3
122 },
123 "titleTypo": {
124 "type": "object",
125 "default": {}
126 }
127 }
128 }
129