Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4087 Zobrazení

I'd like to display a graph in odoo. in which i have two fields:

Date in the x-axis.

Boolean in the y-axis.

odoo use the nvd3.js to display this charts,

this is the view.xml:


<record model="ir.ui.view" id="id_view">
    <field name="name">test.base.graph.view16</field>
    <field name="model">module.base</field>
    <field name="type">graph</field>
    <field name="arch" type="xml">
        <graph string="test" type="bar" >
            <field name="date" interval="day" type="row"/>
            <field name="boolean" type="measure"/>
    </graph>
</field>

</record>


this code doesn't work for me, it return an empty graph. any one have idea about this issue.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 23
2393
0
lis 22
2517
1
říj 22
1737
1
dub 22
5347
1
čvn 15
5157