Properties of Filter Control in Library Component
There are three types of filter controls: Text List, Single Value Slider, and Range Slider. When a filter control is of the Text List type in a library component, it shares the same properties as a filter control in a web report. When the type is Single Slider or Range Slider, its properties are:
Property Name | Description |
---|---|
Slider | |
Font Face | Specifies the font of the tick mark label text. Choose an option from the drop-down list.
Data type: Enumeration |
Font Size | Specifies the font size of the tick mark label text. Enter an integer value to change the size.
Data type: Integer |
Format | Specifies the display format of the text in the report result. It varies with data type and can be manually defined.
Data type: String Note: For the BigDecimal type, to avoid precision loss, you should enter a prefix JRD when setting the format property value. |
Number Slider Unit Increment | Specifies the increment between two pixels on the slider.
Data type: Float |
Geometry | |
Height | Specifies the height of the object. Enter a numeric value to change the height.
Data type: Float |
Width | Specifies the width of the object. Enter a numeric value to change the width.
Data type: Float |
X | Specifies the horizontal coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position.
Data type: Float |
Y | Specifies the vertical coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position.
Data type: Float |
Color | |
Background | Specifies the background color of the object. Choose a color from the drop-down list or select Custom to customize a color. You can also enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
Foreground | Specifies the foreground color of the object. Choose a color from the drop-down list or select Custom to customize a color. You can also enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
Selection | Specifies the color of the selected part on the slider bar. This property takes effect only when the type of the filter control is Range Slider. Choose a color from the drop-down list or select Custom to customize a color. You can also enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
Slider Bar | Specifies the color of the slider bar. This property takes effect only when the type of the filter control is Range Slider. Choose a color from the drop-down list or select Custom to customize a color. You can also enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
CSS | |
Class | Specifies a CSS class to be applied to the object which is a valid class in the CSS file.
Data type: String |
ID | Specifies the identifier of the object, which must be unique in the report. The ID property can be a style sheet selector.
Data type: String |
Style | The property can be used in two ways.
Data type: String |
Others | |
Export to Applet | Specifies whether to include the object when exporting the report to Applet.
Data type: Boolean |
Export to CSV | Specifies whether to include the object when exporting the report to CSV.
Data type: Boolean |
Export to Excel | Specifies whether to include the object when exporting the report to Excel.
Data type: Boolean |
Export to HTML | Specifies whether to include the object when exporting the report to HTML.
Data type: Boolean |
Export to PDF | Specifies whether to include the object when exporting the report to PDF.
Data type: Boolean |
Export to PostScript | Specifies whether to include the object when exporting the report to PostScript.
Data type: Boolean |
Export to Report Result | Specifies whether to include the object when exporting the report to Report Result.
Data type: Boolean |
Export to RTF | Specifies whether to include the object when exporting the report to RTF.
Data type: Boolean |
Export to Text | Specifies whether to include the object when exporting the report to Text.
Data type: Boolean |
Export to XML | Specifies whether to include the object when exporting the report to XML.
Data type: Boolean |
Invisible | Specifies whether to show the object in the design area and in the report results. All formulas and calculations will still be performed if the property is set to true.
Data type: Boolean |
Position | Specifies the position of the object. Choose an option from the drop-down list.
Data type: Enumeration |