This chart displays a change to one or more measures over a time interval. It indicates trends, seasonality, dynamics, and a ratio of multiple measures in a single point in time. A chart is built using points with (X, Y) coordinates that are then connected by a line.
It can show multiple measures with different lines. For example, the basic sales targets, optimistic sales targets, and actual sales can be represented as a dotted, dashed, and solid line, respectively.
If measure values differ significantly, you can place them on different Y axes. In this case, the values of each measure will be plotted on their own axis. For example, a chart for sales and customer count.
Number of customers
This chart lets you compare multiple categories by a single measure. Each category's line has its own color and form. For example, the sales amount for different product categories.
Dimension. You can only specify one field here. This dimension is usually a date. If this is the case, make sure to specify the Date data type for this field in the dataset. This is required for correct sorting and signature display. For better visualization, you can group dates into weeks, months, and years. For more information, see Field settings.
Measure. You can specify multiple measures. If you add more than one measure to a section, the Colors section contains a dimension named Measure Names.
Measure. Use it to add a second Y axis to a chart. You can specify multiple measures. If you add more than one measure to a section, the Colors section contains a dimension named Measure Names.
Dimension or the Measure Names field. Affects the color of lines. To delete Measure Names, click the cross icon or remove measures from the Y axis.
Dimension or the Measure Names field. Affects the shape of lines.
Dimension. Can only use one dimension from the X axis. Affects the sorting of the X axis. The sorting direction is marked with an icon next to the field: ascending or descending. To change the sorting direction, click the icon.
Measure. Displays measure values on the chart. If multiple measures are added to the Y or Y2 section, drag Measure Values to this section.
Dimension. Splits a chart horizontally by the selected dimension's values. The maximum number of splits per chart is 25.
If the source data includes a row where the measure value is null, this point won't be shown on the chart at default settings. For example, if the source includes a row with a date (20.07.2022) but the sales amount is missing for it.
You can use settings for chart sections to show null values:
In the section with a measure whose values you want to show, in the upper-right corner, click (the icon appears when you hover over the section).
In Empty values (null), select Display as 0.
Now, the chart will use 0 instead of null.
If a row is missing in the source data, the chart section settings won't affect the measure display on the chart. For example, if the source data doesn't have a row with a certain date (20.07.2022), nothing will be shown for this date on the chart.
The perception of data on a line chart depends on its proportions. An upward or downward trend may intensify if the chart is contracted and be less evident if it's spread.
If the values of the categories contain a large amount of text, try to reduce it. Then the signatures on the diagram will look more accurate. You can use string functions in the calculated fields or conditional operators CASE.
When visualizing multiple measures, select colors carefully. They should be distinguishable and contrasting. We recommend using no more than 3-5 colors per chart. If you want to emphasize one certain measure above the others, highlight it in some bright color.
Disable the Sum in tooltips option in the chart settings if the chart lines represent different entities. For example, the sales amount and the number of customers.
Sign measure values on the chart. To do this, drag a measure from the dataset to the Signatures section. The chart will display its values.
If multiple measures are added to the Y or Y2 section, drag Measure Values to this section.
You can also sign the last value on the chart only. To do this, add a calculated field with the MAX function.
You can split a chart by dimension into a number of small charts that are convenient to compare to one another. To do this, drag a dimension from the dataset to the Split section.
For better visualization, use formatting in the dimension and measure setup window. Check the data type for correct sorting and comparison of values. Specify additional parameters. For example, the format and units for numeric data and the number of decimal places for fractions.