Area charts are used to represent the change in one or more data quantities over time. Similar to line charts, the data points in area charts are plotted and connected by line segments, which display the magnitude of a value at different times. Unlike line charts, the area charts have the area between the line and x-axis filled with a color.
In this video tutorial, we will show you how to create each type of area chart in Wyn Enterprise.
Wyn Enterprise supports the following types of area charts.
Area Chart : It is used to depict the data series as colored regions that help in comparing the values of multiple series for the same data point. This chart shows trends over time.
Range Area Chart : It is similar to an area chart in which the colored regions represent the area between the minimum and maximum values for each category. This chart plots two values for each category.
Stacked Area Chart : It is used to depict data series as stacked regions with different colors that help in performing comparisons between multiple series for the same data point. This chart shows the trend of the contribution of each value over time or other categorical data.
Percent Stacked Area Chart : It is used to depict the series of data points with positive and negative values shown over time to reveal the values of multiple series for the same data point. This chart shows the percentage that each value contributes over time or other categorical data.
From the Dashboard Toolbox, open the Data Visualization node and drag-drop the Area Chart scenario onto the design area.
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 'TechnologyDataset' 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.
To format the data attributes and control the display of data, you can perform a variety of operations such as renaming, modifying data format and display unit, creating a hierarchy field, applying an aggregation method, etc.
For more information about these operations, see Data Attributes.
In the following chart scenario, count aggregation is applied to the 'Ticket' attribute to show the count of tickets.
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 scenarios, sorting data, reference lines, trend lines, etc. These operations are available in the Action Bar corresponding to each scenario in the designer.
For more information, see Data Analysis and Interactivity in Dashboards.
In the following chart scenario, the filter is applied to show data only for the selected months, that is, Jan, Feb, Mar, Apr, May, June, and July.
Use the properties in the Inspector tab of the scenario to customize its appearance by adding a border, modifying data labels, changing chart style, renaming chart title, setting corner radius, etc.
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, Bottom, or Top. 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 Left or Right.
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
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 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.
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, if you want to analyze the number of tickets by month and ticket priorities, you need to bind the Axis (Category) to multiple dimensions, that is, Month and Priority in the data binding area as shown.
Change Line Style
By default, Wyn Dashboards use straight lines to connect the data points in an area chart. To change the default line style in the chart, use the Line Style property and set it to Spline or Step.