当前位置:网站首页>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>
样式:
边栏推荐
- Let you understand several common traffic exposure schemes in kubernetes cluster
- Data Lake: spark, a distributed open source processing engine
- 输入的查询SQL语句,是如何执行的?
- pulsar起client客户端时(client,producer,consumer)各个配置
- WPS插入超链接无法打开,提示“无法打开指定文件”怎么办!
- Using jupyter (I), install jupyter under windows, open the browser, and modify the default opening address
- Introduction of JDBC preparestatement+ database connection pool
- Reveal installation configuration debugging
- Delete blank pages in word documents
- Mysql:the user specified as a definer ('root '@'%) does not exist
猜你喜欢

Flink+Iceberg环境搭建及生产问题处理

Mysql各版本下载地址及多版本共存安装

The difference between the two ways of thread implementation - simple summary

Introduction of JDBC preparestatement+ database connection pool

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

What if excel is stuck and not saved? The solution of Excel not saved but stuck

How to monitor micro web services

如何避免示波器电流探头损坏

The song of the virtual idol was originally generated in this way!

A little knowledge about management
随机推荐
Install the gym corresponding to mujoco in the spinning up tutorial, and the error mjpro150 is reported
Recommendation system of online education
Command line interactive tools (latest version) inquirer practical tutorial
Sguard64.exe ace guard client exe: frequent disk reading and writing, game jamming, and Solutions
IOS interview preparation - IOS
Traffic flow prediction pit climbing record (I): traffic flow data set, original data
Correct user dragging method
Take you to understand JS array
Original code, inverse code, complement code
What if excel is stuck and not saved? The solution of Excel not saved but stuck
Wechat picture identification
Solve the warning prompt of MySQL mapping file
Download addresses of various versions of MySQL and multi version coexistence installation
【微信小程序】swiper滑动页面,滑块左右各露出前后的一部分,露出一部分
EF core: one to one, many to many configuration
office2010每次打开都要配置进度怎么解决?
Sparksql inserts or updates in batches and saves data to MySQL
让你的正则表达式可读性提高一百倍
Use more flexible and convenient Rogowski coil
1 sentence of code, get asp Net core binds multiple sources to the same class