I read that article ( about custom indicators ) and thanks to that I was able to build a functioning example with lines ( without the mistake with the name of the functions, I just realized ). The lack of documentation about the seriesType is a major issue for me, I was able to find its definition on another post in this forum, but I still can't wrap my head around some of its parameters , especially the second ( the series which you inherit from? what exactly do you inherit ? ) and the fourth ( a prototype method for the series ? ) . I was kinda hoping in some sort of an easy and fast solution for my problem, without going to such depth, just for changin a series type at least.
Besides I couldn't find much to some of this attributes in the API, only some references.
Code: Select all
drawGraph: Highcharts.noop,
crispCol: Highcharts.seriesTypes.column.prototype.crispCol,
drawPoints: Highcharts.seriesTypes.column.prototype.drawPoints,
getColumnMetrics: Highcharts.seriesTypes.column.prototype.getColumnMetrics,
translate: Highcharts.seriesTypes.column.prototype.translate
Anyway for the sake of simplicity I will move the computations on the server-side, and load a simple column chart with the data I need. Even though it would have been cool to move those computations on the browser.
For the colorAxis instead that is what I wanted, the dataClasses attribute should do the trick, allowing me to set the ranges that I want. Thanks.