Line charts visualize how data changes over time — for example, tracking product sales to predict future performance. Learn how to add data to a line chart and configure its style.
Prerequisites
You have created a dashboard. For more information, see Create a dashboard.
Limitations
A line chart consists of a value axis (measure), a category axis (dimension), and a color legend (dimension):
-
The category axis requires at least one dimension, such as date, province, or product type.
-
The value axis requires at least one measure, such as order quantity.
-
The color legend supports up to one dimension, such as shipping method.
NoteIf you use multiple measures on the value axis and add a dimension to the color legend, you must enable the in-chart metric filter to switch between measures.
-
The split dimension supports up to one dimension, such as product type or region.
Overview
Use Cases
-
Trend widgets display continuous data over time, ideal for showing patterns at regular intervals.
-
Line charts reveal increases, decreases, periodic changes, and exponential growth.
Benefits
-
Powerful computing features: YoY & MoM comparison, cumulative calculation, gridlines, trendlines, forecasting, anomaly detection, and fluctuation analysis.
-
Multiple visualization types — curve charts and line charts — with configurable labels, legends, and scroll bars.
-
Compare data across periods and add specific value labels to your chart.
Example

Chart Field Configuration
-
On the Data tab, select the dimension and measure fields you need:
-
From the Dimension list, double-click or drag product_type to the Category Axis/Dimension area.
-
From the Measure list, double-click or drag profit amount and price to the Value Axis/Measure area.
NoteYou can enable auto-refresh to update the chart data automatically.
-
-
Click Update to refresh the chart.

-
(Optional) Add another dimension field to Split/Dimension to better visualize data trends in facet mode.
Note-
You can add only one split dimension field. Facet mode has the following limitations:
-
Fields: For fields in the Split/Dimension area, advanced calculations support only TopN or None.
-
Style: The axis settings do not support a dual Y-axis, and the auxiliary display options do not support a navigator.
-
Analysis: Analysis is limited to data interaction. Advanced settings, analytical alerts, annotations, and smart insights are not supported.
-
-
Too many facets can cause page lag. For optimal performance, keep the number of facets at 500 or less.

-
Configure Chart Styles
Configure line chart styles on the Style tab. For general chart style configurations, see Configure the chart title area.
Plotting Area
Configure line chart styles in the plotting area section.

|
Parameter |
Description |
|
Color scheme |
Sets the color scheme for the lines. You can use a system color scheme or customize the colors. |
|
Chart type switch |
Sets the chart type. The supported types are line chart, area chart, stacked area chart, and 100% stacked area chart. |
|
Line type |
Options: smooth and straight. |
|
Line style |
Sets the style and thickness of the lines. |
|
Show markers |
Toggles the display of markers on data points and sets their shape.
|
|
Null value handling |
Specifies how to handle null values. The available options are Skip, Set to 0, and Break the line. |
|
Default mobile selection |
After you enable this option, you can set the Default selection to Last global dimension value or Last dimension value of a specified series. |
Facet
In facet mode, use the Facet section to configure the chart layout and styles.
Facet mode is active only when you add a field to the Split/Dimension area.

|
Parameter |
Description |
|
|
Layout style |
Sets the chart layout. Options: Single-column comparison and Grid. |
|
|
Shared axis |
Specifies whether the charts share the same axis.
|
|
|
Show separator line |
Specifies whether to show a separator line between charts. If you enable this option, you can configure the color and style of the separator line. |
|
|
Number of columns |
When Layout style is set to Grid, you can set the number of columns in which to arrange the charts. The default setting is automatic, but you can also customize the number of columns based on your needs. Note
|
|
|
Minimum facet size |
Sets the minimum width and height for each chart. The available options vary depending on the layout style.
|
|
|
Row and column spacing |
Sets the spacing between rows and columns of the charts. The available options vary depending on the layout style.
|
|
|
Split label |
Position |
Sets the display position of the dimension value label. Options: Above chart or Below chart. |
|
Text |
Sets the font color and style of the dimension value label. |
|
|
Alignment |
Sets the alignment of the dimension value label. |
|
Axes
In the Axes section, configure the axis styles. By default, axes are displayed.
You can select Show dual y-axis. This setting takes effect only when you add two or more measures. Selecting this option adds a Right Y-axis section under Axes.
-
You need to configure the Right Y-axis only if you select Show dual y-axis. The parameters are the same as those for the Left Y-axis.
-
The Show dual y-axis feature is not supported in facet mode.

|
Name |
Parameter |
Description |
|
X-axis |
Show x-axis |
Specifies whether to show the x-axis. |
|
Show title and unit |
Specifies whether to show the Axis Title and Unit on the x-axis. |
|
|
Show axis labels |
Specifies whether to show labels on the x-axis, and configures the axis label display rule and text style. |
|
|
Content to display |
Sets the displayed content to some or all dimensions.
|
|
|
Show ticks |
Specifies whether to show ticks on the x-axis. |
|
|
Show axis line |
Specifies whether to show the x-axis line, including its line type, width, and color. |
|
|
Show gridlines |
Specifies whether to show gridlines for the x-axis, including their line type, width, and color. |
|
|
Left y-axis |
Invert y-axis scale |
Inverts the y-axis scale.
|
|
Show left y-axis |
Specifies whether to show the left y-axis. |
|
|
Show title and unit |
Specifies whether to show the Axis Title and Unit. |
|
|
Show axis labels |
Specifies whether to show labels on the y-axis. If enabled, you can also set the axis label display format and text style. For the display format, you can select Auto or Custom mode.
|
|
|
Show ticks |
Specifies whether to show ticks on the left y-axis. |
|
|
Show axis line |
Specifies whether to show the left y-axis line, including its line type, width, and color. |
|
|
Show gridlines |
Specifies whether to show gridlines for the left y-axis, including their line type, width, and color. |
|
|
Axis value range and interval |
|
Legend
Configure legend display and style in the Legend section.
-
PC settings

Parameter
Description
Style
Sets the style of the legend icon. Options: Auto, Line only, and Line and marker.
Note-
When you select Line and marker, the legend synchronizes with the marker style set in the chart. If no marker style is configured, a solid circle is displayed by default.
-
When you select Scale legend symbol with text in Theme Design > Common Content Style, the size and line thickness of the legend icon will be adjusted proportionally based on the chart's line thickness and legend text size.
Position
Sets the display position and alignment of the legend on a PC.
-
When the display position is set to Top or Bottom: you can choose left, center, or right alignment.
-
When the display position is set to Left or Right: you can choose top, center, or bottom alignment. You can also set the distance between the legend and the chart content.
Text
Sets the text style of the legend on a PC, including font color, size, weight, and italics.
-
-
Mobile settings

Parameter
Description
Style
Sets the style of the legend icon. Options: Auto, Line only, and Line and marker.
Position
Sets the display position and alignment of the legend on a mobile device.
-
When the display position is set to Top or Bottom: you can choose left, center, or right alignment.
-
When the display position is set to Left or Right: you can choose top, center, or bottom alignment. You can also set the distance between the legend and the chart content.
NoteWhen the position is set to Top, you can enable labels below the legend.
Text
Sets the text style for the measure name in the legend on a mobile device, including font color, size, weight, and italics.
Content under legend
When Position is set to Top, click the
icon to enable labels below the legend.Content
Sets the data content to display in the labels below the legend. You can choose to show percentage or total.
-
Percentage: The percentage of a data point out of the total for the current dimension. For example, the percentage of profit amount out of total revenue for office supplies. When you choose to display percentage data, you can also set the number of decimal places to 0, 1, or 2 in Percentage Decimal Places.
-
Total: The sum of all measures for the current dimension. For example, the total sales amount for all regions in 2025.
Style
Sets the layout of the labels under the legend. The following options are available:
-
Evenly split across multiple rows: Automatically arranges the labels in equal divisions based on the number of columns set in Max items per row and the number of rows set in Max rows per page.

-
Single-row layout: All label content is displayed in a single row.

-
Plain text: Displays only text content without icons, and the text color matches the line color of the corresponding measure in the chart.

When not selected, show metric as
When Style is set to Evenly split across multiple rows or Single-row layout, you can specify how to display the metric for unselected legend items. You can choose to display it as "-" or blank.

Percentage position
When Percentage is selected for Content and Style is set to Evenly split across multiple rows or Single-row layout, you can set the display position of the percentage data. Options: Below or to the right of the value label.

Text style
When Style is set to Evenly split across multiple rows or Single-row layout, you can set the style of the value text.
If you choose to display Percentage data in the content, you can set the format for the percentage text to distinguish it from the value label content, enhancing the visual difference between data types.
Show full text
When Style is set to Evenly split across multiple rows, long measure names might be truncated. If you need to display the full measure name, you can select Show Full Text.
Show tooltip fields
When selected, the fields you configure in the Tooltip/Measure area of the fields panel will be displayed in the legend area.
NoteDisplaying tooltip fields is not supported when the chart is split by a dimension value (that is, when the color legend is a dimension).
-
Data Labels
Configure data label display and style in the Data labels section.

|
Parameter |
Description |
|
Content |
When the Chart type in the plotting area section is set to stacked area chart or 100% stacked area chart, you can select the data content to display in the data labels. Options include Measure, Percentage, and Total. When you choose to display Percentage data, you can also set the number of decimal places to 0, 1, or 2 in Percentage Decimal Places. |
|
Show all |
Specifies whether to display all data labels. When enabled, the system intelligently adjusts label positions to prevent overlap. If there are too many data labels, some may not be displayed if they extend beyond the axis area. You can also choose to Allow data labels to overlap. |
|
Position |
Sets the display position of the labels. |
|
Text |
Sets the text style of the labels. |
Tooltip
In the Tooltip section, click the
icon to enable and configure tooltips.
-
PC settings

Parameter
Description
Display mode
Sets how the tooltip information is displayed. Options: By single data point and By dimension value.
Content
Selects the data content to display in the tooltip. The available options depend on the selected Display mode.
For By single data point mode, you can show percentages. For By dimension value mode, you can show totals and percentages.
-
Percentage: The percentage of a data point out of the total for the current dimension. For example, the percentage of profit amount out of total revenue for office supplies. When you choose to display percentage data, you can also set the number of decimal places to 0, 1, or 2 in Percentage Decimal Places.
-
Total: The sum of all measures for the current dimension. For example, the total sales amount for all regions in 2025.
Background color
Sets the background fill color of the tooltip.
Text
Sets the style of the text in the tooltip, including font color, size, weight, and italics.
-
-
Mobile settings

Parameter
Description
Floating bubble
Click the
icon to enable the floating bubble display (①).Content
Sets the data content to display in the floating bubble. You can choose to show percentage or total.
-
Percentage: The percentage of a data point out of the total for the current dimension. For example, the percentage of profit amount out of total revenue for office supplies. When you choose to display percentage data, you can also set the number of decimal places to 0, 1, or 2 in Percentage Decimal Places.
-
Total: The sum of all measures for the current dimension. For example, the total sales amount for all regions in 2025.
Background color
Sets the background fill color of the floating bubble.
Text
Sets the style of the text in the floating bubble, including font color, size, weight, and italics.
Show axis dimension
Click the
icon to enable the axis dimension display (②).Background color
Sets the background fill color of the axis dimension label.
Text
Sets the style of the text for the axis dimension label, including font color, weight, and italics.
-
Series Settings
Configure series styles in the Series settings section.

You can set the Alias and Series Value Display Format in Series Settings only when Color legend/Dimension is enabled in the Fields configuration panel.
|
Parameter |
Description |
|
Select field |
Select a dimension or measure item based on your business scenario. |
|
Alias |
Sets a custom display name for the selected field. This item can be configured only when Color Legend/Dimension is configured. |
|
Line style |
Sets the type and thickness of the line in the line chart. Note
This feature is not supported for stacked and 100% stacked charts. |
|
Show markers |
Specifies whether to show markers. If selected, you can further specify the style of the markers. Note
This feature is not supported for stacked and 100% stacked charts. |
|
Show data labels |
Select whether to show data labels and set the label position and text format. |
|
Series value formatting |
Configure the display format for series values. Options: Auto or Custom.
This item can be configured only when Color Legend/Dimension is configured. |
|
Show extremes |
Specifies whether to show labels for extreme values in the chart. If selected, you can set the label's position, the content to display (maximum/minimum value), the label's background fill color, and the label's text style. Note
This feature is not supported for stacked and 100% stacked charts. |
Auxiliary Display
Configure the metric filter and view controls in the Auxiliary display section.

|
Parameter |
Description |
|
Enable in-chart metric filter |
Specifies whether to enable the in-chart metric filter. If enabled, you can further set the default selected metric field. |
|
View control |
When the data on the chart axis is dense and cannot be fully displayed within the current container size, you can click the You can use the following two control types to manage the visible area on the chart axis: navigator and scroll bar.
Note
|
Chart Analysis Settings
|
Parameter |
Parameter |
Description |
|
Data interaction |
Drilling |
After configuring drilling for a chart, you can customize how drill levels are displayed. For more information, see Drilling. |
|
Filter interaction |
When you need to analyze data across different charts, use filter interaction to link them for a combined analysis. For more information, see Filter interaction. |
|
|
Hyperlink |
If your analysis spans multiple dashboards, use hyperlinks to connect them. Two types are supported: parameter hyperlinks and external links. For more information, see Hyperlink. |
|
|
Advanced settings |
Add data comparison |
When you need to analyze data in a date dimension, you can add data comparisons. If the date field is set to day granularity, you can select options such as Same period last year, Same period last month, Same period last week, Previous day, or Custom end date to compare data.
|
|
Metric analysis |
Reference line |
A reference line helps you compare a measure's value against a set value. A set value can be a fixed value or a calculated value. Calculated values include average, maximum, minimum, and median. For more information, see Reference line. |
|
Trendline |
A trendline shows the overall trend of your data. Six trendline types are available: intelligent recommendation, linear, logarithmic, exponential, polynomial, and power. For more information, see Metric analysis. |
|
|
Annotation |
- |
When chart data displays anomalies or requires special attention, you can use annotations such as color highlights, icons, comments, or data points. These annotations help you identify the issues and take appropriate action. For more information, see Annotation. |
Next Steps
-
You can share a dashboard with specific users. For more information, see Share a dashboard.
-
To create a complex navigation menu for thematic analysis, integrate the dashboard into a business intelligence (BI) portal. For more information, see Business intelligence (BI) portal.













icon to enable labels below the legend.








By default, the navigator is shown only when the amount of data exceeds the display width of the chart container. If you want the navigator to be always visible in the chart, you can select Always show. When selected, the navigator will be displayed even if the chart data does not fill the screen.
You can also set the minimum category width for the scroll bar to limit the amount of data in the current chart window. This ensures that the chart content is clearly scaled within the visible area and avoids visual clutter from overlapping data labels or overly dense data points. The minimum category width is 32px by default, with a value range of 16px to 100px.