圖表

圖表以視覺方式呈現資料,使其成為顯示資料之間模式、趨勢和關係的使用者友善方式。

建立圖表

若要手動建立圖表:

  1. 選擇包含您要使用圖表表示之資料的儲存格。

  2. 從選單列按一下插入 ‣ 圖表

    小訣竅

    Odoo uses the most appropriate chart type for the selected data; this can be changed in the configuration section of the chart properties, which opens on the right side of the spreadsheet.

  3. Make any desired changes to the configuration or design of the chart in the chart properties.

圖表類型

當圖表為:

折線圖圖示

:最適合顯示隨時間變化的趨勢或變化,例如各月份的銷售成長或溫度變化。

堆疊折線圖圖示

堆疊線:用於視覺化多個系列對總計有貢獻的累積趨勢,例如各部門隨時間變化的收入。

图表属性设置

When you create a chart manually or insert a chart from an Odoo graph view into a spreadsheet, the chart properties appear in a pane on the right side of the spreadsheet. Here, it is possible to modify various aspects of the chart’s configuration and design via the Configuration and Design tabs respectively.

小訣竅

可隨時存取圖表的屬性,方法如下:

  • 對於任何圖表,無論是手動建立還是從 Odoo 檢視插入,將游標停留在圖表上,然後按一下選單圖示並按一下編輯

  • 對於從 Odoo 圖表檢視插入的圖表,在選單列上按一下資料,然後選擇相關圖表,前面會有圖表圖示,例如 (#1) 銷售分析

配置

配置分頁包含以下部分:

  • 圖表類型:圖表的類型。對於已:

    • 手動建立時,這是Odoo預設建議的圖表類型;

    • 從Odoo圖表檢視中插入時,這是將圖表插入試算表之前在圖表檢視中選擇的預設圖表類型。

    若要變更圖表類型,請按一下下拉式選單以選擇所需的圖表類型。

  • 網域:用於決定要顯示哪些記錄的規則。按一下編輯網域以加入或編輯規則。

  • Link to Odoo menu: to add a clickable link from a chart to an Odoo menu item, i.e., a specific view of a model.

設計

根據圖表類型,設計分頁有一個或多個區段。

The General section lets you modify the following elements:

  • 背景顏色:按一下顏色點以加入或變更背景顏色。選擇其中一種標準顏色,或按一下圖示以手動選擇自訂顏色。

  • Chart title: Edit the chart title, if needed. The font formatting, horizontal alignment and color of the title can be modified using the editor.

  • Vertical axis position: Choose whether the vertical axis is placed on the left or right in line, column, and area charts.

  • 圖例位置:變更圖例的位置或選擇不顯示圖例。

  • 啟用顯示值以將數值加入到圖表上的資料點。

  • Enable Show trend line to add a trend line to line, column, and area charts.

For line, column, and area charts, the Axis section lets you add a title to one or both axes. The font formatting, horizontal alignment, and color of the title can be modified using the editor.