ZoomCharts Documentation


Inheritance hierarchy

This type inherits from ItemsChartSettingsData. Through this type it also inherits members from BaseSettingsData.


This type does not define any methods.


cacheSize: number
Inherited from: ItemsChartSettingsData

Count of caching items including only links and nodes.

dataFunction: (nodes: Array<string>, success: (data: NetChartDataObject) => void, fail: (result: BaseDataErrorResponse) => void) => void

Load more chart data.

nodes: Array<string>

node IDs

success: (data: NetChartDataObject) => void

callback function to execute when data arrived correctly

fail: (result: BaseDataErrorResponse) => void

callback function to execute when error occure while loading data

format: "JSON" | "GeoJSON"
Inherited from: BaseSettingsData

Data loading format. Currently most charts only support JSON.

id: string
Inherited from: BaseSettingsData

Data id used for series to reference specific data source.

numberOfParallelRequests: number
Inherited from: BaseSettingsData

Max number of parallel data requests to issue. More requests will result in faster loading, but might put heavy load on server.

postprocessorFunction: (data: string) => string
Inherited from: BaseSettingsData

Delegate that can be used to process data returned by the server for the HTTP request issued by the chart.

data: string

The raw data received from the server.

Return value
Data type: string

The data object that will be further processed by the chart.

Inherited from: BaseSettingsData
Version 1.12.0: the value has to be an object, JSON strings are no longer accepted.

Provides the ability to embed chart data directly into the chart configuration.

This data can be complete or act as the initial data where the rest will be requested dynamically using url or dataFunction.

random: "grid" | "tree" | "uniform"
Inherited from: ItemsChartSettingsData

Specifies the random layout method: grid, tree, uniform. The default is uniform.

Valid values:
  • grid
  • tree
  • uniform
randomGridLinkProbability: number
Inherited from: ItemsChartSettingsData
randomNodes: number
Inherited from: ItemsChartSettingsData

Generates random data. Specify a value larger than 0 to enable generating random data.

randomTreeDensity: number
Inherited from: ItemsChartSettingsData
requestMaxUnits: number
Inherited from: ItemsChartSettingsData

Max number of nodes to submit in a single request.

requestTimeout: number
Inherited from: BaseSettingsData

Timeout in milliseconds for data requests. This timeout only applies to HTTP requests issued by the chart directly.

url: string
Inherited from: BaseSettingsData

URL that is used to load data

urlParameters: Array<{ name?: string; value?: string; }>
Inherited from: BaseSettingsData

List of extra parameters to pass with data URL.

name: string

Parameter name.

value: string

Parameter value.