แผนภูมิ¶
แผนภูมิแสดงข้อมูลเป็นภาพ ทำให้เป็นวิธีที่เป็นมิตรต่อผู้ใช้ในการแสดงรูปแบบ แนวโน้ม และความสัมพันธ์ระหว่างข้อมูล
Tip
Charts can be created manually based on spreadsheet data or inserted directly from an Odoo graph view.
สร้างแผนภูมิ¶
วิธีสร้างแผนภูมิด้วยตนเอง:
เลือกเซลล์ที่มีข้อมูลที่คุณต้องการแสดงด้วยแผนภูมิ
คลิก:menuselection:`Insert --> Chart`จากแถบเมนู
ทำการเปลี่ยนแปลงที่ต้องการกับการกำหนดค่าหรือการออกแบบของแผนภูมิใน: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: best for showing trends or changes over time, such as sales growth across months or temperature variations.
Stacked Line: useful for visualizing cumulative trends where multiple series contribute to a total, like revenue by department over time.
Combo: combines multiple chart types (e.g., bars and lines) to compare different data types or highlight key metrics alongside trends.
Column: ideal for comparing values across discrete categories, such as sales per product or revenue by region.
Stacked Column: displays part-to-whole relationships within categories, such as regional contributions to total sales.
Bar: similar to a column chart but horizontal, making it better for comparing long category names or datasets.
Stacked Bar: highlights cumulative contributions across categories, often used in demographic or resource allocation analysis.
Area: similar to a line chart but fills the area beneath the lines to emphasize magnitude, perfect for cumulative metrics over time.
Stacked Area: visualizes the composition of changes over time, such as market share by product category.
Pie: best for showing proportions or percentages of a whole, such as market share or budget allocation.
Doughnut: รูปแบบหนึ่งของแผนภูมิวงกลมที่มีจุดศูนย์กลางกลวง ให้กรณีการใช้งานที่คล้ายกันแต่มีสุนทรียภาพที่ทันสมัย
Sunburst: รูปแบบหนึ่งของกราฟโดนัทที่มีวงแหวนแบบลำดับชั้น แสดงความสัมพันธ์ระหว่างส่วนย่อยกับทั้งหมดในหลายระดับ
Treemap: กราฟสี่เหลี่ยมหลายระดับที่แสดงข้อมูลแบบลำดับชั้นผ่านสี่เหลี่ยมที่ซ้อนกัน เหมาะสำหรับการแสดงสัดส่วนและหมวดหมู่
Scatter: เหมาะสำหรับการวิเคราะห์ความสัมพันธ์หรือความสัมพันธ์เชิงสหสัมพันธ์ระหว่างตัวแปรเชิงตัวเลขสองตัว เช่น ราคากับปริมาณที่ขาย
Waterfall: เหมาะสำหรับการแสดงภาพผลกระทบสะสมของค่าบวกและลบที่เรียงลำดับกัน เช่น การวิเคราะห์กำไร/ขาดทุน
Population Pyramid: กราฟเฉพาะทางสำหรับการเปรียบเทียบการกระจาย มักใช้ในด้านประชากรศาสตร์ เช่น การวิเคราะห์กลุ่มอายุและเพศ
Radar: แสดงข้อมูลหลายตัวแปรเป็นรูปหลายเหลี่ยมบนแกนที่แผ่ออกจากจุดศูนย์กลาง ช่วยให้เปรียบเทียบรูปแบบข้อมูลในหลายตัวแปร
Filled radar: เติมพื้นที่ภายในรูปหลายเหลี่ยมของกราฟเรดาร์ เน้นขนาดโดยรวมของค่าต่างๆ ในแอตทริบิวต์ต่างๆ เพื่อการเปรียบเทียบ
Geo: แสดงภาพข้อมูลบนแผนที่โดยใช้การเปลี่ยนแปลงสีเพื่อแสดงค่าหรือหมวดหมู่ในภูมิภาคทางภูมิศาสตร์ต่างๆ
Funnel: แสดงภาพข้อมูลที่ลดลงอย่างต่อเนื่องในแต่ละขั้นตอนของกระบวนการ พร้อมตัวเลือกในการแสดงข้อมูลสะสมสำหรับแต่ละขั้นตอน
เมื่อสร้างกราฟจากข้อมูลในสเปรดชีต แทนที่จะแทรกกราฟจากมุมมองกราฟ ประเภทกราฟต่อไปนี้ก็สามารถใช้ได้เช่นกัน:
Gauge: displays progress toward a goal or a single key metric, such as performance against a target.
Scorecard: used to summarize key performance indicators (KPIs) in a compact format, such as total sales or conversion rates, and compare to a baseline or a previous value.
ออกแบบ¶
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 การลบแผนภูมิจะลบ แหล่งข้อมูล พื้นฐานของแผนภูมิด้วย