Table of Contents

TTMSFNCPieChart.LoadFromJSONMultiPointData Method

Imports OHLC or box plot series from a JSON file.

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

Overloads

Overload 1

Imports OHLC or box plot series from a JSON file.

procedure LoadFromJSONMultiPointData(AFileName: 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
AFileName Path of the JSON file.
ASeriesName JSON array key for series objects.
APointsName JSON array key for point objects.
AYHighValueName JSON key for the high value.
AYLowValueName JSON key for the low value.
AYOpenValueName JSON key for the open value.
AYCloseValueName JSON key for the close value.
AYMedianValueName JSON key for the median value; empty to omit.
AXValueName JSON key for the x-value; empty for sequential.
AXLabelName JSON key for the x-axis label; empty to omit.
ASerieCallBack Optional series callback.
APointCallBack Optional point callback.

Overload 2

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

procedure LoadFromJSONMultiPointData(AFileName: 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
AFileName Path of the JSON file.
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.