Dark candlestick
Candlestick styletype: "candlestick"Generate dark-mode candlestick chart images with the classic trading-terminal look — light axes on a dark canvas, fresh OHLC per API call. Try Imejis free.
Edit it — this is the actual editor panel
Design JSON — “Dark” variant
{
"title": "Candlestick sample",
"description": "A weekly OHLC price chart",
"dimensions": {
"width": 800,
"height": 420
},
"background": {
"color": "#0f172a"
},
"components": [
{
"id": "sample-candlestick",
"key": "ohlc",
"type": "candlestick",
"position": {
"x": 120,
"y": 50
},
"rotation": 0,
"size": {
"width": 560,
"height": 320
},
"dynamic": true,
"properties": {
"candles": [
{
"open": 100,
"high": 112,
"low": 97,
"close": 109
},
{
"open": 109,
"high": 114,
"low": 105,
"close": 106
},
{
"open": 106,
"high": 108,
"low": 98,
"close": 101
},
{
"open": 101,
"high": 118,
"low": 100,
"close": 116
},
{
"open": 116,
"high": 122,
"low": 113,
"close": 120
},
{
"open": 120,
"high": 121,
"low": 110,
"close": 112
},
{
"open": 112,
"high": 119,
"low": 111,
"close": 118
}
],
"labels": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
],
"upColor": "#22c55e",
"downColor": "#ef4444",
"showAxis": true,
"showGrid": true,
"valueFormat": "currency",
"currencySymbol": "$",
"opacity": 1,
"textColor": "#cbd5e1",
"gridColor": "#334155"
}
}
]
}Candlestick examples
Real renders of the dark candlestick — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.
Dark crypto recap
A dark-canvas week of candles, compact-formatted.
API overrides for this example
{
"ohlc.textColor": "#cbd5e1",
"ohlc.gridColor": "#334155",
"ohlc.upColor": "#22c55e",
"ohlc.downColor": "#ef4444",
"ohlc.candles": [
{
"open": 1800,
"high": 1880,
"low": 1760,
"close": 1850
},
{
"open": 1850,
"high": 1920,
"low": 1840,
"close": 1900
},
{
"open": 1900,
"high": 1910,
"low": 1820,
"close": 1835
},
{
"open": 1835,
"high": 1960,
"low": 1830,
"close": 1945
},
{
"open": 1945,
"high": 2010,
"low": 1930,
"close": 1990
}
],
"ohlc.labels": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri"
],
"ohlc.valueFormat": "compact"
}Terminal candles
Bright green/red candles on slate for a trading-terminal card.
API overrides for this example
{
"ohlc.textColor": "#e2e8f0",
"ohlc.gridColor": "#1e293b",
"ohlc.upColor": "#22c55e",
"ohlc.downColor": "#ef4444"
}When to use the dark style
- Crypto/trading social cards in dark mode
- Terminal-style dashboard exports
- Night-theme price alerts
Use it dynamically via the API
Push a fresh OHLC array per render with '<key>.candles' (or just '<key>'); labels and colors are overridable too.
Full API request with this variant's current values — the playground above sends only the properties you change
curl --location 'https://render.imejis.io/v1/{{YOUR_DESIGN_ID}}' \
--header 'dma-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"ohlc.candles": [
{
"open": 100,
"high": 112,
"low": 97,
"close": 109
},
{
"open": 109,
"high": 114,
"low": 105,
"close": 106
},
{
"open": 106,
"high": 108,
"low": 98,
"close": 101
},
{
"open": 101,
"high": 118,
"low": 100,
"close": 116
},
{
"open": 116,
"high": 122,
"low": 113,
"close": 120
},
{
"open": 120,
"high": 121,
"low": 110,
"close": 112
},
{
"open": 112,
"high": 119,
"low": 111,
"close": 118
}
],
"ohlc.labels": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
],
"ohlc.upColor": "#22c55e",
"ohlc.downColor": "#ef4444",
"ohlc.showAxis": true,
"ohlc.showGrid": true,
"ohlc.valueFormat": "currency",
"ohlc.currencySymbol": "$",
"ohlc.opacity": 1,
"ohlc.textColor": "#cbd5e1",
"ohlc.gridColor": "#334155"
}'Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.
Other candlestick styles
See the candlestick component page for the full property reference and FAQs.