Open this page in the API Guide

ScorecardCanvas.subscribeViewModeChanged Method

Fires when the viewmode if changed.