แผนภูมิ

แผนภูมิแสดงข้อมูลเป็นภาพ ทำให้เป็นวิธีที่เป็นมิตรต่อผู้ใช้ในการแสดงรูปแบบ แนวโน้ม และความสัมพันธ์ระหว่างข้อมูล

สร้างแผนภูมิ

วิธีสร้างแผนภูมิด้วยตนเอง:

  1. เลือกเซลล์ที่มีข้อมูลที่คุณต้องการแสดงด้วยแผนภูมิ

  2. คลิก:menuselection:`Insert --> Chart`จากแถบเมนู

    Tip

    Odoo ใช้:ref:`ประเภทแผนภูมิ <spreadsheet/visualize/chart-types>`ที่เหมาะสมที่สุดสำหรับข้อมูลที่เลือก ซึ่งสามารถเปลี่ยนแปลงได้ในส่วนการกำหนดค่าของ:ref:`คุณสมบัติแผนภูมิ <spreadsheet/visualize/customize-charts>`ซึ่งเปิดที่ด้านขวาของสปรีดชีต

  3. ทำการเปลี่ยนแปลงที่ต้องการกับการกำหนดค่าหรือการออกแบบของแผนภูมิใน:ref:คุณสมบัติแผนภูมิ <spreadsheet/visualize/customize-charts>

ปรับแต่งแผนภูมิ

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

ที่นี่สามารถปรับเปลี่ยนแง่มุมต่างๆ ของการกำหนดค่าและการออกแบบของแผนภูมิผ่านแท็บ:icon:fa-sliders Configuration <spreadsheet/visualize/charts-configuration>`และ:icon:`fa-paint-brush :ref:`Design <spreadsheet/visualize/charts-design>`ตามลำดับ

Tip

สามารถเข้าถึงคุณสมบัติของแผนภูมิได้ตลอดเวลาดังนี้:

  • สำหรับแผนภูมิใดๆ ไม่ว่าจะสร้างด้วยตนเองหรือแทรกจากมุมมอง Odoo ให้เลื่อนเมาส์ไปที่แผนภูมิ จากนั้นคลิกไอคอน:icon:fa-bars (menu)`แล้วคลิก:icon:`fa-pencil-square-o Edit

  • สำหรับแผนภูมิที่แทรกจากมุมมองกราฟของ Odoo ให้คลิก:guilabel:Data`บนแถบเมนู จากนั้นเลือกแผนภูมิที่เกี่ยวข้อง ซึ่งนำหน้าด้วยไอคอน:icon:`fa-bar-chart (chart)`เช่น :icon:`fa-bar-chart (#1) การวิเคราะห์การขาย

การกำหนดค่า

Karta Konfigurace obsahuje následující sekce:

  • ประเภทแผนภูมิ: ประเภทของแผนภูมิ สำหรับแผนภูมิที่:

    • สร้างด้วยตนเอง นี่คือประเภทแผนภูมิเริ่มต้นที่ Odoo แนะนำ

    • แทรกจากมุมมองกราฟของ Odoo นี่คือประเภทแผนภูมิเริ่มต้นที่เลือกในมุมมองกราฟก่อนที่แผนภูมิจะถูกแทรกในสปรีดชีต

    หากต้องการเปลี่ยนประเภทแผนภูมิ ให้คลิกเมนูแบบเลื่อนลงเพื่อเลือกประเภทแผนภูมิที่ต้องการ

  • Domain: กฎที่ใช้กำหนดว่าระเบียนใดจะแสดง คลิก Edit domain เพื่อเพิ่มหรือแก้ไขกฎ

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

ประเภทแผนภูมิ

เมื่อแผนภูมิ:

  • :ref:`สร้างด้วยตนเอง <spreadsheet/visualize/create-chart>`สามารถเลือกประเภทแผนภูมิใดๆ ในแท็บด้านล่างได้

  • inserted directly from an Odoo graph view, any chart type except those shown in the Other tab can be selected.

Line chart icon

Line: best for showing trends or changes over time, such as sales growth across months or temperature variations.

Stacked line chart icon

Stacked Line: useful for visualizing cumulative trends where multiple series contribute to a total, like revenue by department over time.

Combo chart icon

Combo: combines multiple chart types (e.g., bars and lines) to compare different data types or highlight key metrics alongside trends.

ออกแบบ

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.

จัดการแผนภูมิ

หากต้องการเปลี่ยนตำแหน่งแผนภูมิภายในแผ่นงานเดียวกัน ให้เลือกแผนภูมิแล้วลากไปยังตำแหน่งที่ต้องการ ปรับขนาดแผนภูมิโดยเลือกแผนภูมิ จากนั้นคลิกและลากเครื่องหมายสีน้ำเงินจนกว่าแผนภูมิจะมีขนาดที่ต้องการ

การวางเมาส์เหนือแผนภูมิจะแสดงไอคอน เมนู ที่มุมบนขวาของแผนภูมิ คลิกที่เมนูเพื่อแสดงตัวเลือกต่อไปนี้:

  • แก้ไข เพื่อเปิด คุณสมบัติแผนภูมิ ซึ่งสามารถปรับเปลี่ยนด้านต่างๆ ของการกำหนดค่าและการออกแบบแผนภูมิได้

  • คัดลอก หรือ ตัด เพื่อคัดลอกหรือตัดแผนภูมิโดยมีเจตนาจะวาง ภายในสプรีดชีตเดียวกัน หรือเลือกแผนภูมิแล้วใช้แป้นพิมพ์ลัดที่เกี่ยวข้องเพื่อคัดลอกหรือตัดแผนภูมิ

    วางแผนภูมิในตำแหน่งที่ต้องการโดยคลิก แก้ไข ‣ วาง จากแถบเมนู หรือใช้แป้นพิมพ์ลัดที่เกี่ยวข้อง

    Note

    สำหรับแผนภูมิที่แทรกจากมุมมองกราฟ Odoo การคัดลอก/ตัดและวางแผนภูมิในลักษณะนี้จะรักษา การเชื่อมโยงระหว่างแผนภูมิกับฐานข้อมูลของคุณ ข้อมูลในแผนภูมิที่วางจะยังคงเป็นปัจจุบัน และ การคลิกที่จุดข้อมูล จะเปิดมุมมองรายการที่เกี่ยวข้องในฐานข้อมูล

  • คัดลอกเป็นรูปภาพ เพื่อคัดลอกรูปภาพของแผนภูมิไปยังคลิปบอร์ดโดยมีเจตนาจะวาง ในตำแหน่งใดๆ ภายในหรือภายนอกสปรีดชีตของคุณ

    วางรูปภาพในตำแหน่งที่ต้องการโดยใช้ฟังก์ชันวางของโปรแกรมปลายทางหรือแป้นพิมพ์ลัดที่เกี่ยวข้อง

    Note

    สำหรับแผนภูมิที่แทรกจากมุมมองกราฟ Odoo การคัดลอกและวางภาพคงที่ของแผนภูมิหมายความว่าจะไม่มีการเชื่อมโยงระหว่างแผนภูมิกับฐานข้อมูลของคุณอีกต่อไป

  • ดาวน์โหลด เพื่อดาวน์โหลดรูปภาพของแผนภูมิเป็นไฟล์ .png

  • ลบ เพื่อลบแผนภูมิออกจากสปรีดชีต หรือใช้คำสั่งแป้นพิมพ์ที่คุณต้องการเพื่อลบแผนภูมิ

    Note

    สำหรับแผนภูมิที่แทรกจากมุมมองกราฟ Odoo การลบแผนภูมิจะลบ แหล่งข้อมูล พื้นฐานของแผนภูมิด้วย