Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
This page will show you how to add data as bar line chart to any screen. It will go through a worked example creating a bar line chart to display a sum of the revenue of all companies within each industry.
Table of Contents |
---|
number of students across intake years in a local school.
Info |
---|
The data used on this page is available from the PhixFlow Learning Centre. |
Line Charts
There are 3 types of bar line charts
- Bar Line Chart (category)Bar
- Line Chart (Horizontalnumeric)
- Bar Line Chart (Stackedtime). Multiple series only.
To change the type of bar line chart
- Right click on a chart and Show the view configuration
- Open the Basics section
- Select Bar Line Chart (category), Bar Line Chart (Horizontalnumeric) or Bar Line Chart (Stackedtime) under under Display Type
Creating a
BarLine Chart
A teacher wants to display the number of students per intake year as a bar line chart. To add a bar 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 Bar Chart Line Chart.
- The attribute picker will then appear. Drag IntakeYear to X Attributes and Count() to Y Attributes.
Multiple Series
Bar 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 bar line chart. To do this
- Right click on the bar 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.
It is possible to show this data as a stacked bar chart and allow users to toggle between the two.
- Right click on the bar chart and Show view configuration
- Open the section Chart Layout
- Tick Show Controls
Users will then have the option to toggle between the grouped or stacked view.
To permanently set the bar chart to a stacked view, change the display type to Bar Chart (Stacked).
Increasing the space between groups
To increase the space between the bar chart groups
- Right click on the bar chart and Show view configuration
- Open the section Chart Layout
- For small spacing set Group Spacing to 0.1. Increase this value to increase the spacing.
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.