Kaktana / kaktana-react-lightweight-charts

A simple react wrapper for the tradingview lightweight charts module
MIT License
107 stars 55 forks source link

Colors for the chart doesn't seem to work #14

Closed Moskovskiy closed 3 years ago

Moskovskiy commented 3 years ago

Your wrapper is amazing, however, trying to specify chart colors doesn't seem to apply: Here is sample code, that doesn't work properly const lineSeries = [{ color: props.color, borderColor: props.color, data: props.data }] .... `

` Chart is displayed, yet coloring doesn't seem to apply :(

Weirder still, adding empty candlestick ` const candlestickSeries = [{ data: [ ] }]

` will change series color (prob to another default color).

What is the way to add colors support to the library? Thx