chore: archive update-candle-colors change
This commit is contained in:
parent
cce55c63c1
commit
4dad24845e
6 changed files with 9 additions and 8 deletions
|
|
@ -27,7 +27,7 @@ The lightweight-charts library configures candlestick colors through the `addCan
|
||||||
|
|
||||||
### Decision 1: Color Values
|
### Decision 1: Color Values
|
||||||
- **Up candles**: `upColor: '#ffffff'`, `borderUpColor: '#000000'`, `wickUpColor: '#000000'`, `borderVisible: true`
|
- **Up candles**: `upColor: '#ffffff'`, `borderUpColor: '#000000'`, `wickUpColor: '#000000'`, `borderVisible: true`
|
||||||
- **Down candles**: `downColor: '#000000'`, `wickDownColor: '#000000'`
|
- **Down candles**: `downColor: '#000000'`, , `borderDownColor: '#000000'`, `wickDownColor: '#000000'`
|
||||||
|
|
||||||
**Rationale**: Pure white (`#ffffff`) and pure black (`#000000`) provide maximum contrast and match traditional financial charting conventions. Borders must be visible for up candles to show the black outline.
|
**Rationale**: Pure white (`#ffffff`) and pure black (`#000000`) provide maximum contrast and match traditional financial charting conventions. Borders must be visible for up candles to show the black outline.
|
||||||
|
|
||||||
|
|
@ -141,6 +141,7 @@ const CandleChart = forwardRef<CandleChartHandle, CandleChartProps>(
|
||||||
wickUpColor: '#000000',
|
wickUpColor: '#000000',
|
||||||
wickDownColor: '#000000',
|
wickDownColor: '#000000',
|
||||||
borderUpColor: '#000000',
|
borderUpColor: '#000000',
|
||||||
|
borderDownColor: '#000000',
|
||||||
});
|
});
|
||||||
|
|
||||||
chartRef.current = chart;
|
chartRef.current = chart;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue