Configure a polar area chart

Updated at:
Copy as MD

A polar area chart uses a polar coordinate system in which each category occupies an equal angle and the radius of each segment represents the category's value. You can add a polar area chart to a dashboard to compare proportions across categories.

Prerequisites

Overview

image

  1. Query and analyze data: Run query statements in the Simple Log Service console to retrieve, aggregate, and analyze logs.

  2. Configure a polar area chart: Add a polar area chart to a dashboard to visualize your data.

Step 1: Query and analyze data

  1. Log on to the Simple Log Service console. In the Projects section, click the project you want.

    image

  2. In the left-side navigation pane, click Log Storage. In the Logstores list, click the target Logstore.

  3. Enter the following query statement and click Search & Analyze to view the logs.

    * | SELECT COUNT(*) as c, request_time group by request_time 

Step 2: Configure a polar area chart

  1. In the left-side navigation pane, choose Dashboard > Dashboards. In the Dashboard list, click the target dashboard. In the upper-right corner, click Edit. In edit mode, choose Add > Add Chart.

  2. In the right-side panel, select General Configurations > Chart Type > image. On the left side of the page, configure the time range, Logstore, and query statement. Click Apply at the top of the page to preview the chart.

    • General Configurations > Pie Chart Configurations > Pie Chart Type: Select Polar Area Chart.

    • General Configurations > Pie Chart Configurations > Scale Text Format: Select Percentage to display the scale text in percentage format, such as 1.98%.

    • General Configurations > Pie Chart Configurations > Show Scale Text: Enable this option to display scale text on the chart.

    For example, set the Logstore to website_log and the query statement to * | SELECT COUNT(*) as c, request_time group by request_time.