/** * Base interface for all charts to implement. Charts should utilize * the cleanup method to dispose of any persisting data. */ export interface MtnaBaseChart { /** * Used to dispose of any persisting data. For instance, in the case of amcharts, the created chart * is set to a local Sprite variable, and must be destroyed on cleanup. */ cleanup(): void; }