SLinearChart

Introduction
The sLinearChart is a component that displays record (numeric) attributes on a linear chart. It is used to display the values of different attributes of a record description so that users can easily compare the values of these comparable attributes.

The main difference in contrast to the bar chart component is that the linear chart is used to compare comparable attributes (remember that the bar chart can be used to compare any kind of attributes: even if they are not really comparable together). The linear charts are normally used to compare data in sequence: the same indicator over years; or the same indicator over ages (5 years old, 10 years old, etc.), as examples.

Attributes are made comparable in the schema, and they are ordered according to their ordering value, also defined in the schema used by the component, and used to describe target input records.

Important Predicates
No specific predicates are important for the linear chart control. Only the  predicates are the important ones. Each of them should describe the target record, and each needs to have a numeric value.

The linear chart is really used to display numeric values of target attributes of a given target record. The input target attributes are defined as "comparableWith" other attributes based on the input schema. Also, the target attributes will be ordered on the X axis of the graph by their "orderingValue".

Here is an example of two comparable attributes with defined ordering values. These are defined in a irXML schema that can be used as an input schema to the component (this is part of the MUNI ontology):

MXML Usage Examples
In this example, we assume that the  variable is a , where the record description is defined, accessible at the creation time of the sLinearChart. Target attributes are the attributes to focus on at load time. The schema is the conceptual structure to load in the Relation Browser.

Related Libraries
This tool is based on the Axiis Flex project. It has been enhanced for some special purposes of the semantic component, but the basis of this component is based on the Axiis framework.

This project is itself related to the Degrafa visualization framework.