| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "blockenberg/candlestick-chart", |
| 4 |
"title": "Candlestick Chart", |
| 5 |
"category": "bkbg-charts", |
| 6 |
"icon": "chart-line", |
| 7 |
"description": "OHLC candlestick chart for financial data — shows open, high, low, and close values per period.", |
| 8 |
"textdomain": "blockenberg", |
| 9 |
"editorScript": "bkbg-candlestick-chart-editor", |
| 10 |
"style": "bkbg-candlestick-chart-style", |
| 11 |
"attributes": { |
| 12 |
"title": { |
| 13 |
"type": "string", |
| 14 |
"default": "Stock Price — Q4 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": 380 |
| 27 |
}, |
| 28 |
"padTop": { |
| 29 |
"type": "number", |
| 30 |
"default": 30 |
| 31 |
}, |
| 32 |
"padLeft": { |
| 33 |
"type": "number", |
| 34 |
"default": 70 |
| 35 |
}, |
| 36 |
"padRight": { |
| 37 |
"type": "number", |
| 38 |
"default": 30 |
| 39 |
}, |
| 40 |
"padBottom": { |
| 41 |
"type": "number", |
| 42 |
"default": 54 |
| 43 |
}, |
| 44 |
"candleWidth": { |
| 45 |
"type": "number", |
| 46 |
"default": 14 |
| 47 |
}, |
| 48 |
"wickWidth": { |
| 49 |
"type": "number", |
| 50 |
"default": 1 |
| 51 |
}, |
| 52 |
"showGrid": { |
| 53 |
"type": "boolean", |
| 54 |
"default": true |
| 55 |
}, |
| 56 |
"showVolume": { |
| 57 |
"type": "boolean", |
| 58 |
"default": true |
| 59 |
}, |
| 60 |
"labelFontSize": { |
| 61 |
"type": "number", |
| 62 |
"default": 11 |
| 63 |
}, |
| 64 |
"bullColor": { |
| 65 |
"type": "string", |
| 66 |
"default": "#10b981" |
| 67 |
}, |
| 68 |
"bearColor": { |
| 69 |
"type": "string", |
| 70 |
"default": "#ef4444" |
| 71 |
}, |
| 72 |
"bgColor": { |
| 73 |
"type": "string", |
| 74 |
"default": "#ffffff" |
| 75 |
}, |
| 76 |
"gridColor": { |
| 77 |
"type": "string", |
| 78 |
"default": "#f3f4f6" |
| 79 |
}, |
| 80 |
"textColor": { |
| 81 |
"type": "string", |
| 82 |
"default": "#374151" |
| 83 |
}, |
| 84 |
"titleColor": { |
| 85 |
"type": "string", |
| 86 |
"default": "#111827" |
| 87 |
}, |
| 88 |
"candles": { |
| 89 |
"type": "array", |
| 90 |
"default": [ |
| 91 |
{ |
| 92 |
"label": "Oct 1", |
| 93 |
"open": 142.0, |
| 94 |
"high": 148.5, |
| 95 |
"low": 140.2, |
| 96 |
"close": 146.8, |
| 97 |
"volume": 320 |
| 98 |
}, |
| 99 |
{ |
| 100 |
"label": "Oct 8", |
| 101 |
"open": 146.8, |
| 102 |
"high": 152.0, |
| 103 |
"low": 145.1, |
| 104 |
"close": 149.3, |
| 105 |
"volume": 410 |
| 106 |
}, |
| 107 |
{ |
| 108 |
"label": "Oct 15", |
| 109 |
"open": 149.3, |
| 110 |
"high": 150.8, |
| 111 |
"low": 143.0, |
| 112 |
"close": 144.5, |
| 113 |
"volume": 280 |
| 114 |
}, |
| 115 |
{ |
| 116 |
"label": "Oct 22", |
| 117 |
"open": 144.5, |
| 118 |
"high": 146.0, |
| 119 |
"low": 138.4, |
| 120 |
"close": 139.2, |
| 121 |
"volume": 520 |
| 122 |
}, |
| 123 |
{ |
| 124 |
"label": "Oct 29", |
| 125 |
"open": 139.2, |
| 126 |
"high": 145.5, |
| 127 |
"low": 137.0, |
| 128 |
"close": 143.8, |
| 129 |
"volume": 380 |
| 130 |
}, |
| 131 |
{ |
| 132 |
"label": "Nov 5", |
| 133 |
"open": 143.8, |
| 134 |
"high": 155.0, |
| 135 |
"low": 142.5, |
| 136 |
"close": 153.2, |
| 137 |
"volume": 490 |
| 138 |
}, |
| 139 |
{ |
| 140 |
"label": "Nov 12", |
| 141 |
"open": 153.2, |
| 142 |
"high": 158.4, |
| 143 |
"low": 151.0, |
| 144 |
"close": 156.7, |
| 145 |
"volume": 430 |
| 146 |
}, |
| 147 |
{ |
| 148 |
"label": "Nov 19", |
| 149 |
"open": 156.7, |
| 150 |
"high": 159.0, |
| 151 |
"low": 150.2, |
| 152 |
"close": 151.5, |
| 153 |
"volume": 360 |
| 154 |
}, |
| 155 |
{ |
| 156 |
"label": "Nov 26", |
| 157 |
"open": 151.5, |
| 158 |
"high": 157.8, |
| 159 |
"low": 149.3, |
| 160 |
"close": 155.9, |
| 161 |
"volume": 295 |
| 162 |
}, |
| 163 |
{ |
| 164 |
"label": "Dec 3", |
| 165 |
"open": 155.9, |
| 166 |
"high": 164.2, |
| 167 |
"low": 154.5, |
| 168 |
"close": 162.3, |
| 169 |
"volume": 570 |
| 170 |
} |
| 171 |
], |
| 172 |
"items": { |
| 173 |
"type": "object" |
| 174 |
} |
| 175 |
}, |
| 176 |
"typoTitle": { |
| 177 |
"type": "object", |
| 178 |
"default": {} |
| 179 |
} |
| 180 |
} |
| 181 |
} |
| 182 |
|