ZoomCharts Documentation

ZoomCharts.Configuration.ItemsChartDataObjectNode

Inheritance hierarchy

This type inherits from ItemsChartDataObjectBase. Through this type it also inherits members from BaseDataErrorResponse and BaseDataObjectBase.

This type is implemented by GeoChartAggregationDataObjectNode, GeoChartGeoDataObjectNode and NetChartDataObjectNode.

Methods

This type does not define any methods.

Properties

className: string
error: string
Inherited from: BaseDataErrorResponse

If the data could not be retrieved, this field can be used to instruct the chart to cancel the data request and log an error. Note that in most cases this field should not be used in favor of returning the correct HTTP status code (such as 404 or 500) so that the browser and any proxies do not cache the response.

extra: any
Inherited from: BaseDataObjectBase

Store any additional data values within this field. Although it is possible to extend the data object itself with additional fields it is not recommended to do so because a future ZoomCharts version could introduce a known parameter with the same name thus changing the behavior of an existing chart.

id: string

The unique identifier of the node.

loaded: boolean

Determines if the node data is complete (when true) or if the data is incomplete and only provided as a placeholder (value false).

In most cases this should be specified as true, the exception being a scenario where another node contains a link to this node, that link is included in the data response but the data for this node is not available so a placeholder is created and the chart will have to issue another data request to load the actual data.

X