The Spline Chart allows you to showcase trends for analysis over a specific time period, with data points connected using splines.
A Spline 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 the data for spline charts:
Data Source
button highlighted 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).NEW DATA SOURCE
configuration panel, fill in the connection type and related details. Click the Preview & Connect
button.Save
button.Properties
button in the configuration panel, and the property pane will open. Now, switch to the ASSIGN DATA
tab.ASSIGN DATA
tab will open with available measures and dimensions from the connected data source.Measures
and Dimensions
into the required fields.Adding Value(s)
You can add more than one Measures
into the Value(s)
field by dragging and dropping the required measure.
Click the Settings
option to change the name using the Rename
feature and select 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 using the filter. For more details, please 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 to the Columns
field.
The spline chart will be rendered accordingly.
You can change the Settings.
The configured field names can be edited 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.
If you 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 the spline 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 the measure, we will have all the settings we have for the measure fields except formatting and filtering.
In the case of dimension fields, we will have the following options only. In Date fields, we will have 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 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 the linking parameter.
Measure Based Example: If we wish to pass the number of Matches played as a 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 a 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 Cross 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 configuring lower hierarchy data in hidden columns as we can see in the info icon in the
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 duplicated, and individual column is split based on the hidden column field. This affects the chart visualization as we can see in the below image.
You can format the spline chart for better illustration of the view that you require, through the settings available in the Properties
tab.
To configure data into the spline chart follow the steps:
Drag and drop the spline chart into the canvas and resize it to your required size.
Configure the data into the spline chart.
Focus on the spline chart and click on the widget settings.
The property window will be opened.
You can see the list of properties available for the widget with default values.
This allows you to change the title
for this spline 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 the 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.
On enabling animation, it animates the measure values.
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 toggle visibility of value labels in each series.
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 spline 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 the chart, the value label was hidden. Use the label rotation property to make the label visible.
This allows you to toggle the visibility of the marker from the label to adorn each data point in a chart series.
This allows you to customize the width of the spline chart.
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.
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 null or undefined values with gaps.
This option allows you to show null or undefined values on the zero axis.
This option allows you to display null or undefined values with the average value.
This option ignores empty values and connects the remaining points.
This option allows you to set the number of records needed to be fetched on the 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 series in the spline chart. If you want to customize individual series, select the series from the Series
drop-down option.
Line Style
To change the Line Style of the selected Series, choose 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 custom line style settings in a spline chart. Now, the chart renders as follows.
Note: The Line Style property is only visible if you have a Line or Spline chart.
A legend is text used to describe the plotted data. This option allows you to toggle the visibility of the legend in the chart and also change the legend text position by selecting through the combo box.
Enabling the Custom Legend Text option allows you to define custom text (through the text area) to display for each legend series (selecting through the combo box) in the chart.
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 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 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.
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 on the left and corresponding text area on the right to add 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 on the left and corresponding text area on the right to add formatted text to display instead. When a column is added into the Row section, this dialog will show two options: Individual
and Group
at the 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.
Legends can be displayed as a dropdown menu when the legend position is set to “dropdown.” When you hover over a chart, a legend icon appears. Clicking on this icon will bring up a legend dropdown. This feature allows you to toggle the visibility of the legend in the chart.
This option will hide the legends in the chart area, resulting in increased chart space and enhanced visibility.
The chart legend dropdown option can be used to simplify viewing complex charts with multiple data sources. For example, if you have a chart displaying sales data for the different years, you can use the legend dropdown to deselect all other years and focus only on a specific year.
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 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
This option allows you to render 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 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, such as Legend color, Legend position, customization button, and Legend title, are also hidden.
NOTE: For single series, the Legend won’t be visible.
You can enable linking and configure it 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 the chart.
This allows you to customize the axis title color.
This allows you to customize the axis label color.
This allows to enable the visibility of the Category Axis.
If you disable the Show Category Axis
option, dependent properties, such as 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 the 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 you 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 labels 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 the auto interval based on the number of data points for category axis labels. If a user wants to customize the interval, 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, dependent properties, such as Axis title, Axis title text, Axis type, and Axis Format properties, will be hidden.
This allows you to manually set the Minimum, Maximum, and Interval values of the primary value axis through the Axis Range Settings
dialog.
It will reflect in 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.
@
in any textbox (minimum, maximum, and interval). The range parameter is split into start and end parameters. The 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).@
in any textbox (minimum, maximum, and interval). Select the parameter value.This allows you to enable the visibility of Primary Value Axis
title of chart.
This 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 it may be necessary to invert the axis to display negative values at the top and positive values at the bottom. For example, when displaying temperature data on a chart, this property can be used to show negative values at the top.
Enabling this property will display negative values at the top and positive values at the bottom of the chart.
This allows you to change the type of axis
in the spline 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 enables you to format the values on the primary and secondary axes of the chart using the provided formatting details accessible through the Format
button. For more information, refer to the measure format.
This option allows you to enable gridlines on the Primary Value Axis
for the spline chart.
This option allows you to enable gridlines on the Secondary Value Axis
for the spline chart.
This option allows you to enable gridlines on the Category Axis
for the spline 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 trendline in a spline 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 modify the Legend text
for the trendline using the text box. The default Legend Text
is based on the Line type and Series name.
Series
You can change the series for which the trendline is displayed using the Series
dropdown.
Line Type
You can choose the Line type
for the trendline from options such as 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
dropdown option (Solid, Dot, Dash, DotDash, LongDash, and LongDashDotDot).
To delete
the trendline, select the one to be deleted and click the highlighted button.
This feature allows you to change the color
of the spline area chart.
It will reflect in the spline area chart.
You can apply colors to the chart series using either the default palette or a custom color palette. By default, colors are applied using the default palette. This series of settings will only be visible if a row section is configured in the chart.
This option allows you to apply a default color for chart series.
By toggling off the Use Default Palette
option, the Color Mapping Type
will be shown.
Using the Color Mapping type, you can apply colors to the series based on either data or index.
Data
This allows you to apply color for chart series based on data. If you want to apply a specific color to specific data (e.g. 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
This allows you to apply color for chart series based on Index
. The colors are maintained based on the index even if the data is changed. It shows only 15 different colors. After that, the colors will be repeated from the above colors.
For example, if you are displaying 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. For example, red color for the top, then the red color will be maintained for the country with the largest case count.
Note: We prefer to use Index-based color customization only for a minimum of data (up to 15 series).
This section allows you to customize the font size of chart elements.
By default, the Auto Font Size
property is enabled. The Auto font-size property is used to set the font size based on the dashboard viewing client machine resolution. If the user wants to customize or set a 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
so that its filter action can be listened to by other widgets on the dashboard.
This allows you to define this chart widget to ignore responding to the filter actions applied on other widgets on the dashboard.
Through this option, you can enable/disable hierarchical top N
filtering. When applying the Top N
filter with multiple dimension columns, the data returned can be customized based on whether the filtering needs to be done flat or based on the hierarchy of dimension columns added.
When the Enable 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 the widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
By enabling Auto Font Size, the font size of the title will adjust 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. The value can be between 10 and 44.
By enabling Auto Font Size, the font size of the subtitle will adjust 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. The value can be between 10 and 32.
By enabling Auto Padding, the padding of the widget container will adjust 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. The 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. The value can be between 0 and 10.
This allows you to set the background image for the spline chart widget.
This allows you to set the background color for the spline chart widget.
This property allows you to specify 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 spline chart.
This allows you to enable or disable the maximized mode
of the spline 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 spline 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 spline 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 spline 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 spline 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, and 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.