g_FormView_Chart
Chart : Tabs : Layout
Chart control view - within a tab in a layout
Properties
augment : uiIdentifierA path to the view to augment with this view.
Augmentation rules depend on the types of augmented and augmenting views. When augmented view is a layout, such as Composite, Tabs, or Switch, and augmenting view is also of the same type, the children views will be added to the augmented layout. When both augmented views are layouts but of different type, the augmenting view is inserted next to the augmented one. When augmented view is primitive, the augmenting view is inserted next to it.Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter. Case and length are not restricted. Letters and numbers are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
caption : stringCaption text expression
enabled : stringEnablement flag association path or expression
event : identifierName of the UI event to fire when the view is clicked
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
icon : stringIcon name expression
iconCaption : stringIcon caption expression
items : stringDisplayed collection of items: (<view1> <a11> ... <a1N>) ... (<viewN> <aN1> ... <aNM>)|(@ <a1> ... <aN>)|(@@ <class>)
<empty> - the same as (@) in Forms; no data in other situations
(ViewName1 assoc1 ... assocN) ... (ViewNameM assoc1 ... assocX) - collection relative to the items of the specified views; constrained by all the association paths
(@ assoc1 ... assocN) - collection relative to the Layout's model items
(@@ ClassName) - instances of the class specified by ClassNamelabels : booleanTrue to show item labels
legend : booleanTrue to show the legend
mode : chartModeChart mode
Valid values based on“string”. bar bar/stacked bar/stacked/line bar/stacked/percent bar/stacked/percent/line column column/stacked column/stacked/line column/stacked/percent column/stacked/percent/line funnel line line/inverse pie/donut name : identifierUnique view name
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
order : stringItem order specification: ((<attr1> . #t|#f) ... (<attrN> . #t|#f)
List of attributes or attribute and boolean pairs to indicate ascending (#t) or descending (#f).- Example
((name . #t) (company . #f))
privilege : identifierAccess privilege
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
sort : ComboSortTypeSet to "server" to perform sort on the server, "client" to perform sort on the client when order expression is not supported by the data source
Valid values based on“string”. client The model will be sorted on the client.
server The model will be sorted on the server.
subtitle : stringChart subtitle
visible : stringDefault visibility flag association path or expression
Default visiblity set to a control but value can be overriden by script, client state, or control-specific mechanism such as setListColumn in a table.where : stringLogical expression that the items must satisfy. If quasiquoted, it is expanded on the client every time the model is (re-)loaded.
Special local variable this (=controller) is provided by the framework for the function- Example
Constant where expression:
(= (@ firstName) "Joe")
Function returning where clause:
`(generate-where-clause this "EntityId")
In a library:
(define (generate-where-clause controller var)
...
)
Content
Sequence of:
t_Chart_Codes [0..1]
t_Chart_Captions [0..1]
t_Chart_Hints [0..1]
t_Chart_Series [0..1]
t_Chart_Keys [0..2]
t_Chart_Values [0..2]
t_Chart_ValueMarker [0..1]
Parents
t_Controllable_Tabs - A container that displays its child views in tabs - in the root of a layout.
t_FormSwitch_Tabs - A container that displays its child views in tabs - within a switch in a layout.
g_FormView_Tabs - A container that displays its child views in tabs - within tabs in a layoutt.
t_FormLayout_Tabs - A container that displays its child views in tabs - within a composite in a layout.
Parent topic: t_Controllable_Tabs
Parent topic: t_FormLayout_Tabs