[]
        
(Showing Draft Content)

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 Bar Chart Icon: It is used to compare categorical data through the horizontal bars, where the length of each bar represents the value of the corresponding category.


Bar Chart


Range Bar Chart 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.


Bar Chart


Stacked Bar Chart Stacked Bar Chart Icon: It is used to display the relationship of each item or category to the whole in two-dimensional rectangles.


Stacked Bar Chart


Percent Stacked Bar Chart Percent Stacked Bar Chart Icon: It is used to display the comparisons of percentage that each of the values contribute to the total across different categories.


Percent Stacked Bar Chart


Bar Chart in Polar Coordinates Bar chart in polar coordinates icon: 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.


Bar Chart in Polar Coordinates


Stacked Bar Chart in Polar Coordinates 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.


Stacked Bar Chart in Polar Coordinates


Radial Stacked Bar Chart Radial Stacked Bar Chart Icon: 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.


Radial Stacked Bar Chart

  • Reversed Property

    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.

    Example

    Reversed-Property


  • Stacking Property

    You can select the Stacking property of the radial stacked bar chart as Stacked or Clustered, in the Chart Style.

    Example

    Stacking-Property


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.


Adding a chart scenario from the Dashboard Toolbox

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.


Adding a dataset to chart scenario


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.


Chart Scenario with bound attributes

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.


Formatting fields in a chart

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.

New Bar chart Action Bar

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

  1. 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.

    Changing Axis Scale

  2. 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.

    Reverse Value Axis Position

  3. 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.

      Change Axis Position of Category 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.

      Change Axis Position of Value Axis

  4. 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 Axis Lines

  5. 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.

    Show Grid Lines

  6. 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.

    Show Title- Axis Category


  7. 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.

    Align Category Labels


    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.


    Category Text Alignment

    Note: Label Alignment property is available only for Bar Charts, Range Bar charts, Stacked Bar charts, and Percentage Stacked Bar charts.

  8. 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. Please note that the Data Label Font Setting works only when Same Color As Legend is set to 'False'.

    Bar Chart_Data Lables_New


    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.

    display pattern default


    You can select any pattern from the dropdown list.

    Display Pattern_Bar Chart

    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.

    Bar Chart_Preview Data Lables

    Please note, in the case of the Percentage Stacked Bar Chart, the following display patterns are displayed in the dropdown list.

    percentage stacked Bar chart_display pattern

    In the case of the Radial Stacked Bar Chart, the following display patterns are displayed in the dropdown list.

    radial stacked bar chart option for dsiplay pattern

Advanced Settings

  1. Add Click Action

    Use the Click Action property to trigger specific dashboard commands like showing or hiding other dashboard scenarios. From the Interaction section of the Inspector Panel, search the Click Action property and choose a trigger command option from the following:

    1. None: To disable any interaction on click.

    2. Show Tooltip: To display the tooltip on click action.

    3. Keep: To filter the data view by applying a condition on the data points.

    4. Exclude: To remove or hide the selected data points from the current view.

    5. Drill Down: To display more detailed information using the Wyn Drill Down feature.

    6. Jump: To redirect to another dashboard, report, or external URL. See the Jump To article for more information.

    7. Command: To trigger specific dashboard commands like show, hide, or switch. Click + Add to access the Command Settings popup and select a command from the Command dropdown.

      1. Show: To display the scenario on click.

        CommandSetting-Show

      2. Hide: To hide the scenario on click.

        CommandSetting-hide

      3. Toggle: To toggle the selected scenario on click action.

      4. Switch Page: To switch pages on click.

        CommandSetting-switchPage

      5. Switch Tab: To switch the tab on click.

        CommandSetting-switchTab

      6. 3D Scene Custom Script: To pass the selected data point as a parameter to the 3D scene script. This script creates specific UI effects in 3D scenes such as highlighting objects or changing the camera angle.

      7. Drill Down: To drill down detailed information on the selected data point. See the Drill Down article for more details.

        CommandSetting-3dScene

      8. Jump: To create a redirection to another dashboard, report, or external URL. See the Jump To article for more information.

        CommandSetting-jump

      9. Show/Hide Combined Map Layer: To show or hide the layer of combined maps.es/067f30cc-d7f0-4325-a871-a5a8077f4d35/RadiusProperty-BarCharts.9a1733.png)


  2. 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.


    Visualizing multivariate data

  3. 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. 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.


    Setting the radius for rounded corners in a chart

    Note: The Corner Radius property is applicable to the Bar, Range Bar, Stack Bar, Bar In Polar, and Stack Bar In Polar charts only.

  4. 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.


    Displaying series total in a bar chart

    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.