- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
-
Working with Dashboards
- Dashboard Designer
- Selecting a Dataset
- Data Attributes
- Dashboard Scenarios
- Dashboard Templates
- Component Templates
- 3D Scene
- Explorer
- Visualization Wizard
- Data Analysis and Interactivity
- Dashboard Appearance
- Preview Dashboard
- Export Dashboard
- Dashboard Lite Viewer
- Using Dashboard Designer
- Animating Dashboard Components
- Document Binder
- Dashboard Insights
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Bar Chart
Bar charts compare categorical data through horizontal bars, where the length of each bar represents the value of the corresponding category. In bar charts, categories are organized along the vertical axis and data values along the horizontal axis. The bar charts are preferred where long category titles are difficult to fit on an x-axis. For example, sales of various product categories can be presented through a bar chart.
In this video, we will show you how to create different types of bar charts available in Wyn Enterprise.
Wyn Enterprise supports the following types of bar charts.
Bar Chart : It is used to compare categorical data through the horizontal bars, where the length of each bar represents the value of the corresponding category.
Range Bar Chart : It is similar to a bar chart where each bar represents the difference between the minimum and maximum values for the categories. This chart plots two values for each category.
Stacked Bar Chart : It is used to display the relationship of each item or category to the whole in two-dimensional rectangles.
Percent Stacked Bar Chart : It is used to display the comparisons of percentage that each of the values contribute to the total across different categories.
Bar Chart in Polar Coordinates : Another way to plot bar charts is plotting the bars in the polar coordinate system - the categories and groups are plotted as bars of different length and color.
Stacked Bar Chart in Polar Coordinates : It is similar to the bar chart in polar coordinates, the difference being - the stacked bars are arranged such that it represents a part in relation to the whole, among the categories within various groups.
Radial Stacked Bar Chart : It is similar to the stacked bar chart, the difference being that this chart is plotted on a polar coordinate system, while the stacked bar chart is plotted on the cartesian coordinate system.
Note: When the Reversed property for the value axis of the radial stacked bar chart is set to True, then the value axis is reversed. For details refer to Reverse Value Axis Position under Customize Appearance defined below. By default, the reversed property is set to False.
You can also select the Stacking property of the radial stacked bar chart as Stacked or Clustered, in the Chart Style.
Design a Bar Chart in Wyn Enterprise
From the Dashboard Toolbox, open the Data Visualization node and drag-drop the Bar Chart scenario onto the design area.
Bind Dataset to Chart Scenario
With the scenario selected, from the Data Binding tab, select the dataset. Once the dataset is successfully loaded in the designer, the data binding panel automatically expands and displays the data attributes available in the dataset.
The following image shows the chart scenario bound to the 'ProcessTempsDataset' dataset.
On dragging and dropping the data attributes to the data binding area of the scenario, the chart is plotted accordingly, with a default chart title on the design area.
Format Data Attributes
You can format the data attributes in a dataset by performing a variety of operations on them such as rename a data attribute, modify the data format, change the display unit, create a hierarchy field, apply an aggregation method, etc. Using these operations, you can control the display of data attributes in a scenario.
For more information about these operations, see Data Attributes.
In the following chart scenario, average aggregation is applied to temperature attribute to show the average temperature.
Analyze Data
Wyn Dashboards scenarios support rich data analysis and exploration capabilities that can help analyze massive amounts of information and make data-driven decisions. For example, adding filters to the scenarios, sorting data, adding reference lines, trend lines, Insight, etc. Note that you can apply all these operations using the Action Bar corresponding to each scenario in the designer.
For more information, see Data Analysis and Interactivity in Dashboards.
The following image shows filtered data in a chart scenario for the following heat types, that is, steam, clean up, and space heat.
The bar chart supports insights, and it has an Insight option in the action menu that shows insight without using the InsightIQ control. For details refer to the topic Dashboard Insights.
Customize Appearance
You can customize the default chart appearance by setting properties in the Inspector tab of the scenario such as adding a border, modifying data labels, setting chart style, renaming chart title, setting corner radius, etc.
General Settings
Change Axis Scale
To customize the scale values for the Value axis of a chart scenario, select the axis and set the Max Value, Min Value, or Interval properties.
Reverse Value Axis Position
To reverse the direction of the Value Axis set the Reversed property to True. By default, this property is set as False.
Change Axis Position
Axis (Category): To change the position of the Category Axis, use the Axis Position property dropdown to select an option from Crosses, Left, or Right. When Crosses is selected, Axis Crosses property appears below the Axis Position property where you can enter a value at which the Category Axis crosses the Value Axis.
Value Axis: To change the position of the Value Axis, use the Axis Position property dropdown to select an option from Top or Bottom.
Show Axis Lines
To hide the axis lines of the Value Axis or the Category Axis, set the Show Axis Line property to False. By default, this property is set as True. You can also specify the width, color, and type (solid or dashed) of the axis lines using the Axis Line Width, Axis Line Color, and Axis Line Type properties.
Show Grid Lines
c
To display horizontal and vertical grid lines in a chart scenario, set the Show Grid Lines property of the Value Axis and Axis (Category) to True. By default, this property is set as False. You can also specify the width, color, and type (solid or dashed) of the grid lines by using the Grid Line Width, Grid Line Color, and Grid Line Type properties.
Format Axis Titles
You can show or hide axis titles for a chart by using the Show Title property for the Value and Category axes. When you set Show Title property to 'True', the axis titles are enabled. Wyn Dashboards set data attributes' names as the axis titles. You can provide a custom name to the axis title by renaming the attributes in the data binding area. For more information on renaming data attributes, see the topic on Rename an Attribute.
Align Category Labels
You can set the alignment of the text displayed on the category axis as per the requirement by using the Label Alignment property.
The default alignment is Right.
It has three options- Left, Right, and Center. Select the option Left, to left align the text of the labels on the category axis. Select the option Right, to right align the text of the labels on the category axis. Select the option Center, to center align the text of the labels on the category axis.
Note: Label Alignment property is available only for Bar Charts, Range Bar charts, Stacked Bar charts, and Percentage Stacked Bar charts.
Format Data Labels
You can show or hide data labels in a chart using the Show Data Label property. When you set the Show Data Label property to True, the data labels are enabled. You can customize the data label's appearance using the Same Color As Legend and Data Label Font Setting properties. When you set the Same Color As Legend property to True, the color of the data labels changes to the same as the data points. However, Data Label Font Setting allows you to set font style and color as per your choice.
Data Labels - Display Pattern
The bar chart supports the line break (, \n()) in the data label, and you can add a line break between Category, Series, and Value, by using the Display Pattern property for the data labels. If you hide some parts of the label, like the value, series, and category, the part will be removed from the pattern, and the related connector (the prefix, \n ()) will also be removed.
By default, the display pattern selected is Category, Series(Value) as shown below.
You can select any pattern from the dropdown list.
Note: The display patterns displayed in the dropdown list here, apply to the following bar charts: Bar Chart, Range Bar Chart, and Stacked Bar Chart.
Preview the chart, the data labels will be shown as per the display pattern selected in the designer.
Please note, in the case of the Percentage Stacked Bar Chart, the following display patterns are displayed in the dropdown list.
In the case of the Radial Stacked Bar Chart, the following display patterns are displayed in the dropdown list.
Advanced Settings
Change Radius
The Radius property on the Bar in Polar Coordinates, Stacked Bar in Polar Coordinates, and Radial Stacked Bar charts allow you to change the inner and outer radius of the charts. Locate the Radius property under the Chart Style section of the Inspector Panel and use the slider or input boxes to set the minimum (inner) and maximum (outer) values of the radius of the chart. These values are represented as percentages, ranging from 0% to 100%. By adjusting the radius, you can control the size of the chart relative to its component container. The default value of the outer radius for these charts is 75%.
Analyze Multivariate Data
In complex Chart scenarios, you may want to analyze multivariate data. With Wyn Dashboards, you can easily establish potential relationships and correlations between multiple data attributes for such analysis.
For example, you want to analyze the number of tickets in a chart by ticket types and priorities as shown in the following image. To achieve this, you need to bind the Axis (Category) to multiple dimensions i.e. TicketType and Priority in the data binding area.
Set Corner Radius
Round corners make the charts look more modern and appealing. For rounded corners, you need to specify the value of the radius in the Corner Radius property. The Corner Radius property lets you change the default square-shaped corners in a chart to rounded corners. With the release version v7.0, the Corner Radius property has been enhanced and you can now set the radius of each corner (top-left, top-right, bottom-left, and bottom-right) of the bar plots as shown in the image below.
Note: The Corner Radius property is applicable to the Bar, Range Bar, Stack Bar, Bar In Polar, and Stack Bar In Polar charts only.
Add Series Total
To improve your chart’s readability, you can display the total values for each category in a series using the Show Series Total property. On setting this property to True, the data values for each category are summed up and displayed as a separate data label floating on top of the chart as shown. You can also customize the appearance of the total’s label by changing its background color, position, font size, display unit, etc.
Note: This feature is only available in the bar charts, stacked bar charts, bar charts in polar coordinates, and stacked bar charts in polar coordinates.