Element Details: Input+Chart+List
 Back


Available in: Logi Info Source code name: InputChart.ListIntroduced in: v11.0.43

This enables the use of charts as input controls. It allows the user to select a region of the bar or pie chart by clicking on it. Multiple bars or pie wedges can be selected.

All the selected values may be referenced with @Request.x~, where "x" is the ID of the list element. Normally, multiple values are separated by commas. Frequently, these values are used in SQL "IN" clauses in conjunction with the @SingleQuote token. For example: ...WHERE LastName IN (@SingleQuote.Request.x~)...

InputChart.List supports Bar and Pie charts.

Validation.Required is available so a message is displayed when the page is submitted without a chart item selected. However, the Validation's Class attribute does not apply.

Element Group:User Input



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ChangeFlagElementID
UserDefined
ChangeFlagElementID helps Process Tasks know when an input value has been changed by the user. For example, a Process may only UPDATE rows when the user actually changed something, and otherwise skip the UPDATE. Set ChangeFlagElementID to the ID of an InputHidden element. Then, if the user changes this input element, the hidden element's value will become "True". You can test for this value in a Procedure.If. When using ChangeFlagElementID with an Input element that's under a DataTable, be sure to put the InputHidden element under a DataTableColumn. Process input from individual rows under a Procedure.RunDataTableRows. ChangeFlagElementID relies on the Javascript "onchange" event, so you will not be able to use your own "onchange" EventHandler with ChangeFlagElementID.
DefaultValue
UserDefined
The default value displayed or selected when the report page is initially displayed. For the InputSelectList element, to show multiple selected values, this attribute can be over-ridden by adding a DefaultValues element with a DataLayer below that.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
InputChartValueColumn
UserDefined
Set this to the data column that contains values which will be returned, such as the IDs for each selected bar. The chart's ChartLabelColumn (aka: Label Data Column X-axis) is the default.
SaveInCookie
True
False
Saves the information entered by the user in a cookie. You can use the cookie to set the default value so that previously entered data is retrieved. Hint: Set the Default Value attribute to something like "@Cookie.myInputId~". SaveInCookie does not work under DataTables and other data-repeating elements.
SaveInLocalStorage
True
False
LocalStorage stores data in the browser. The information is maintained between sessions. SaveInLocalStorage uses the browser's localStorage to preserve input values so they re-appear when a page is redisplayed. It is a way of keeping default values. Set SaveInLocalStorage="True" to preserve and restore input values. SaveInLocalStorage is over-ridden by DefaultValue attributes. Do not use SaveInLocalStorage and DefaultValue attributes together. SaveInLocalStorage does not work under DataTables and other data-repeating elements. LocalStorage requires browser support. IE7 does not support LocalStorage.
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.
SelectedColor
UserDefined
Sets the selected region's color. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, like #112233.
SelectedTransparency
UserDefined
7
15
0
Transparency of the selected region. Indicates a level of transparency of the selected region. The lowest value of 0 indicates that the region is opaque, with no transparency. The other end of the scale, 15, indicates a completely transparent region.
UnselectedColor
UserDefined
Sets the region's color when unselected. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, like #112233.
UnselectedTransparency
UserDefined
7
15
0
Transparency of the region when unselected. Indicates a level of transparency of the region. The lowest value of 0 indicates that the region is opaque, with no transparency. The other end of the scale, 15, indicates a completely transparent region.



PARENT ELEMENTS

Click element to drill down for more information.

Action.Export Word Or Excel
Body
Column Cell
Division
Fieldset Box
HTML Tag
Popup Panel
Rectangle
Report Footer
Report Header
Responsive Column
Tab Panel


CHILD ELEMENTS

Click element to drill down for more information.

Validation.Required


 Back to top


 Chart Debug