Line Chart

A line chart displays information as a series of data points called ‘markers’ connected by straight line segments.

The following is a list of the fields in the View Properties box in the dashboard designer for line chart. There are some required fields to be set for each created view.

Basic Properties

The View Properties fields vary in different charts. Below are the basic properties in the View Properties box.

Field Description Mandatory
View Type Type of chart, table or view. Yes
Title Name of the view. No
Dataset Data used for the chart, table or view. Yes
Subset Partial data from a dataset used for the chart, table or view. No
Group Places the output of the dataset/subset into separate groups or data traces based on field selected. Yes
X X values be set on the X axis. Yes
Y Y values be set on the Y axis. Yes
Sort X Sorts the X-Axis. Yes
Y Aggregation Determines the operation to be applied on the values in the “Y” field.
Depending on the field type of “Y”, the options available may vary.
Possible options are count, average, and/or summation.

The dataset and subset data derive from Datasets module. Choose the right chart from the View Type and data points to build a view. Also, be consistent in using the color scheme and formatting.

Other Properties

The other property fields are available to enhance the view. Below are the other properties in the View Properties box for the line chart.

Field Description Default
Controlled By Links dashboard controls to the view.
One or more controls can be added to affect the data displayed on the view.
Range Slider Allows user to adjust the X-axis through a slider. Not selected
Colour Scheme Determines the color palette used for the view. Default
Extra Lines Sets additional lines over specific views.
This is especially useful for setting indicators or threshold values on views. One or more can be added.
Drill Allows drilling down data on the selected group level. Empty
Time Series Select this field if the X-Axis is a timestamp. It will produce better X axis labels. Not selected
Fill Area Allows toggle between lines and filled-area chart. Not selected
Mode Sets the display mode of the line chart.
For example, you can show the lines with text or markers or both.
Text Position Determines the position of the text to be shown in the view (if text is selected in the “Mode” property). Auto
Text Format Sets the format of the displayed data point values. Empty
Legend Chooses the chart legend visibility in the Legend properties as well as how you want to display the legend. The legend orientation displays either in vertical or horizontal order. Selected
Hover Template Customise the content shown when hovering over the view. Empty
Click to Page Adds a link to another view. Empty
Click to Page Tip Adds a brief description of the link above. Empty
Maximisable If selected, places a maximise button on the top right of the view (when not in edit mode).
This will maximise the view to fill the browser.
Not selected
Margins Allows adjusting margins and padding between charts and grid. Default settings
X-Axis, Y-Axis Controls the axis’ title, visibility, formatting, show grid or line. Default settings
Advanced Add a special CSS class, data script and/or layout overview to the view. Empty
Config Options Config Options consists of the following:
- Scroll Zoom - allows the mouse wheel to zoom in/out of the chart
- Display Modebar - controls whether the bar of icons at the top right of the chart should appear always, never or only when hovering over the chart
- Hide Modebar buttons - chooses which buttons (icons) to include in the Modebar
Default settings