Community mailing list archives

Re: Set Line as a default graph type

Gaurav Kapse
- 09/19/2016 02:47:35
Hi Team,

Does anybody have any information how to set the line graph as a default graph type.
Thanks in advance.


On Mon, Sep 12, 2016 at 11:28 AM, Gaurav Kapse <> wrote:
Dear All,

I want to set the line graph as a default graph type and i am using the below code

<record id="trend_report_view_graph_date" model="ir.ui.view">
            <field name="name"></field>
            <field name="model"></field>
            <field name="arch" type="xml">
                <graph string="Trend Analysis" type="line">
                    <field name="tvalue" type="measure" operator="max"/>
                    <field name="date_of_sampling" type="col" interval="day"/>                  
                    <field name="testname" type="row"/>

But still i am not getting the desired result to set line graph as my default graph.
What else i need to do. Kindly advise.