A line chart allows you to showcase trends for analysis over a time period, with data points connecting using straight lines.
A Line Chart requires a minimum of 1 value element and 1 column element to display. The measure or expression field that you want to analyze should be placed in the Y Values block. The dimension that you want to categorize the measure by should be placed in the Columns block. If you want to categorize based on a series, then the respective dimension can also be placed in the Rows block.
The following steps explain how to configure data for the Line chart:
Drag and drop the control onto a canvas and resize it as needed.
Click the Data Source
button in the configuration panel.
Click the CREATE NEW
button to create a new connection from the connection type panel.
In the connection type panel, select a connection type (for example, Microsoft Excel
) and fill in the related details. Click Connect.
In the NEW DATA SOURCE
configuration panel, fill the connection type and related details. Click the Connect
button.
Drag your preferred table or view from the left pane from the data design view, click the Save
button.
Click the Properties
button in the configuration panel, property pane opens.
Now, switch to the ASSIGN DATA
tab.
The ASSIGN DATA
tab will display available measures and dimensions from the connected data source.
Add the required data from the Measures
and Dimensions
into the appropriate fields.
You can add multiple Measures
into the Y Values
field by dragging and dropping the required measures.
Click the Settings
option to change the name by using the Rename
option and the required summary type from the available summary types shown in the Settings.
You can filter the data to be displayed in the funnel chart by using the Filter. For more details, refer to the filter.
You can add more than one value into Columns
field.
Line chart will be rendered like this
You can change the Settings.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can Sort the dimension data using the Sort option under the Settings menu list. To apply sorting for the data, refer to the Sort.
You can apply filters by selecting the Filter(s) option in settings. For more details, refer to the filter.
To show all records, click on Show All Records.
Similarly, you can add the Measures
and Expression Columns
into the column field.
You can drag and drop the Dimension
into the Rows
field.
You can apply filter and sort options for the rows field, if required.
This will render a line chart in series.
You can format the line chart for better illustration of the view that you require through the settings available in the Properties
tab.
To configure data into a line chart, follow these steps:
Drag and drop the line chart onto the canvas and resize it to your required size.
Configure the data into the line chart.
Focus on the line chart and click on widget settings.
The property window will open.
This allows you to change the title
for this line chart widget.
Allows you to provide the subtitle
for this spline area chart widget.
Allows you to provide a description
about this spline area chart widget.
This option allows you to toggle the visibility of the tooltip in a chart.
It animates the measure values when you enable the Enable Animation.
This allows you to toggle 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.
This allows you to customize the value label’s color.
This option allows you to customize the value label position in a chart. By default, it is set to ‘Auto,’ so the label position for the line chart will be set to Top.
This allows you to define the rotation angle for the value labels to display.
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 (selected through a combo box).
Enabling the option of Custom Legend Text will allow you to define custom text (through the text area) to display for each legend series (selected through the combo box) in the chart.
NOTE: If only a single series is available in the chart, the legend is not visible.
The chart legend interactivity
option allows you to control the behavior of the chart legends. This provides an option to make chart legends non-clickable, which can be especially useful in scenarios where you do not want users to hide or show series data by clicking on the legend. This might also be useful when displaying critical pieces of data that should always be present for accuracy and context purposes.
Disabling the Interactivity feature in the Legend Settings category does not allow you to click on the legends.
Enabling the interactivity feature in the Legend Settings category allows you to click on the legends.
Legend Label Color
This allows you to change the chart legend title and label colors.
A Legend is a text used to describe the data plotted. This option allows you to place the legend at the position of Left, Right, Top, and Bottom.
Legend Alignment enables you to control how the legend is positioned within its allocated space. For detailed guidance, refer to the Legend Alignment section.
This allows you change the shape of the legend.
Circle
This option allows you to change the shape of the legend in a Circle.
Series Type
This option allows you to change the shape of the legend in a Series.
This allows you to add the legend title for the chart. It will reflect with the Show Legend.
This option allows you to customize legend text based on the ‘Text Width’ property value.
None
Renders the legend items without any wrap and trim.
Trim
Trims the legend items if the legend exceeds the Text Width
value.
Wrap
This option allows you to wrap legend items based on Text Width
value.
This option allows you to set the maximum width for the Legend Items and 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.
This section allows you to customize the axis settings in chart.
This allows you to customize the axis title color.
This allows you to customize the axis label color.
This allows you to enable the visibility of the Category Axis.
If you disable the Show Category Axis
option, dependent properties, which are Show axis title, Axis title text, Trim overflow mode, Trim axis labels, Label Rotation, and Auto Interval option, will be hidden.
This allows you to edit the Category Axis
title for the chart. It will reflect in the x-axis name of the chart.
If we uncheck the Show Axis Title
property, the Axis title text box property will be hidden.
This allows you to handle the display mode of the overlapping labels in the Category Axis.
Trim
This option trims the end of overlapping label in the axis.
Hide
This option hides the overlapping label in the axis.
This option allows you to trim
the axis labels based on the Maximum Label Width
property value.
This option allows you to set a maximum width
for the axis labels, and it can be made customizable when the trim axis
label option is enabled.
This allows you to define the rotation angle for the category axis labels to display.
By default, the ‘Auto Interval’ property is enabled. The Auto Interval property is used to set auto intervals based on the number of data points for category axis labels. If a user wants to customize the interval, then the user needs to disable the auto interval and set the required interval.
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.
This option allows you to edit the Primary Value Axis
title, which will be reflected in the y-axis name of the chart.
By default, the chart axis shows positive values at the top and negative values at the bottom. However, there are times when you may need to invert the axis to show negative values at the top and positive values at the bottom. For example, when displaying temperature data on a chart and wanting to show negative values at the top, this property can be used.
Enabling this property will display negative values at the top and positive values at the bottom on the chart.
This option allows you to manually set the Minimum, Maximum, and Interval values of the primary value axis through the Axis Range Settings
dialog.
These settings will affect the primary value axis of the chart.
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.
For more details about dashboard parameter, refer to the Dashboard parameter documentation.
A single value is stored in this type of parameter.
Click the axis range settings dialog and enter @
in any textbox (minimum, maximum, and interval). Select the parameter value (Number type parameter values only allowed).
Now the parameter value is reflected in the chart axis.
If you wish to set the same ranges in multiple cases, create the range type parameter value. This type of parameter has the start and end values.
Create a parameter in range type.
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).
The parameter value is reflected in the chart axis.
Create a parameter in the data source type. Choose any field. The value is based on the selected field value.
Click the axis range settings dialog and enter @
in any textbox (minimum, maximum and interval). Select the parameter value.
The parameter value is reflected in the chart axis.
This option allows you to change the type of axis
in the line area chart.
This option allows you to handle the type of axis as linear.
This option allows you to handle the logarithmic axis that uses a logarithmic scale and it is very useful in visualizing when the data has values with both lower order of magnitude (Eg: 10-6) and higher-order of magnitude (Eg: 106).
This option allows you to format the primary and secondary axis values using the formatting details provided using the Format
button. For more details, refer to the measure format.
This option allows you to enable the Primary Value Axis
gridlines for the line chart.
This option allows you to enable the Category Axis
gridlines for the line chart.
This option allows you to enable the Secondary Value Axis
gridlines for the line chart.
You can adjust the alignment of the widget title to be left, center, or right.
This setting allows you to change the text color
of the widget title.
Enabling this feature adjusts the font size of the title automatically based on screen resolution.
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.
Similar to the title, you can enable auto font size for the subtitle to adjust its size based on screen resolution.
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.
Enabling this feature adjusts the padding of the widget container automatically based on its size.
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.
You can toggle the visibility of the border
surrounding the widget.
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.
This allows you to set the background image for the line chart widget.
This allows you to set the background color to the line chart widget.
This property allows you to specifies the transparency for the background color.
You can toggle the visibility of the shadow
surrounding the widget.
This allows you to enable or disable the widget title
of the line chart.
This allows you to enable or disable the maximized mode
of the line chart widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export
option for the line chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export
option for the line chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the line chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export
option for the line chart widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details,refer to the Commenting Widget.
This allows you to visualize the raw data associated with a widget at runtime.
This allows you to pin the widget.
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 fewer than 6 rows, the X-axis labels, X-axis titles, and gridlines will be hidden.