I am trying to build a line chart using highchart.js that uses the color green and black. The data is pulled from an SQL database and if the value is higher than the previous value it is green. If the value is less than the previous value than the color is black.
I am new at this and have been searching and searching but the only things I find is using zones to change the colors.
Can anyone help me on this?
I created this example, it should help you :
Fiddle