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 ?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
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"/>
<field name="field_2" type="measure"/>
</graph>
</field>
</record>
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia| Related Posts | Replies | Zobrazenia | Aktivita | |
|---|---|---|---|---|
|  | 0 jún 15  | 89 | ||
| 
            
                Open form in view mode?
            
            
                    Solved
            
         |  | 4 dec 21  | 33015 | |
|  | 6 sep 17  | 9093 | ||
|  | 3 júl 16  | 11980 | ||
|  | 0 jún 15  | 3891 |