TTMSFNCStackedPercentageBarChart.LoadFromJSONTextDataEx Method
Imports series from a JSON string including secondary and variable-radius values.
API unit family: TMSFNCChart
Declaring type: TTMSFNCStackedPercentageBarChart
Inherited from: TTMSFNCChart
Overloads
Overload 1
Imports series from a JSON string including secondary and variable-radius values.
procedure LoadFromJSONTextDataEx(AText: string; ASeriesName: string; APointsName: string; AYValueName: string; AXValueName: string = ''; AXLabelName: string = ''; AYSecValueName: string = ''; AYVarValueName: 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. |
AYValueName |
JSON key for the primary y-value. |
AXValueName |
JSON key for x-values; empty for sequential. |
AXLabelName |
JSON key for x-axis labels; empty to omit. |
AYSecValueName |
JSON key for secondary y-values; empty to omit. |
AYVarValueName |
JSON key for variable radius values; empty to omit. |
ASerieCallBack |
Optional series callback. |
APointCallBack |
Optional point callback. |
Overload 2
Imports series from a JSON string with secondary and variable-radius values using explicit load options.
procedure LoadFromJSONTextDataEx(AText: string; ALoadOptions: TTMSFNCChartLoadOptions; ASeriesName: string; APointsName: string; AYValueName: string; AXValueName: string = ''; AXLabelName: string = ''; AYSecValueName: string = ''; AYVarValueName: 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. |
AYValueName |
JSON key for the primary y-value. |
AXValueName |
JSON key for x-values; empty for sequential. |
AXLabelName |
JSON key for x-axis labels; empty to omit. |
AYSecValueName |
JSON key for secondary y-values; empty to omit. |
AYVarValueName |
JSON key for variable radius values; empty to omit. |
ASerieCallBack |
Optional series callback. |
APointCallBack |
Optional point callback. |
Overload 3
Imports multiple series from a JSON string using key name arrays including secondary and variable-radius values.
procedure LoadFromJSONTextDataEx(AText: string; ASeriesName: string; APointsName: string; AYValueNames: TTMSFNCChartJSONNamesArray = nil; AXValueNames: TTMSFNCChartJSONNamesArray = nil; AXLabelNames: TTMSFNCChartJSONNamesArray = nil; AYSecValueNames: TTMSFNCChartJSONNamesArray = nil; AYVarValueNames: TTMSFNCChartJSONNamesArray = nil; 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. |
AYValueNames |
Array of JSON key names for primary y-values. |
AXValueNames |
Array of JSON key names for x-values; nil for sequential. |
AXLabelNames |
Array of JSON key names for x-axis labels; nil to omit. |
AYSecValueNames |
Array of JSON key names for secondary y-values; nil to omit. |
AYVarValueNames |
Array of JSON key names for variable radius values; nil to omit. |
ASerieCallBack |
Optional series callback. |
APointCallBack |
Optional point callback. |
Overload 4
Imports multiple series from a JSON string using key name arrays with secondary and variable-radius values and explicit load options.
procedure LoadFromJSONTextDataEx(AText: string; ALoadOptions: TTMSFNCChartLoadOptions; ASeriesName: string; APointsName: string; AYValueNames: TTMSFNCChartJSONNamesArray = nil; AXValueNames: TTMSFNCChartJSONNamesArray = nil; AXLabelNames: TTMSFNCChartJSONNamesArray = nil; AYSecValueNames: TTMSFNCChartJSONNamesArray = nil; AYVarValueNames: TTMSFNCChartJSONNamesArray = nil; 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. |
AYValueNames |
Array of JSON key names for primary y-values. |
AXValueNames |
Array of JSON key names for x-values; nil for sequential. |
AXLabelNames |
Array of JSON key names for x-axis labels; nil to omit. |
AYSecValueNames |
Array of JSON key names for secondary y-values; nil to omit. |
AYVarValueNames |
Array of JSON key names for variable radius values; nil to omit. |
ASerieCallBack |
Optional series callback. |
APointCallBack |
Optional point callback. |