Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Grids and charts in PhixFlow can be formatted and styled.
Table of Contents |
---|
Grids
Grids and columns can be styled and formatted on the backing view.
Backing View > Styles Tab
Can be used to provide general styles to a particular grid.View Styles Tab
Changing the Chart Header
On the styles tab of a view property editor it is possible to change the style of the header and its components by adding a shared style to:
- Grid Header Style
- Grid Header Button Style
- Default Header Icon Style
- Grid Header Dropdown Button Style
- Default Header Dropdown Pane Style
Changing grid styles
On grids it is also possible to change the style of the following using the styles tab:
Grid Paging Style
Grid Row Style
- Grid Alternate Row Style
- Grid Row Hover Style
- Grid Column Style
Grid Column Header Style
Row Selection Style
Attribute > Formatting Rules. Can conditionally apply styles based on data values. E.g. A status attribute can appear red if its value is 'Error'
See View Attribute for
- Setting attribute column widths
- Labelling columns
- Number Formats
- Date/Time Formats
- Hiding columns
- Reordering columns
Pie Charts
Pie charts can be styled and formatted on the backing view. For more information see View.
Backing View > Chart Layout
Can be used to assign colours to particular values.
- Change the number format for the data attribute under Values Number Format
- Change the number format for the tooltip under Tooltip Number Format
Backing View > Styles Tab
- Grid Header Style
- Grid Header Button Style
- Grid Header Icon Style
- Grid Header Dropdown Button Style
- Grid Header Dropdown Pane Style
Charts
Colour Maps
Colour maps are used to apply specific colours to sets of data. This is illustrated below where the different segments on a pie chart have been given a custom colour. Colour maps can be set on pie charts, bar charts and line graphs, see Colour Map.
Legends
To change how a legend is displayed on a chart:
- Right click on a chart and Show the view configuration.
- Open the Chart Layout section.
- Change any of the following:
- Hide the legend by unticking Show Legend
- Move the legend by ticking Show Legend Below the Chart
- Hide numbers on the chart by unticking Show Values on Charts.
Axis Titles
Axis titles are only relevant to line and bar charts. Too add axis titles and style them:
- Right click on a chart and Show the view configuration.
- Open the Chart Layout section.
- Add a Horizontal Axis Title and/or a Vertical Axis Title.
- Select or add a Title Style in the field below each title.
- Change the Label Angle if required.
Axis Scales
Axis Scales are only relevant to line and bar charts. Too change and format axis scales:
- Right click on a chart and Show the view configuration.
- Open the Chart Layout section.
- Go to the section Show Vertical Axis.
- Optionally set the following:
- Logarithmic scale
- Minimum Value
- Maximum Value
- Fixed Scale
- Vertical Axis Increment
- Show Vertical Gridlines
- Vertical Axis Number Format
- Text Style
More Information
For a complete list of view properties and their functions see View.