Assume that you have read Dashboard overview and Basic dashboard operations. This section describes how to create a line chart. If you want to create a dataset or eidt a dataset, see Create a dataset.

A bar chart shows comparisons among discrete categories. You can use a bar chart to visualize data changes over a period of time or comparisons among discrete categories. For example, you can show the comparison of the traffic flow of vehicles over different periods of time at a crossing.

Like Line charts, a bar chart consists of the category axis and the value axis.

Precautions

You can set at least one dimension for the category axis such as province and product_type. In addition, you can set at least one measure for the value axis such as order_amt and profit_amt. The Colors (Dimensions) area can take only one dimension.
Note You can add dimensions to the Colors (Dimensions) area when only one measure is added to the Value Axis (Measures) area. Otherwise, you are not allowed to add dimensions to the Colors (Dimensions) area.

The following scenario is based on the company_sales_record dataset.

Scenario: Compare the shipping cost for different products of provinces of East China.

  1. Log on to the Quick BI console.
  2. Click Datasets to enter the Datasets page.
  3. Click the Create Dashboard icon on the right side of the company_sales_record dataset.
  4. Click the Bar icon, a bar chart appears in the display area of the dashboard.
  5. On the dimensions list, drag area to the Filters area.

    You can search for the East China area by using filters as shown in the following figure.



  6. Click the Filter icon. Select Filter by Enumeration in the Set Filter dialog box that appears as shown in the following figure.


  7. Select East China and click OK.
  8. Drag province and product_type to the Category Axis (Dimensions) area in turn.
    Note You must ensure that you have changed the province field from the string type to the location type.
  9. On the Measures list, drag shipping_cost to the Value Axis (Measures) area.
  10. Drag the product_type field to the Colors (Dimensions) area.
    Note You can add dimensions to the Colors (Dimensions) area when only one measure is added to the Value Axis (Measures) area. Otherwise, you are not allowed to add dimensions to the Colors (Dimensions) area.
  11. Click Update to update the chart.
  12. On the Style tab, you can change some items such as the title, layout, legend, and axis format of a chart.
    Note For more information about the Style tab, see Configure a chart.
  13. Click Save to save the dashboard.

If you want to delete the current chart, click More in the top-right corner of the chart and select Delete.