Forms: Stream View
Stream views can be configured to customise the display of data in one or more streamsets.
Form: Stream View Details
The following fields are configured on the Advanced tab:
...
- Grid: show stream data laid out in a table.
- Pivot: show stream data laid out in a table, with data for values of one attribute broken out ('pivoted') into multiple columns.
- Line Chart (category horizontal axis): plot line, or lines, representing quantities against a horizontal axis of 'categories'. The categories are printed along the horizontal axis, ordered alphanumerically.
- Line Chart (numeric horizontal axis): plot line, or lines, representing quantities against a numerical horizontal axis.
- Line Chart (times series horizontal axis): plot line, or lines, representing quantities against a date/time value - a stream attribute of type Date or Datetime.
- Barchart: plot a quantity as a set of bars against a set of categories along the horizontal axis.
- 3D Barchart: a 3D version of the standard barchart.
- Stacked Barchart: a bar chart where multiple series/multiple attributes per category are displayed in a stacked form.
- Pie Chart: show a quantity as a pie chart, grouped by a category.
- Pie Chart: a 3D version of the standard pie chart.
- Dial Chart: a red/amber/green chart showing a single value.
If display type is a chart and the user elects to output the chart to HTML (either via a File Exporter or from a chart, PhixFlow will output the chart to HTML as a picture (.PNG).
...
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.
...
Check box to determine if this view is to be used as a Form View. When a user is entering or updating data using a form view, you can use the internal variable _form to use a value already entered in the form in the filter on a selection view. That is, the values that appear in a drop down list will be governed by values they have entered so far in the form. See selection view attributes for details of using selection views to create drop down lists.
Values governing the appearance of charts are configured in the Chart Layout tab.
The following fields apply to Pivot views:
...
The pivot column source determines how the the values that are converted to Pivot Columns are generated:
View Data | The pivot column values are read from the Column Attribute in the data being viewed. If the Label Attribute is specified, the label values corresponding to the value attribute values are used as pivot column headers. The is the simplest way to derive the pivot column values, 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 no labels are provided, they are derived from the pivot values using the formatting options set on the Column attribute.
...
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). E.g.
['20150101', '20150201', '20150301']
or
[ [ '20150101', 'January 2015'], [ '20150201', 'February 2015'], [ '20150301', 'March 2015'] ]
The expression can refer to any lookup pipe that is an input to the Stream being viewed.
If no labels are provided, they are derived from the pivot values using the formatting options set on the Column attribute.
...
Column attribute
...
Values in the Column Attribute are mapped to separate columns in the resulting view.
The formatting options on the attribute (decimal places, date/time format) can be used to automatically generate column headers corresponding to Column Attribute values.
...
When the view is displayed, the value in this Value Attribute will be displayed in the column corresponding to the value in the Column Attribute.
A Pivot View is not automatically grouped. To make this a grouped view, you should set the value attribute's aggregate function (e.g. to SUM).
...
The following fields apply to all graphs, that is, all display types other than Grid or Pivot:
...
The following fields apply only to display type: Line Chart (times series horizontal axis):
Field | Description |
---|---|
Primary Axis Unit | Units for date display along the horizontal axis. Choose a value from the drop down list. Note, however, that only as many values will be displayed as can comfortably be fitted in the space available. |
Primary Axis Format | Choose a format to display dates along the primary horizontal axis. |
Secondary Axis Unit | Units for an optional, second date display along the horizontal axis. This might be used, for example, to create a graph where the months are shown along the primary horizontal axis (Primary Axis Unit = 'Month', Primary Axis Format = 'Jan, Feb') and the years are shown along a line below this, along the secondary horizontal axis (Secondary Axis Unit = 'Year', Secondary Axis Format = 'Four digit year'). |
Secondary Axis Format | Choose a format to display dates along the secondary horizontal axis, if this is being used. |
The following fields apply only to dial charts:
Field | Description |
---|---|
Major Tick Increment | The incremental values at which major tick marks should be shown. Do not set too low for the minimum/maximum values specified otherwise there will be too many major ticks. |
Minor Tick Count | The number of tick marks between each major tick. |
First Band Colour | The colour of the first segment on the three coloured arc indicating different regions of the dial. |
Second Band Colour | The colour of the second segment on the three coloured arc indicating different regions of the dial. |
Third Band Colour | The colour of the third segment on the three coloured arc indicating different regions of the dial. |
First Threshold Value | The value at which the first band colour changes to the second band colour. |
Second Threshold Value | The value at which the second band colour changes to the third band colour. |
Dial Style | Arc or Circular. |
The following fields are configured through separate tabs on the form:
Field | Description |
---|---|
View Attributes | See the Stream View Attribute Details form. |
Menu | This tab shows the Lists and Buttons which holds Stream Actions that can be applied when Stream Item Details are accessed from this view. Lists can hold Buttons and other Lists creating multi level menu. There are three ways to add Lists and Buttons:
You can add new Lists and Button to the existing List by following the same steps. See the Action Button Details form for details of each Action Button. |
Refresh Actions | This tab shows the 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 Stream's Actions tab and drag actions into this tab. The stream does not have to be the parent of this StreamView. |
Filters | This tab shows the list of Filters which will be available in the drop down list of filters accessible from the filter icon in the header of the StreamView. There are two ways to add a Filter to this list:
|
User Groups | A list of user groups associated with the Stream View. |
Description | Description of the stream view. |
Form Icons
The form provides the standard form icons.
See Also
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|