This topic describes the overview, examples, and deletion of a line chart.
A line chart presents the changing trend of data through broken lines and shows continuous data that changes over time. Line charts are useful for analyzing and showing data trends at equal intervals. Line charts are also used for analyzing the interactions among multiple groups of data that change over time. For example, analyzing the sales volume of a certain product or related products to predict future sales.
A line chart is based on the category axis and the value axis. The category axis is the horizontal axis. The categories must be dimensions such as dates, provinces, and product types. The value axis is the vertical axis. The values must be measures such as performance indicators and order numbers.
Dimensions and measures are automatically used for the category axis and the value axis respectively in the dashboards. You only need to select fields from the Dimensions and Measures lists.
Scenario: displays order numbers and unit prices of multiple products. The following example uses the company_sales_record dataset.
- Log on to the Quick BI console.
- Click Datasets to go to the Datasets page.
- Click the Create Dashboard icon for the company_sales_record dataset.
Note If you use Quick BI Enterprise Standard, you need to select Standard or Full Screen as the dashboard display mode. The following example uses the Standard display mode.
- Click the Line Chart icon and an empty line chart appears on the dashboard.
- Select dimensions and measures.
On the Dimensions list, locate the product_type field and add it to the Category Axis (Dimensions) section. On the Measures list, locate the order_number and price fields and add them to the Value Axis (Measures) section respectively.Note Make sure that you have converted the dimension type from String to Geo for the province dimension. For more information, see Change the dimension type.
- On the Style tab page, you can configure the basic information, chart type, axes, functionality,
and series settings.
- Click Save to save the dashboard.
Configure the style
- In the Basic Settings section, you can configure the chart title, enable the hyperlink
for page jumping, change the chart background color, and switch the chart type. This
example uses Dark as the background theme.
Note To configure a hyperlink used to jump to a report or an external page, select Show Hyperlink and enter a name and address.
- In the Chart Type section, you can configure whether to show labels, line style, the
position of legend, and whether to display dual Y-axis. This example uses Dual Y-Axis and shows labels.
Note Select Show Labels to show all measure labels. Labels support Smart Display and Full Display. Assume that a chart involves many dimension values and the scroll bar is not shown in the chart. In Smart Display mode, only partial labels are displayed. In Full Display mode, all labels are displayed.
- You can set the titles and units for the axes. This example uses Product Type as the title for the horizontal axis.
- In the Functionality section, you can configure whether to show a scroll bar.
- In the Series Settings section, you can set measure aliases, the axis style, boundary values, and the data display format. This example uses blue as the line color for the price measure.
For more information about Style, see Configure a chart.
Delete a chart
Click the More Actions icon in the upper-right corner of a chart and select Delete from the drop-down list to delete the chart.