highcharts - How to apply custom color on candlesticks based on OPEN/CLOSE values? -
i'm working on candlesticks (highstock). there function through can change color of individual candlesticks based on open/close values ? default gives blue , white color, i.e. if opening values greater closing values color blues , , if closing value greater opening values color white. want apply green , red color instead on blue , white. want apply white color if closing price same opening. highly appreciated. in advance ;)
you can find answer below link:
highstock docs candlestick chart
code:
plotoptions: { candlestick: { color: 'green', upcolor: 'red' } },
Comments
Post a Comment