Open this page in the API Guide

Sparkline.onDataChanged Method

Called when data changes.