Table of Contents

TTMSFNCChartAdapter Class

Base class for chart adapters that populate the chart from an external data source.

API unit family: TMSFNCChart Inherits from: TTMSFNCCustomComponent

Syntax

TTMSFNCChartAdapter = class(TTMSFNCCustomComponent)

Properties

Name Description
Active When True, the adapter loads data automatically when activated; default is False.
AutoCreateSeries When True (default), the adapter creates series automatically to match the data source structure.
Chart The chart control that this adapter populates.

Methods

Name Description
GetItems Override to read data from the external source and populate the chart; called by LoadItems.
LoadItems Clears and reloads all items from the data source into the chart.
UpdateItems Refreshes the chart display after the data source has changed without fully reloading.