Kaktana / kaktana-react-lightweight-charts

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

Open High Low Close labels missing #1

Closed merndev closed 4 years ago

merndev commented 4 years ago

I am new to coding... is it possible to show open high low close labels in chart with respect to crosshair ?

AurelReb commented 4 years ago

Hi, The wrapper includes a special feature to achieve this. You can use the legend parameter on the candleStickSeries.

let candleStickSeries = [{
  options: {...},
  data: [...],
  legend: "BTC/USD 30m"
}]

let histogramSeries = [{
  options: {...},
  data: [...],
  legend: "Volume"
}]

Deepin Capture-écran_zone de sélection _20200421010357

merndev commented 4 years ago

Thank You So Much... It worked...