refresh

[ root » refresh ]

Sets the chart's automated data refresh system.

AttributeTypeInfo
typeString

Sets the type of data refresh, full being the only option at loader's level.

"full"

transportString

Defines the specific type of feed.

http | js | websockets

urlString

The url path for the feed.

feed() | https://myPhpFunction.php | wss://websockets.zingchart.com:8889

intervalNumeric

Sets the timeout between two refresh operations. If value is smaller than 50, seconds are assumed, otherwise milliseconds are assumed.

5 | 10 | ...

max-ticksNumeric

Sets the max amount of nodes visible in the graph.

5 | 10 | ...

reset-timeoutNumeric

The number of nodes before starting the feed from 0 again.

500 | 1000 | ...

adjust-scaleBoolean

Enabling true will allow dynamic value range of the scale pertaining to the values.

false (default) | true