public class Loading extends AbstractConfigurationObject
chart.showLoading()
. 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 lang
object.Constructor and Description |
---|
Loading() |
Modifier and Type | Method and Description |
---|---|
Number |
getHideDuration() |
Style |
getLabelStyle() |
Number |
getShowDuration() |
Style |
getStyle() |
void |
setHideDuration(Number hideDuration)
The duration in milliseconds of the fade out effect.
|
void |
setLabelStyle(Style labelStyle)
CSS styles for the loading label
span . |
void |
setShowDuration(Number showDuration)
The duration in milliseconds of the fade in effect.
|
void |
setStyle(Style style)
CSS styles for the loading screen that covers the plot area.
|
public Number getHideDuration()
setHideDuration(Number)
public void setHideDuration(Number hideDuration)
Defaults to: 100
public Style getLabelStyle()
setLabelStyle(Style)
public void setLabelStyle(Style labelStyle)
span
.
Defaults to: { "fontWeight": "bold", "position": "relative", "top": "45%" }
public Number getShowDuration()
setShowDuration(Number)
public void setShowDuration(Number showDuration)
Defaults to: 100
public Style getStyle()
setStyle(Style)
public void setStyle(Style style)
Defaults to: { "position": "absolute", "backgroundColor": "#ffffff", "opacity": 0.5, "textAlign": "center" }
Copyright © 2021. All rights reserved.