Line Chart allows you to showcase trends for analysis over a time period with data points connecting using straight lines.
Line Chart need a minimum of 1 value element and 1 column element to showcase. The measure or expression field that you would like to analyze can be dropped into Y Values block. The dimension that you would like to categorize the measure, can be dropped onto Columns block. If you would like to categorize based on a series, then the respective dimension can be dropped onto Rows block in addition.
The following steps explain the steps to configure data to the Line chart:
Data Source
button in the configuration panel.CREATE NEW
button to launch a new connection from the connection type panel.Microsoft Excel
connection type is selected for demonstration) of the listed connection type button shown.NEW DATA SOURCE
configuration panel, fill the connection type and related details. Click the Connect
button.Save
button.Properties
button in the configuration panel, property pane opens.ASSIGN DATA
tab.ASSIGN DATA
tab will be opened with available measures and dimensions from the connected data source.Measures
and Dimensions
into the required field.You can add more than one Measures
into Y Values
field by drag and drop the required measure.
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 format the data to be displayed in the chart by using the Format option. For more details, refer to the measure format.
To remove the added value fields click highlighted button.
You can add more than one column from the Dimensions
field into the Value(s)
field.
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 column field.
Add more than one value to the Columns
field, an alert message will be shown. Click Yes
to enable the option.
NOTE: If you click
No,
a single value will be added to theColumns
field.
The drilled view of the chart region is selected.
You can drag and drop the Dimension
into the Rows
field.
You can apply filter and sort option for the rows field, if required.
This will render line chart in series.
Hidden columns are useful in cases where we don’t want the fields to take part in the visualization, but only to be used for linking, filtering and view data.
We can configure both measure and dimension fields into the hidden column. For measure we will be having all the settings we have for the measure fields expect formatting and filtering.
In the case of dimension fields we will having the following options only. In Date fields we will having all available types except sorting, relative date filter, settings and filters.
The primary use case of the hidden columns is linking. On configuring hidden columns, we can see below that the fields configured in hidden columns are listed in the linking section. On configuring the column in linking we can pass the corresponding column value in linking parameter.
Measure Based Example: If we wish to pass the number of Matches played as an URL parameter but do not want it to influence the visualization, we can configure the Matches in the hidden columns and incorporate them into the link.
Dimension Based Example: If we wish to pass the number of Team Name played as an URL parameter but do not want it to influence the visualization, we can configure the Team Name in the hidden columns and incorporate them into the link.
You can use hidden columns to filter data in the visualizations. Configure hidden columns and click the below filter icon.
Click the Custom button highlighted in the filter configuration dialog image below. It will list all the fields configured in the widget. Keep the field configured in the hidden column and remove the other fields, then click the Update button.
Now, we can see in the below image, the data is filtered based on the hidden column field instead of the actual column that we bound in the widget.
For more details about filtering the widget data, refer to the Filter Configuration documentation
You can view the data in the hidden columns in the underlying data view. This is useful for checking the data in more detail and can help you to identify any issues with the data.
NOTE: We don’t recommend to configure lower hierarchy data in hidden columns as we can see in the info icon in
Hidden Column
section denotes the same.
The below chart displays the goals by each team without hidden columns.
If we configure lower hierarchy data(Player Name) in hidden columns compared to column and Row filed data, the data configured in the widgets gets duplicate, and individual column is split based on hidden column field. This affects the chart visualization as we can see in the below image.
You can format the line chart for better illustration of the view that you require, through the settings available in Properties
tab.
To configure data into line chart follow the steps
Drag and drop the line chart into canvas and resize it to your required size.
Configure the data into line chart.
Focus on the line chart and click on widget settings.
The property window will be opened
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 the description
about this spline area chart widget.
This option allows you to toggle the visibility of tooltip in a chart.
Click the Change
button to open the Chart Type and Axis Settings
dialog.
Chart Type: This allows you to switch the widget view from the current chart type to another chart type.
Secondary Axis: The configured field is plotted as the primary axis by default. If you enable this option, the selected field will be plotted as the secondary axis.
It animates the measure values when you enable the Enable Animation.
This allows you to toggle the visibility of value labels.
If you Disable Show Value Label
s 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 toggle visibility of each series in a chart.
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.
This allows you to show or hide the suffix value of value labels.
This allows you to customize the suffix value of value labels.
Note: When Increased the height and number of data in chart the value label was hidden. Use label rotation property to visible the label.
This allows you to toggle the visibility of marker from label to adorn each data point in the chart series.
This allows you to customize the width of the line chart.
By default, The chart doesn’t display the columns with Null or Empty Value as shown in the below image
If you enable the Show Items With No Data
property, Then the columns with the Null data will be displayed in the chart.
This allows you to handle the display mode to empty points with the properties Gap
, Zero
, Average
and Connect
.
This option allows you to show the null or undefined values with gaps.
This option allows you to show the null or undefined values in the zero axis.
This option allows you to display the null or undefined values with the average value.
This option ignores the empty values and connect the remaining points.
On enabling this support, the chart scroll bar thumb-size will be calculated based on the total records count. So, you can see the last record by performing a single scroll.
Page Size
This option allows you to set number of records needs to be fetched on initial load.
Click Customize
to open the Custom Line Style Settings
dialog.
Now, the dialog will open as follows.
Series
The default option applies to all the series in the line chart. If you want to customize individual series, select that series by the Series
drop-down option.
Line Style
To change the Line Style of the selected Series, choose the available styles such as Solid, Dot, Dash, DotDash, LongDash and LongDashDotDot from the Line Style
drop-down option.
Line Width
Use the Line Width option to adjust the line width for the selected series.
Click OK
to add a custom line style settings in a line chart. Now, the chart renders as follows.
Note: The Line Style property is only visible if you have Line or Spline chart.
A Legend is a text used to describe the data plotted. This allows you to toggle the visibility of legend in chart and also change the legend text position (selecting through combo box).
Enabling this option of Custom Legend Text will allow you to define a custom text (through the text area) to display for each legend series (selecting through the combo box) in chart.
NOTE: single series is available in chart, legend doesn’t visible.
Legend Label Color
This allows you to change the chart legend title and label colors.
You can customize the legend text through the Custom Legend Settings
dialog. This dialog will show the legend text list as labels at left and corresponding text area at right to add the formatted text to display instead.
Custom Legend Settings when giving Row Section
You can customize the legend text using the Custom Legend Settings dialog. This dialog will show the legend text list as labels at left and corresponding text area at right to add the formatted text to display instead. When a column is added into Row section, this dialog will show two options Individual
and Group
at top in addition, to toggle between.
Individual
Group
{{ : Row }} ({{ : Y Value }})
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.
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 change the shape of the legend.
This option allows you to customize legend text based on the ‘Text Width’ property value.
None
This option allows you to render the legend items without any wrap and trim.
Trim
This option allows you to trim the legend items if its 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 a maximum width for the Legend Items and it is applicable only if text-overflow set to 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.
You can enable linking and configure to navigate to a general URL with or without parameters. For more details, refer to the Linking.
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 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.
This allows you to enable the visibility of Category Axis
title.
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 also 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 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 allows you to enable the visibility of the Primary Value Axis
title of chart.
This allows you to edit the Primary Value Axis
title. It will reflect in the y-axis name of a chart.
By default, the chart axis showing positive values on the top and negative values at the bottom. But, there are times when we need to inverse the axis and show the negative values on the top and positive values on the bottom. For Example, When we bind the temperature data to the chart and to display the negative values on the top, we can make use of this property.
On enabling this property the chart negative values will display on the top and positive values display on the bottom.
This allows you to manually set the Minimum, Maximum, and Interval values of primary value axis through the Axis Range Settings
dialog.
It will reflect in the primary value axis of the chart.
This 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 from the formatting details provided using the Format
button. For more details,refer to the this measure format.
This allows you to enable the Primary Value Axis
gridlines for the line chart.
This allows you to enable the Category Axis
gridlines for the line chart.
This allows you to enable the Secondary Value Axis
gridlines for the line chart.
You can add more than one trendline to Cartesian charts except for bar type series(Line, Column, Area, and Spline) and stacked type of charts. You can add, edit, and delete
trendlines.
To add
the trendline, click the highlighted button.
Now, the dialog will open as follows.
Click the OK
button to add a trendline in a line area chart. Now, the chart renders as follows.
To edit
the trendline select the one to be edited and click the highlighted button.
Again, the trendline dialog window opens now.
Legend Text
You can edit the trendline legend by the Legend Text
text box. By default, the Legend Text
renders are based on the Line type and Series name.
Series
You can change the series to which series have to show the trendline by the Series
dropdown option.
Line Type
You can select line type by the Line Type
dropdown option(Linear, Exponential, Logarithmic, Power, and Polynomial).
Line Color
You can change the color of the trendline by the Line Color
color picker.
Line Style
You can change the style of the trendline by the Line Style
drop down option(Solid, Dot, Dash, DotDash, LongDash, and LongDashDotDot).
To delete
the trendline, select the one to be deleted and click the highlighted button.
This allows you to change the color
for the line area chart.
It will reflect in the line area chart.
This allows you to apply color for chart series either by using a default palette or a custom color palette. By default, the colors will be applied using the default palette. This series of settings will be visible only if we configured the row section in the chart.
This Option allows you to apply default color for chart series.
By toggle off the Use Default Palette
option, the Color Mapping Type
will be shown.
Using the Color Mapping type, you can apply the colors to the series either based on data or index.
Data
It allows you to apply color for chart series based on data. If you want to apply a specific color to specific data(i.e. Violet color for 2021, Sky Blue color for 2022, and green for 2020), you can use Data based color mapping. By default, the Color Mapping Type will be Data
.
Index
It allows you to apply color for chart series based on Index
. Such that the colors are maintained based on index even if data is changed. It shows only 15 different colors. After that, the color will be repeated from above colors.
For example, If you are displaying the countries based on the increasing order of the case count, then the index-based color mapping will be useful to set the colors based on the rank. Say red color to the top, then the red color will be maintained for the country having the largest case count.
Note: We prefer to use Index based color customization only for minimum data(upto 15 series).
This section allows you to customize the font size of the chart elements.
By default, the ‘Auto Font Size’ property is enabled. The Auto font size property is used to set font size based on 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 the required font size.
This allows you to define this chart widget as a master widget such that its filter action can be made to listen by other widgets in the dashboard.
This allows you to define this chart widget to ignore responding to the filter actions applied on other widgets in dashboard.
Through this option, you can enable/disable the hierarchical top N
filtering. While applying the Top N filter with multiple dimension columns, the data returned can be customized based on whether the filtering need to be done as flat or based on the hierarchy of dimension columns added.
When the Hierarchical Filter
option is enabled, the Top N will be applied for each individual column separately based on the number set for each column.
This allows you to handle the alignment of widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
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.
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.
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.
This allows you to 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 allow 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.
This allows you to 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 this link.
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 been placed with less than 6 rows, chart X-axis labels, X-axis titles and gridlines will be hidden.