Type to start searching...

LineChart

A UI Line Chart Control.

Description
Charts are collection controls. They support binding to collections of instances. Chart controls are capable of displaying styled caption, border, toolbar, and context menus similar to layouts and grids. The Java client supports sysCopy UI event handling for charts. It copies the picture with chart on the clipboard. Charts can be used in repeated forms. As of release 1B only non-virtual repeated grids are capable of displaying charts (paging is "none-sortclient", or "none-sortserver"). The chart in such a repeated form must have abolute dimensions.
Properties
caption : string

String indentifier for caption display in the UI.

collection : string

Collection attribute to specify where collection comes from.

collectionAnnotation : string

Space separated list of annotations which do not exist in the Domain Model.

collectionLazy : boolean

True if collection is lazy, false if subcollection.

collectionOrderBy : string

OrderBy order by clause to be applied to the collection: ((attr1 . asc1) ... (attrN . ascN)).

collectionQuery : string

List of additional attributes to include in collection read query.

collectionWhere : string

Where clause to be applied to the collection.

control : identifier

The control type this should be rendered with.

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.

edit : string

Boolean property specifying whether the insert, delete, or edit operations are allowed in the column.

enabled : string

The attribute, association path, or a constant returning boolean to set enablement.

error : string

Expression returning non-#f if the message should be treated as an error. The raw message is passed as "this".

event : identifier

The UI event to fire when chart series is clicked. The information about the series is passed as parameter.

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.

exclusive : boolean

If true lack of selection means disabling children collection query. Otherwise, children query is generated.

itemLabelsVisible : boolean

True to make item labels visible.

itemTooltipsVisible : boolean

True to generate tooltips.

legend : boolean

True to show chart legend.

legendPosition : LegendPosition

Position legend at one of top, left, right, or bottom sides of the chart.

Valid values based on“string”.
top
left
right
bottom
linesVisible : boolean

True if the lines are visible.

menu : identifier

Context menu 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.

name : uiIdentifier

Uniquely identifies the tabbable control.

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.

nullCaption : string

String identifier for the UI display string when the chart contains no data. If not specified, defaults to "No data to display".

orientation : ChartOrientation

Chart orientation. One of horizontal, or vertical.

Valid values based on“string”.
horizontal
vertical
required : string

The attribute, association path, or a constant returning boolean to set whether the value for the control is required.

If the attribute is required in the model, it takes precedence and one cannot change this setting in the UI. If the attribute is not required in the model, the requiredness can be set to an attribute, association path, or a constant returning boolean. If the value is set to #t, or the attribute value is true, the requiredness cannot be changed using 'required' view property that is set via client-side API. If the value is left blank, it is set to #f, or the attribute value is false, the requiredness can be changed using 'required' view property that is set via client-side API.
shapesVisible : boolean

True if the shapes are visible.

style : string

Chart style attribute, or constant.

tabIndex : long

The index number of the tabbable control. Must be a long integer.

tabStop : boolean

Specifies if tabbing should stop on the tabbable control

title : string

Chart title string indentifier. Title is part of chart.

toolbar : identifier

Toolbar 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.

tooltip : string

The attribute, association path, or a constant specifying tooltip.

visible : string

The attribute, association path, or a constant returning boolean to set visibility.

Content
Example


<LineChart caption="Account Allocation" itemLabelsVisible="true"
           itemTooltipsVisible="true" legend="true" name="barChart" orientation="horizontal"
           filled="true" style=""RoundTopSmall"" title="Account Allocation">

   <CategoryDataset columnKey="""" label="fullName" rowKey="fullName" value="balance"/>
   <ValueAxis label="Balance"/>
   <CategoryAxis label="Account"/>
</LineChart>

Parents