Post navigation

API

Switch Expiration Mode

Expiry Mode

The “Expiration Mode” enables the Chart to stop data updates, based on a specified “expire” date. Any new data afterwards will not update the Chart.
In regular mode the Chart shifts the data to the left. In “Expiration Mode” the Chart fills from left to right, showing all the data including the future dates area.
The following API enables switching this mode ON or OFF on the fly.

 

StopExpiration
Disable expiration mode and reset buffers accordingly.

UpdateExpirationField
Update the expiration date and enable expiration mode if not already enabled.