The loading options control the appearance of the loading screen that covers the plot area on chart operations. This screen only appears after an explicit call to Java Script chart.showLoading() method. It is a utility for developers to communicate to the end user that something is going on, for example while retrieving new data via an XHR connection. The "Loading..." text itself is not part of this configuration object, but part of the Language object.

Method used

Parameters:

  • mixed $name: the option name for the legend. Can be a string or array. When used as array a key value pair should be defined, where the key is the name
  • mixed $mixvalue: a value option in case the name is a string

API Tags:
Return: instance
Access: public

Option name Type Default
hideDuration Number 100
The duration in milliseconds of the fade out effect
labelStyle Array
CSS styles for the loading label span.
showDuration Number 100
The duration in milliseconds of the fade in effect.
style Array
CSS styles for the loading screen that covers the plot area.