Search results

Stacked Area Chart

The Stacked Area Chart allows you to compare multiple measures by displaying filled curves that are stacked vertically, one after the other.

Stacked Area Chart

How to configure the table data to stacked area chart?

A Stacked Area Chart requires a minimum of 1 value element and 1 column element to be showcased. The measure or expression field that you wish to analyze can be placed in the Y Values block. The dimension that you want to use to categorize the measure can be placed in the Columns block. If you want to categorize based on a series, you can also place the respective dimension in the Rows block.

The following steps explain how to configure data for a stacked area chart:

  1. Please drag and drop the stacked area chart onto the canvas, then resize it to your desired size.

  2. Click the Data Source button in the configuration panel.

  3. Click the CREATE NEW button to initiate a new connection from the connection type panel.

  4. In the connection type panel, click on any one of the listed connection type buttons (here, the Microsoft SQL Connection type is selected for demonstration).

  5. In the NEW DATA SOURCE configuration panel, fill in the connection type and related details. Then, click the Connect button.

  6. Drag your preferred table or view from the left pane in the data design view, then click the Save button.

  7. Click the Properties button in the configuration panel to open the property pane. Now, switch to the ASSIGN DATA tab.

  8. The data tab will be opened, displaying the available measures and dimensions from the connected data source.

  9. You can add the necessary data from the Measures and Dimensions into the designated field.

Adding Value(s)

You can add more than one Measures into the Y Values field by dragging and dropping the required measure.

Click the Settings option to change the name by using the Rename option and selecting the required summary type from the available summary types shown in Settings.

Filtering data

You can filter the data that is displayed in the funnel chart by using a filter. For more details, refer to the filter.

Adding Columns

You can add more than one value into Columns field.

The stacked area chart will be rendered like this.

You have the ability to modify the settings.

Renaming fields

The field names that have been configured can be edited by using the Rename option provided in the settings menu.

Sorting data

You can sort the dimension data using the Sort option under the Settings menu list. To apply sorting to the data, refer to the Sort.

Filtering data

You can apply filters by selecting the “Filters” option in settings. For more details, refer to the filter.

To view all records, click on Show All Records.

Similarly you can add the Measures and Expression Columns into column field.

Adding Rows

You can drag and drop the Dimension into the Rows field.

If necessary, you can apply a filter and sort option to the rows field.

This will render a stacked area chart in a series.

How to format stacked area chart?

You can format the stacked area chart to better illustrate the view you require through the settings available in the Properties tab.

To configure data into a stacked area chart, follow these steps:

  1. Please drag and drop the stacked area chart onto the canvas and resize it to your desired size.

  2. Configure the data for the stacked area chart.

  3. Direct your attention to the stacked area chart and click on the widget settings.

The property window will be opened.

You can view the list of properties that are available for the widget with the default value.

General Settings

Name

This feature allows you to change the title for this stacked area chart widget.

Subtitle

This widget allows you to provide the subtitle for the stacked area chart.

Description

This allows you to provide a description for this stacked area chart widget.

Basic Settings

Show Tooltip

This option allows you to toggle the visibility of tooltip in a chart.

Enable Animation

It animates the measure values when you toggle the Enable Animation.

Show Value Labels

This feature allows you to switch the visibility of value labels.

If you disable the Show Value Labels properties, the dependent properties, which are color, Value label position, Value label rotation and Value label suffix will be hidden.

Value Label Color

This allows you to customize the color of the value label’s.

Value Label Position

This option enables you to personalize the position of the value label in a chart. By default, it is set to ‘Auto,’ therefore the label position for the stacked area chart will be set to Middle.

Value Label Rotation

This allows you to define the rotation angle for displaying the value labels.

Legend Settings

Show Legend

A legend is a text used to describe the data plotted. This allows you to toggle the visibility of the legend in the chart and also change the legend text position (selecting through a combo box).

Enabling the option of Custom Legend Text allows you to define custom text (using the text area) to display for each legend series (selected via the combo box) on the chart.

Legend Interactivity

The legend interactivity option on the chart allows you to control the behavior of the chart legends. This option enables you to make the chart legends non-clickable, which can be particularly useful in situations where you do not want users to hide or show series data by clicking on the legend. This feature is also helpful when displaying critical pieces of data that should always be present for accuracy and context.

Disabling the Interactivity feature in the Legend Settings category prevents you from clicking on the legends.

Enabling the Interactivity feature in the Legend Settings category allows you to click on the legends.

Legend Label Color

You are able to change the title and label colors of the chart legend.

Legend Position

A legend is a text used to describe the plotted data. This option allows you to position the legend on the Left, Right, Top, and Bottom.

Legend Alignment

Legend Alignment enables you to control how the legend is positioned within its allocated space. For detailed guidance, refer to the Legend Alignment section.

Legend Shape

This allows you to change the shape of the legend.

Circle

This option allows you to change the shape of the legend to a Circle.

Series Type

This option enables you to modify the shape of the legend in a Series.

Legend Title

This allows you to add the legend title for the chart, which will be reflected with the Show Legend.

Text Overflow

This option allows you to customize the legend text based on the value of the Text Width property.

None

This option allows you to render legend items without wrapping or trimming.

Trim

This option allows you to trim the legend items if their legend exceeds the value of Text Width.

Wrap

This option enables you to wrap legend items based on the value of Text Width.

Text Width

This option allows you to set the maximum width for the Legend Items, and it is applicable only if text-overflow is set as Trim or Wrap.

If you uncheck the Show Legend property in the property panel, the dependent properties, which are Legend color, Legend position, customization button and Legend title, are also hidden.

NOTE: For a single series, the Legend will not be visible.

Axis Settings

This section allows you to customize the axis settings in the chart.

Title color

This allows you to customize the color of the axis title.

Label color

This feature enables you to customize the color of the axis label.

Show Category Axis

This allows you to enable the visibility of the Category Axis.

If you disable the Show Category Axis option, dependencies properties, which are Show axis title, Axis title text, Trim overflow mode, Trim axis labels, Label Rotation and Auto Interval, option will be hidden.

Category Axis Title

This feature allows you to edit the title of the Category Axis for the chart. The edited title will be reflected as the name of the x-axis on the chart.

If we uncheck the Show Axis Title property, the Axis title text box property will be hidden.

Label overflow mode

This allows you to manage the display mode of the overlapping labels in the Category Axis.

Trim

This option trims the end of the overlapping label on the axis.

Hide

This option hides the overlapping label on the axis.

Trim Axis Labels

This option allows you to trim the axis labels based on the value of the Maximum Label Width property.

Label Maximum Width

This option allows you to set a maximum width for the axis labels, and it can also be customized when the trim axis label option is enabled.

Category Axis Label Rotation

This feature enables you to specify the rotation angle for the category axis labels to be displayed.

Auto Interval and Interval

By default, the Auto Interval property is enabled. The Auto Interval property is used to set automatic intervals based on the number of data points for category axis labels. If the user wants to customize the interval, they need to disable the auto intervals and set the required interval.

Show Primary Value Axis

This allows you to enable the Primary Value Axis for the chart.

If you disable the Show Primary Axis option, dependencies properties, which are Axis title, Axis title text, Axis type and Axis Format properties will be hidden.

Primary Value Axis Title

This allows you to edit the title of the Primary Value Axis, which will be reflected in the y-axis name of the chart.

Inverse Axis

By default, the chart axis shows positive values at the top and negative values at the bottom. However, there are times when we need to invert the axis and display the negative values at the top and positive values at the bottom. For example, when we bind temperature data to the chart and want to display the negative values at the top, we can utilize this feature.

When this property is enabled, the chart will display negative values at the top and positive values at the bottom.

Axis Range Settings

This allows you to manually set the Minimum, Maximum, and Interval values of primary value axis through the Axis Range Settings dialog.

It will be reflected in the primary value axis of the chart.

Parameter Support in Axis range:

This allows you to dynamically set the minimum, maximum, and interval values of the primary value axis through the Axis Range Settings dialog by using the dashboard parameter values. Only number-type dashboard parameter values are allowed in the axis range properties. You can create multiple types of dashboard parameters.

  1. Single parameter value.
  2. Range parameter value.
  3. Data source field based parameter values.

For more details about dashboard parameter, refer to the Dashboard parameter documentation.

Single Parameter Value:

A single value is stored in this type of parameter.

  1. Create a dashboard parameter in numeric format as shown below.

Click on the axis range settings dialog and input @ in any textbox (minimum, maximum, and interval). Choose the parameter value (Only number type parameter values are allowed).

The parameter value is now reflected in the chart axis.

Range Parameter Value:

If you want to set the same ranges in multiple cases, create the range type parameter value. This parameter type has the start and end values.

  1. Create a parameter of type range.

  2. Click the axis range settings dialog and enter @ in any textbox(minimum, maximum, and interval). The range parameter is split into start and end parameters. First textbox value is stored in the start parameter, and the second textbox value is stored in the end parameter. Select the parameter value (Number type parameter values only allowed).

  3. The value of the parameter is reflected in the axis of the chart.

Data Source Field Based Parameter Value:

  1. Create a parameter in the data source type, where you can choose any field. The value of the parameter will be based on the selected field value.

  2. Click on the axis range settings dialog and enter @ in each textbox (minimum, maximum, and interval). Then, select the parameter value.

  3. The value of the parameter is reflected on the chart axis.

Grid Line

Primary value Axis

This allows you to enable the Primary Value Axis gridlines for the stacked area chart.

Category Axis**

This allows you to enable the Category axis gridlines for the stacked area chart.

Secondary value Axis

This allows you to enable the Secondary Value Axis gridlines for the Combination chart.

Font settings

This section allows you to customize the font size of chart elements.

Auto font Size and font size

By default, the ‘Auto Font Size’ property is enabled. Auto font-size property is used to set font size based on the dashboard viewing client machine resolution. If the user wants to customize or set fixed font size, then the user needs to disable the auto font size and set required font size.

Container Appearance

Title Alignment

This allows you to handle the alignment of widget title to either left, center, or right.

Title Color

This allows you to apply the text color to the widget title.

Title Auto Font Size

On enabling Auto Font Size, the font size of the title will be adjusted automatically if the resolution of the screen varies.

Font Size

This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.

Subtitle Auto Font Size

On enabling Auto Font Size, the font size of the subtitle will be adjusted automatically if the resolution of the screen varies.

Font Size

This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.

Auto Padding

On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.

Padding

This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.

Show Border

This allows you to toggle the visibility of the border surrounding the widget.

Corner Radius

This allows you to apply the specified radius to the widget corners if the Show Border is enabled. Value can be between 0 and 10.

Show Background Image

This allow you to set the background image for the stacked area chart widget.

Background Color

This allows you to set the background color to the stacked area chart widget.

Transparency

This property allows you to specify the transparency for the background color.

Show Shadow

This allows you to toggle the visibility of the shadow surrounding the widget.

Container actions

Show Header

This allows you to enable or disable the widget title of the stacked area chart.

Allow Maximize View

This allows you to enable or disable the maximized mode of the stacked area chart widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.

Allow CSV Export

This allows you to enable or disable the CSV export option for the stacked area chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.

Allow Excel Export

This allows you to enable or disable the Excel export option for the stacked area chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls) format in the viewer.

Allow Image Export

This allows you to enable or disable the Image export option for the stacked area chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp) in the viewer.

Allow PDF Export

This allows you to enable or disable the PDF export option for the stacked area chart widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.

Enable Comments

This allows you to enable or disable comment for the dashboard widget. For more details, refer to the Commenting Widget.

Allow View Underlying Data

This allows you to visualize the raw data associated with a widget at runtime.

To learn more about viewing the underlying widget data, refer to theview data documentation.

Pin Widget

This allows you to pin the widget.

Responsive Behavior

We hide the widget elements based on the size of the widget for better readability.

When the chart has been placed with less than 7 columns chart Y-axis labels, Y-axis titles will be hidden.

When the chart has been placed with less than 6 rows, chart X-axis labels, X-axis titles and gridlines will be hidden.