refresh

[ root » refresh ]

Sets the chart's automated data refresh system.

AttributeTypeInfo

type

String

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

"full"

transport

String

Defines the specific type of feed.

http | js | websockets

url

String

The url path for the feed.

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

interval

Numeric

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

5 | 10 | ...

max-ticks

Numeric

Sets the max amount of nodes visible in the graph.

5 | 10 | ...

reset-timeout

Numeric

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

500 | 1000 | ...

adjust-scale

Boolean

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

false (default) | true