当前位置:网站首页>ODOO开发教程之图表
ODOO开发教程之图表
2022-07-29 04:57:00 【中亿丰数字科技集团有限公司】
ODOO开发教程之图表
图表:
type
指定默认显示的图形,默认为bar,可选项有 ‘pie’、‘line’
stacked
仅在 bar中使用,对数据进行堆叠展示
type 指示是将字段用作分组条件还是用作组内的汇总值,
如果type=‘row’,按指定字段分组,每个分组都有自己的行。
如果type=‘col’,根据指定字段,按列进行分组
如果type=‘measure ’,需要聚合的字段
<record id="epidemic_record_graph_view" model="ir.ui.view">
<field name="name">疫情记录图表</field>
<field name="model">epidemic.record</field>
<field name="arch" type="xml">
<graph>
<field name="is_ill" type="col"/>
<field name="state" type="row"/>
</graph>
</field>
</record>
样式:
边栏推荐
- 五个关联分析,领略数据分析师一大重要必会处理技能
- MySQL定时调用预置函数完成数据更新
- The difference between the two ways of thread implementation - simple summary
- stack和queue和优先级队列(大堆和小堆)模拟实现和仿函数讲解
- 数据湖:分布式开源处理引擎Spark
- Opencv learning 1 (environment configuration)
- SGuard64.exe ACE-Guard Client EXE:造成磁盘经常读写,游戏卡顿,及解决方案
- JS daily question (11)
- WPS如何进行快速截屏?WPS快速截屏的方法
- IDEA中使用注解Test
猜你喜欢
Climbing the pit of traffic flow prediction (III): using pytorch to realize LSTM to predict traffic flow
虚拟偶像的歌声原来是这样生成的!
Use jupyter (2) to establish shortcuts to open jupyter and common shortcut keys of jupyter
Flutter 手势监听和画板实现
怎样监测微型的网站服务
IOS interview preparation - Online
Excel卡住了没保存怎么办?Excel还没保存但是卡住了的解决方法
Corresponding order of 18 and 25coco data of openpose and joint points
带你一文理解JS数组
How does excel filter out the content you want? Excel table filtering content tutorial
随机推荐
Academic | [latex] super detailed texlive2022+tex studio download installation configuration
Use jupyter (2) to establish shortcuts to open jupyter and common shortcut keys of jupyter
Data Lake: spark, a distributed open source processing engine
Mapper agent development
软件测试面试题(四)
Exception - ...MaxUploadSizeExceededException: Maximum upload size exceeded; nested exception is ...
JS daily question (10)
Introduction to auto.js script development
PHP判断用户是否已经登录,如果登录则显示首页,如果未登录则进入登录页面或注册页面
搭建手机APP需要用到什么服务器
Climbing the pit of traffic flow prediction (III): using pytorch to realize LSTM to predict traffic flow
Five correlation analysis, one of the most important skills of data analysts
After the spinning up installation is completed, use the tutorial to test whether it is successful. There are library "Glu" not found and 'from pyglet.gl import * error solutions
MySQL regularly calls preset functions to complete data update
Implementation of img responsive pictures (including the usage of srcset attribute and sizes attribute, and detailed explanation of device pixel ratio)
新产品上市最全推广方案
Sparksql inserts or updates in batches and saves data to MySQL
What servers are needed to build mobile app
Conv1d of torch
ios面试准备 - objective-c篇