Changing the color of dot depending from value on Morris js graph
- by Michal Lipa
Im rendering graph by morris js. Im using data from mysql database by JSON.
Everything works fine, but I would like to add one more feature to the graph. (change dot color if there is something in buy action).
My JSON:
[{"longdate":"2014-08-20
18:20:01","price":"1620","action":"buy"},{"longdate":"2014-08-20
…