Templates


Bar Chart Block

barchartHelp

Description

The Bar Chart block graphically depicts the distribution of data from a discrete variable. The height of each bar represents the frequency, which is either the number of data points in each category or the sum of the attribute values of a particular attribute in each category. The Bar Chart block expects a data model object as input via its InData port. Some examples of blocks that can produce a data model object as output are the Bucket, Number Holder, and the Stats Collector blocks. You must supply the names of the X and Frequency (optional) variables from the data model object to be used to construct the bar chart display. Context-sensitive pop-up menus are available on the plot for manipulating various aspects of the plot such as axis scaling; right-click on the bar chart display to access these menus.

Fixed Ports

InData

Input data port for a data model object to enter the block.

Properties Dialog Box Controls

Variables

X specifies the name of the variable from the data model object used to categorize data on the X axis. Frequency specifies the value to show on the Y axis for each category. You can choose By Count to calculate frequency as the total number of items in each category. Alternatively, you can choose By Variable to calculate frequency as the sum of a particular Variable for all items in each category.

Candidates for Design of Experiments

Factors

None

Responses

None