Table of Contents

TTMSFNCLineChart.LoadFromJSONTextMultiPointData Method

Imports OHLC or box plot series from a JSON string.

API unit family: TMSFNCChart Declaring type: TTMSFNCLineChart Inherited from: TTMSFNCChart

Overloads

Overload 1

Imports OHLC or box plot series from a JSON string.

procedure LoadFromJSONTextMultiPointData(AText: string; ASeriesName: string; APointsName: string; AYHighValueName: string; AYLowValueName: string; AYOpenValueName: string; AYCloseValueName: string; AYMedianValueName: string = ''; AXValueName: string = ''; AXLabelName: string = ''; ASerieCallBack: TTMSFNCChartAddJSONSerieCallBackEvent = nil; APointCallBack: TTMSFNCChartAddJSONPointCallBackEvent = nil ); overload; virtual;

Parameters

Name Description
AText JSON-formatted string to import.
ASeriesName JSON array key for series objects.
APointsName JSON array key for point objects.
AYHighValueName JSON key for high values.
AYLowValueName JSON key for low values.
AYOpenValueName JSON key for open values.
AYCloseValueName JSON key for close values.
AYMedianValueName JSON key for median values; empty to omit.
AXValueName JSON key for x-values; empty for sequential.
AXLabelName JSON key for x-axis labels; empty to omit.
ASerieCallBack Optional series callback.
APointCallBack Optional point callback.

Overload 2

Imports OHLC or box plot series from a JSON string using explicit load options.

procedure LoadFromJSONTextMultiPointData(AText: string; ALoadOptions: TTMSFNCChartLoadOptions; ASeriesName: string; APointsName: string; AYHighValueName: string; AYLowValueName: string; AYOpenValueName: string; AYCloseValueName: string; AYMedianValueName: string = ''; AXValueName: string = ''; AXLabelName: string = ''; ASerieCallBack: TTMSFNCChartAddJSONSerieCallBackEvent = nil; APointCallBack: TTMSFNCChartAddJSONPointCallBackEvent = nil ); overload; virtual;

Parameters

Name Description
AText JSON-formatted string to import.
ALoadOptions Import options.
ASeriesName JSON array key for series objects.
APointsName JSON array key for point objects.
AYHighValueName JSON key for high values.
AYLowValueName JSON key for low values.
AYOpenValueName JSON key for open values.
AYCloseValueName JSON key for close values.
AYMedianValueName JSON key for median values; empty to omit.
AXValueName JSON key for x-values; empty for sequential.
AXLabelName JSON key for x-axis labels; empty to omit.
ASerieCallBack Optional series callback.
APointCallBack Optional point callback.