This page is for data modellers who want to display data on a screen as a bar chart.
Overview
This page will show you how to add data as bar chart to any screen. It will go through a worked example creating a bar chart to display a sum of the revenue of all companies within each industry.
Bar Charts
There are 3 types of bar charts
- Bar Chart
- Bar Chart (Horizontal)
- Bar Chart (Stacked)
To change the type of bar chart
- Right click on a chart and Show the view configuration
- Open the Basics section
- Select Bar Chart, Bar Chart (Horizontal) or Bar Chart (Stacked) under Display Type
Creating a Bar Chart
To add a Bar Chart:
- Click List Tables
- Drag and drop the desired table onto the screen. In this instance, the Companies table is dragged onto the screen.
- PhixFlow then asks how to display the data using:
- Click Bar Chart.
- The attribute picker will then appear. Drag Industry to X Attributes and TurnOver to Y Attributes.
- Right click on the chart and Show the view configuration
- Double click on the Industry attribute
- Set Aggregate Function to Sum. This is creating a sum of the TurnOver for all companies with the same industry.
Bar Chart Formatting
For more information on adding relational attributes, see Creating a Grid.
More Information
For a complete list of view properties and their functions see View.