ZoomCharts Documentation

ZoomCharts.Configuration.NetChartDataObjectNode

Inheritance hierarchy

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

Methods

This type does not define any methods.

Properties

className: string
Inherited from: ItemsChartDataObjectNode
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
Inherited from: ItemsChartDataObjectNode

The unique identifier of the node.

loaded: boolean
Inherited from: ItemsChartDataObjectNode

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.

locked: boolean
Introduced in version 1.17.0.

Whether the node is initially locked in place at the (x;y) coordinates. Used for all except static layouts.

Initial X coordinate, used for static layout.

Initial Y coordinate, used for static layout.

X