Knowledge Base Article

Connecting Points In Scatter Chart By Dim And In Order [Aka Snake Chart]

This script connects points of the same dimension with a line. If the Point is set to a time such as months or years then the points will be connected in chronological order.
The benefits are that you can see a points movement over time. This especially useful to track short periods of change.
The bold formatting is optional.
widget.on('processresult', function(se,ev){
ev.result.plotOptions.series.dataLabels.formatter = function(){
var temp = this.point.pointText.toString().substring(4,7) + '<br><b>' +this.point.breakByValue + '</b>';
return temp;
};
});


widget.on('render', function(se, ev){
se.queryResult.plotOptions.series.lineWidth = 2;
});
Updated 03-02-2023
No CommentsBe the first to comment