チャート

グラフはデータを視覚的に表示するため、データ間のパターン、傾向、関係を示すユーザーフレンドリーな方法です。

グラフを作成する

勘定科目表を手動で作成するには:

  1. グラフで表現したいデータを含むセルを選択します。

  2. メニューバーから挿入 ‣ グラフをクリックします。

    ちなみに

    Odooは選択されたデータに最も適切なグラフタイプを使用します。これはスプレッドシートの右側に開くグラフ物件の設定セクションで変更できます。

  3. グラフ物件でグラフの設定やデザインに必要な変更を加えます。

グラフのカスタマイズ

A chart that has been created manually or inserted from an Odoo graph view can be further customized via the chart properties.

ここでは、それぞれ設定タブとデザインタブを介してグラフの設定とデザインのさまざまな側面を変更できます。

ちなみに

グラフの物件には次のようにいつでもアクセスできます:

  • 手動で作成されたかOdooビューから挿入されたかにかかわらず、任意のグラフにカーソルを合わせて(メニュー)アイコンをクリックし、編集をクリックします。

  • Odooグラフビューから挿入されたグラフの場合、メニューバーのデータをクリックし、(グラフ)アイコンが前に付いた関連するグラフ(例: (#1) 販売分析)を選択します。

設定

設定)タブには、以下のセクションが含まれています:

  • グラフタイプ:グラフの種類。次の場合のグラフについて:

    • 手動で作成された場合、これはデフォルトでOdooが提案するグラフタイプです。

    • Odooグラフビューから挿入された場合、これはデフォルトでグラフがスプレッドシートに挿入される前にグラフビューで選択されたグラフのタイプです。

    グラフタイプを変更するには、ドロップダウンメニューをクリックして目的のグラフタイプを選択します。

  • Domain: どのレコードを表示するかを決定するために使用されるルール。ルールを追加または編集するには、:ref:`Edit domain <search/custom-filters>`をクリックします。

  • 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.

グラフタイプ

グラフが次の場合:

折れ線グラフアイコン

:月ごとの売上成長や温度変動など、時間経過に伴う傾向や変化を示すのに最適です。

積み上げ折れ線グラフアイコン

積み上げ行:時間経過に伴う部門別収益など、複数のシリーズが合計に寄与する累積傾向を視覚化するのに便利です。

コンボグラフアイコン

コンボ:複数のグラフタイプ(棒グラフと折れ線グラフなど)を組み合わせて、異なるデータタイプを比較したり、傾向とともに主要な指標を強調したりします。

デザイン

Depending on the chart type, the Design tab has one or more sections.

The General section allows you to modify the following elements:

  • Background color: Add or change the background color by clicking on the color dot. Choose one of the standard colors or click the icon to manually select a custom color.

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

  • Legend position: Change the position of the legend or opt to have no legend.

  • Enable Show values to add numeric values to the data points on the chart.

The Data Series section allows you to modify the following elements:

  • Series color: With the relevant data series selected, change the color of the related data points on the chart by clicking on the color dot circle. Choose one of the standard colors or click the icon to manually select a custom color.

  • Series name: Edit the name of a data series, if needed.

  • Serie type: For each data series of a Combo chart, determine whether the series is shown as a Bar or Line.

  • Vertical axis: For the selected data series of a Line, Area, or Column chart, select whether it should be displayed on the Left (primary) or Right (secondary) vertical axis.

  • Trend line: With the relevant data series selected, enable Show trend line then select the type of trend line from the dropdown; the options are Linear, Exponential, Polynomial, Logarithmic, and Trailing moving average. The color of the trend line can be changed by clicking on the color circle.

The Axes section allows you add a title to one or both axes of a chart. The font formatting, horizontal alignment, font size, and color of the title can be modified using the editor.

Waterfall charts have a dedicated Waterfall design section.

勘定科目表を管理する

同じシート内でグラフの位置を変更するには、グラフを選択してから目的の位置にドラッグします。グラフのサイズを変更するには、グラフを選択してから青いマーカーをクリックしてドラッグし、目的のサイズにします。

グラフの上にカーソルを合わせると、グラフの右上隅に メニューアイコンが表示されます。メニューをクリックすると、次のオプションが表示されます:

  • 編集をクリックするとグラフのプロパティが開き、グラフの設定やデザインのさまざまな側面を変更できます。

  • コピーまたは 切り取りを使用して、*同じスプレッドシート内*に貼り付ける目的でグラフをコピーまたは切り取ります。または、グラフを選択した状態で、関連するキーボードショートカットを使用してグラフをコピーまたは切り取ります。

    メニューバーから編集 ‣ 貼り付けをクリックするか、関連するキーボードショートカットを使用して、目的の場所にグラフを貼り付けます。

    注釈

    Odooのグラフビューから挿入されたグラフの場合、この方法でグラフをコピー/切り取りして貼り付けると、グラフとデータベース間のリンクが維持されます。貼り付けられたグラフのデータは最新の状態に保たれ、データポイントをクリックするとデータベース内の関連するリストビューが開きます。

  • 画像としてコピーを使用して、*スプレッドシート内外の任意の場所*に貼り付ける目的で、グラフの画像をクリップボードにコピーします。

    貼り付け先プログラムの貼り付け機能または関連するキーボードショートカットを使用して、目的の場所に画像を貼り付けます。

    注釈

    Odooのグラフビューから挿入されたグラフの場合、グラフの静的画像をコピーして貼り付けると、グラフとデータベース間のリンクはなくなります。

  • ダウンロードを使用して、グラフの画像を`.png`ファイルとしてダウンロードします。

  • 削除を使用して、スプレッドシートからグラフを削除します。または、お好みのキーボードコマンドを使用してグラフを削除します。

    注釈

    Odooのグラフビューから挿入されたグラフの場合、グラフを削除すると、グラフの基礎となるデータソースも削除されます。