Specifies the options for the range selector's background.
A background is an area that is painted in a specified color. You can change this color by setting the background's color property and/or by displaying an image specified by the image configuration object. In addition, you can superimpose a chart on a background by specifying the chart configuration object. The chart will be shown with the specified background color. To show the chart without a background, set the background's visible property to false.
Specifies the background color for the dxRangeSelector.
You may need to use this property in the following cases:
- to set a custom color for painting the range selector's background;
- to set an appropriate background color when a specified background image does not fill the entire background area;
- to set a custom background color for the chart displayed in the background.
This option supports the following colors.
- Hexadecimal colors
- RGB colors
- RGBA colors (not supported in Internet Explorer 8)
- Predefined/cross-browser color names
- Predefined SVG colors (not supported in Internet Explorer 8)
Specifies image options.
You can display an image as the background of a range selector instead of the default color. Set the image's URL and location using the corresponding properties of the image object to do this.
The width of the specified image must be less than or equal to the following value ("-" stands for subtract): the widget's width - the width of the left slider marker's placeholder - the width of the right slider marker's placeholder.
If the image size is smaller than the background size, a default background color will be displayed in the remaining area. You can set a custom color (e.g. an empty color) for the background using the color property of the background configuration object.
To see an example of how to show an image in the background, refer to the Customize the Appearance lesson in the Getting Started section.
Indicates whether or not the background (background color and/or image) is visible.