Bar Graph
Introduction
The Bar Graph displays data as a bar chart. It can accept an entryset with multiple attributes and display them as multiple series in the graph. The Bar Graph supports drilldown selection, allowing you to select a bar in the chart and output its underlying data as a single-entry entryset.
Displaying Multiple Bars in the Bar Graph
The Bar Graph has a "Set Entryset" input connector that accepts entrysets with at least two attributes. The first attribute in this entryset labels each point on the x-axis in the order of the entries. This attribute must convert to text. Each additional attribute must contain only numbers. Each additional attribute per entry draws another bar at each x-axis point on the graph. For example, an entry (7/24/05, 34,52) will draw two bars at the point labeled 7/24/05 with heights 34 and 52 respectively.
Viewer Control:
Drilldown Selection
- Click a bar in the viewer to create an entryset with two attributes that contains one entry matching the selected data. This entryset is sent to the "Selected Entryset" output connector. The first attribute of the output entryset's name is obtained from the name of the first attribute in the input entryset. The name of the second attribute is obtained from the series name of the selected bar. The single entry's values are, for the first attribute, the x-axis label that the bar corresponds to, and, for the second attribute, the value of the series at that label point (the height of the bar).
- Click on the background of the graph to deselect all of the bars. This fills the "Selected Entryset" output connector with the entire original entryset.
Property Panel:
Preview
Displays how the newly configured graph will appear in the Viewer
Bar Graph Axes
X-Axis
- Title
- The title displayed along the x-axis
- Size
- The font size of the title along the x-axis
- Show Axis
- Toggles whether the title and labels along the x-axis are displayed
Labels
- Size
- The text size of the x-axis labels.
- Angle
- The angle at which the x-axis labels are drawn.
- Stagger Labels
- Toggles whether the x-axis labels are drawn with every other one staggered.
Y-Axis
- Title
- The title displayed along the y-axis
- Size
- The font size of the title along the y-axis
Axis Tick Marks / Labels
- Show Axis
- Toggles whether the title and labels along the y-axis are displayed
- Show Tick Marks
- Toggles whether tick marks are drawn on the y-axis.
- Show Labels
- Toggles whether the value labels are displayed along the y-axis
- Stagger Labels
- Toggles whether the labels are drawn with every other one staggered.
- Size
- The text size of the labels.
- Angle
- The angle at which the labels are drawn.
Axis Scale
- Plot Values in Reverse Order
- Toggles whether the y values are plotted top to bottom or bottom to top
- Ignore Invalid Input Data
- If this is selected, cells corresponding to y values in the incoming entryset that contain empty or invalid data should be displayed with a value of 0. If this is not selected, entrysets with invalid or missing data will not be displayed at all.
- Show Gridlines
- Toggles whether to show the major horizontal gridlines on the graph.
- Decimals
- The number of digits displayed after the decimal point in the labels.
- Format
- The style in which the numbers in the labels are formatted.
- Auto Scale
- Toggles whether or not the range of the y-axis is scaled automatically to fit the bars
- Min
- Specifies the minimum value the y-axis will display
- Max
- Specifies the maximum value the y-axis will display
- Step
- The increment between each label on the axis.
Bar Graph General
General Formatting
- Chart Title
- The title displayed along the top of the graph
- Size
- The font size used to display the title
- Display Horizontal
- Toggles whether the bars are displayed vertically or horizontally
- Color Scheme
- Selects the color scheme used to display the chart
- 3D
- Toggles the 3D view of the graph
- Stacked
- Toggles whether bars from multiple series are displayed next to each other or stacked on top of each other
Legend
- Show Legend
- Toggles the display of a legend identifying the bars in the graph.
- Legend Position
- Determines the position of the legend on the graph
See Also:
Input Menu:
Set Entryset
Sets the data depicted as the bars in the graph. Each entry in the entryset corresponds to a bar or group of bars along the x-axis. The first attribute of each entry determines the bar's x-axis point while any additional attributes represent the height of a bar associated with that point on the x-axis.
Accepted Datatypes:
- Entryset
- An entryset with at least two attributes. The first attribute must contain text values and the other attributes must contain numeric values.
Triggered Outputs:
- Output Message:
- Selected Entryset
Output Menu:
Selected Entryset
Gets an entryset containing a two-attribute entry with values corresponding to the selected bar.
Output Datatype:
- Entryset
- A subset of the Bar Graph's incoming entryset.
Triggered By:
- Input Message:
- Set Entryset
- Action:
- Selecting a bar in the Viewer.