Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6425 มุมมอง

I have a model that contains create_date, field_1 and field_2 which are of float type, How can I display "create_date" in x-axis and the two other fields (field_1 and field_2) in y-axis in the same graph view ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

you can try this.

<record model="ir.ui.view" id="view_test_graph">

    <field name="name">Test</field>

    <field name="model">Model.name</field>

    <field name="arch" type="xml">

     <graph string="Data" type="bar">

        <field name="create_date" type="row"/>

        <field name="field_1" type="measure"/>

        &lt;field name="field_2" type="measure"/>

    </graph>

</field>

</record>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มิ.ย. 15
89
Open form in view mode? แก้ไขแล้ว
4
ธ.ค. 21
31875
6
ก.ย. 17
8109
3
ก.ค. 16
11401
0
มิ.ย. 15
3482