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

jsfiddle demo

code:

plotoptions: {  candlestick: {             color: 'green',             upcolor: 'red'         }     }, 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -