Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
This page is for data modellers who want to display data on a screen as a line chart.
Overview
This page will show you how to add data as line chart to any screen. It will go through a worked example creating a line chart to display the number of students across intake years in a local school.
Info |
---|
This table can be downloaded from the PhixFlow The data used on this page is available from the PhixFlow Learning Centre. |
Line Charts
There are 3 types of line charts
- Line Chart (category)
- Line Chart (numeric)
- Line Chart (time)
To change the type of line chart
- Right click on a chart and Show the view configuration
- Open the Basics section
- Select Line Chart (category), Line Chart (numeric) or Line Chart (time) under Display Type
Creating a Line Chart
A teacher wants to display the number of students per intake year as a line chart. To add a line chart:
- Click
Insert excerpt _table_list _table_list nopanel true Drag and drop the desired table onto the screen. In this instance, the School_Students table is dragged onto the screen.
Info This table can be downloaded from the PhixFlow learning centre
- PhixFlow then asks how to display the data using:
- Click Line Chart.
- The attribute picker will then appear. Drag IntakeYear to X Attributes and Count() to Y Attributes.
Multiple Series
Line Charts can display multiple series on the same graph. For example, the teacher might want to show the proportion of students of each gender on their line chart. To do this
- Right click on the line chart and Show view configuration
- Open the attribute picker by clicking
Insert excerpt _attributes _attributes nopanel true - Drag the attribute Gender into the Series group
- The IntakeYear is now grouped by gender.
More Information
- Filtering and Sorting Grids and Charts
- Formatting and Styling Grids and Charts
- Using Relational Views
- Actions on Grids and Charts
- For a complete list of view properties and their functions see View.