Thank you so much Anjali for your clear explanations and examples, it works perfectly :) The thing that I didn’t know was how to access dataPoints property outside of CanvasJs.Chart object.