ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

ZoomCharts.Configuration.ItemsChartSettingsData

Inheritance hierarchy

This type inherits from BaseSettingsData.

This type is implemented by GeoChartSettingsData and NetChartSettingsData.

Methods

This type does not define any methods.

Properties

cacheSize: number

Count of caching items including only links and nodes.

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.

Parameters
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"

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

Valid values:
  • grid
  • tree
  • uniform
randomGridLinkProbability: number
randomNodes: number

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

randomTreeDensity: number
requestMaxUnits: number

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.

Properties
name: string

Parameter name.

value: string

Parameter value.

X