Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
View Attributes
A list of attributes displayed to show the list of attributes for the streamIn the list:
to edit the attributeStream AttributesFilters
The list of filters which will be available to users in the drop-down list of filters on the view.
There are two ways to add a filter to this list:
- Click on the filter button in this section
- A popup window will appear listing all the available filters on the parent stream
- Drag a filter from this popup into the list
- Go to the parent stream's filters and drag filters into this list
- see Filter
Access Permissions
For details about how to control access to a view, see Common Properties → Access Permissions.
Advanced
Row Selection Style
Available when Display Type is Grid.
- Make Pivot Value
- Make Pivot Column
- Make Pivot Row
- Make Pivot Label
- Make Pivot Row Total
When designing a chart, drag attributes from this list onto the chart builder in the dashboard.
Refresh Actions
A list of Refresh Actions which are all the actions that, following their execution, will cause this view to be refreshed.
To add a Refresh Action go to a the Actions tab and drag actions into this tab. The stream does not have to be the parent of this view.
Drop Targets
A list of the Drop Targets that this view will contain. To add a drop target, click on the + button at the top of the grid.
For each Drop Target you set the following fields:
Menu Items
OWN PAGE??
A list of the buttons, menus and sub-menus that will be presented on this view - which buttons are available to users depends on whether they have permissions to run these actions.
Only actions that belong to the parent stream can be added to a view.
There are three ways to add Lists and Buttons:
- Click on the Actions icon at the top of the grid.
- A popup window will appear listing all the available actions on the parent stream
- Drag an action from this popup form onto the grid
- If you drop onto an existing button you will be asked if you want to:
- create a new button, or
- create a list which will hold the new button and the button you dropped the new action on to
- If you drop onto an existing list, the dragged action will be added to the list
- Go to the Stream Details Actions tab and drag actions into this tab
- Use the '+' icon at the top of the grid
- You can decide if you want to create a button, menu or sub-menu.
For each button you set the following fields:
Available for sub-menus.
todo-fiona more info
An Excel template can be linked to the view to specify the format the chart data should be exported in.
The location that excel templates must be saved to is specified in the System Configuration.
Style Settings
Options for styling grids,
see Style.
Chart LayoutAvailable when Type is one of the chart view options. PhixFlow only shows options that are relevant for the type of chart selected.
To configure attributes to display as a chart:
- Drag the stream or stream view onto a dashboard.
- Select the chart option you want.
- Select the attributes you want to use on the chart.
- PhixFlow creates the stream view and the dashboard displays a chart builder.
- Drag attributes from the view properties onto the chart builder boxes.
- Series and Series (right axis)
- on the vertical axis: Y attributes and Y attributes (right axis)
- on the horizontal :X axis
- Label attribute
- For a horizontal bar chart or line chart, the chart builder boxes are:
- Series, Y Attributes , X Attributes, Label Attributes
You can display up to 6
Available when Show Legend is ticked for charts with left axis only.
Available when Display Type is Barchart.
Available when Display Type is Barchart.
Available when Display Type is Barchart.
Specify a value between 0 and 1 to define custom spacing between bar groups.Chart Axis Options
Left or right axis
The label to appear below the axis.
Available when Show Horizontal/Vertical Axis is ticked.
Select or add a style with properties to specify the format of the axis title text.
The orientation of the values displayed along the horizontal axis. Select a value from the drop-down menu.
Force Horizontal Axis Ticks
-
Minimum Value
Only for
Barchart (horizontal)
Minimum Value
For charts except
Barchart (horizontal)
Specify a minimum value to show on the axis. If the data includes lower values, they will not be plotted.
If no minimum is specified, PhixFlow scales the chart from the lowest data point.
Compares min and max and then it compares to data and says I don't need it
If over the range they don't have an effect unless you tick fixed scale
If its smaller, you are chopping off those parts of the graph top and bottom
It plots everything but then the top is chopped off - so the bar will go to the top or the line will disappear off or appear on
Only for
Barchart (horizontal)
For charts except
Barchart (horizontal
Specify a maximum value to show on the axis. If the data includes higher values, they will not be plotted.
If no maximum is specified, PhixFlow scales the chart up to the highest data point.
Fixed Scale
Only for
Barchart (horizontal)
Fixed Scale
For charts except
Barchart (horizontal
Left axis you can choose,
Right axis cannot be adjusted to the data.... For the right axis it will use the min and max, whatever the data is doing (so it is effectively always fixed).
Right axis is different
Available when the attribute selected for the axis is a date or date/time.
Select or add a Date or Date/Time format to use for the value labels.
Available when the attribute selected for the axis is a number.
Select or add a Number Format for for the axis labels.
Chart Layout: Line Chart (time)
Available when Type Line Chart (time). These apply to the horizontal axis, which in this case is a time series:
For pivot views, the property tab includes the following settings.
This controls how the field given the role Pivot Column will be used to generate columns in the pivot stream. Choose from one of:
- View Data - the pivot columns are generated directly from the data in the Pivot Column field. If a field has been given the role Pivot Label, the label values corresponding to values in the Pivot Column field will be used as pivot column headers. The is the simplest way to generate the pivot columns, but does not allow any control of the order of values, or the ability to handle missing values e.g. when generating standard reports
Expression - the pivot column values are the result of an expression.
If Pivot Column Source == Expression, this expression must return either a list of values or a list of pairs of values (the values and corresponding labels).
The expression can refer to any lookup pipe that is an input to the parent stream of the view.
E.g.
Code Block |
---|
['20150101', '20150201', '20150301'] |
In this example the resulting view displays three pivot columns.
The pivot view only displays data where the value of the pivot column attribute equals one of the three quoted values - data that does not match any of the pivot column values is ignored.
The pivot column labels are generated from the pivot values using the formatting rules of the Pivot Column field. In particular, the Label expression can be used to generate formatted label values automatically. If no formatting or Label expression is provided, a default label is generated. This is the recommended way of formatting column labels.
E.g.
Code Block |
---|
[['20150101', 'January 2015'], ['20150201', 'February 2015'], ['20150301', 'March 2015']] |
In the second example, the same data is displayed, but the column headers are provided in the second values for each pivot column.
This method of setting column labels is not recommended, and is provided for compatibility with existing pivot views.
This is the maximum number of pivot columns that can be displayed. If this is blank, the system-wide default in System Configuration is used.
The stream view attributes for a pivot table must have the following roles set.
Todo-Fiona I can't see where to set the roles
To configure a pivot view, add attributes and set the role of each attribute according to these rules.
Each attribute must be assigned to one of these roles.
This field will be used to generate columns in the pivot table. See Configuring Pivot Details on the View below.
Formatting of the column headings will be controlled by the formatting options set on this view attribute.
A Pivot view must have one and only one Pivot Column attribute.
This field will be used to generate the rows of the pivot.
A Pivot View can have any number of Pivot Row attributes.
If Pivot Column Source == View Data, this attribute provides the pivot column headings. In most cases, the number of values for the pivot label should be exactly the same as the number of values for the pivot column.
A Pivot View can have at most one Pivot Column attribute. See Configuring Pivot Details on the View below.
The values in this field will be used to generate the data values in the pivot.
You must apply an aggregate function (Table Function) to this attribute - to provide the sum, max, min, etc. of these values for each row and column.
A Pivot view must have one and only one Pivot Value attribute.
Each Pivot Row Total attribute generates a value for each row calculated as an aggregate of the individual pivot column values.
The aggregate function can be any single-valued Aggregate Function (Sum, Minimum, Maximum, Average, Count).
A Pivot View can have any number of Pivot Row Total attributes.
Grid View: How to Configure Coloured Rows
The colours of rows in grid views can be set by creating an attribute called gridRowColour
, and adding this to the view. This value will not be shown in the grid.
The value of this attribute must evaluate to either a hexadecimal value representing a colour or to the lower case name of one of the basic HTML colours. Visit www.w3schools.com/tags/ref_colorpicker.asp to see how hexadecimal values correspond to real colours. The table below lists the basic HTML colour names:
You are recommended to avoid dark colours as they make data in the grid very hard to read.
View Context Menu
Opens a list of all of the attributes (column headers) for this stream view. Attributes formatted in italics are present in the stream but are hidden in the grid.
To change whether an attribute is hidden or visible, right-click the attribute and select Show this column or Hide this column.