Geminate Web Kanban Graph Widget
Web Kanban Graph Widget
This module enables feature to add graph into kanbanview based on combination of fields on individual record to represent data graphically. You can add all numeric fields in graph widget which can be mainly used for comparison. i.e field1, field2, field3 etc.
To use this module, you need to add widget="graph_kanban" to your binary field in your kanban. You can use "graph_kanban" widget like this:
field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin" options="{'field_list':{'amount_untaxed':'#3e95cd','amount_tax':'#8e5ea2','amount_total':'#3cba9f'},'graph_type': 'pie'}"
Fields which are being used for graph must be present in kanban view.
i.e <field name="amount_tax" invisible="1">,
<field name="amount_untaxed" invisible="1">
Graph Kanban Type:
-----------------------
Pie
Bar
Line
Doughnut
Polar
Note: Extensively Tested on Odoo Vanilla with Ubuntu OS
Screenshots
Sale Order
Pie Chart Graph Kanban
Syntax:
-----------------------
<field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin"
options="{'field_list':{'amount_untaxed':'#3e95cd', 'amount_tax':'#8e5ea2', 'amount_total':'#3cba9f'},'graph_type': 'pie'}" >
Screenshot:
-----------------------
Bar Chart Graph Kanban
Syntax:
-----------------------
<field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin"
options="{'field_list':{'amount_untaxed':'#3e95cd', 'amount_tax':'#8e5ea2', 'amount_total':'#3cba9f'},'graph_type': 'bar'}" >
Screenshot:
-----------------------
Line Chart Graph Kanban
Syntax:
-----------------------
<field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin"
options="{'field_list':{'amount_untaxed':'#3e95cd', 'amount_tax':'#8e5ea2', 'amount_total':'#3cba9f'},'graph_type': 'line'}" >
Screenshot:
-----------------------
Doughnut Chart Graph Kanban
Syntax:
-----------------------
<field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin"
options="{'field_list':{'amount_untaxed':'#3e95cd', 'amount_tax':'#8e5ea2', 'amount_total':'#3cba9f'},'graph_type': 'doughnut'}" >
Screenshot:
-----------------------
Polar Chart Graph Kanban
Syntax:
-----------------------
<field name="graph_kanban" widget="graph_kanban" title="Sale Profit Margin"
options="{'field_list':{'amount_untaxed':'#3e95cd', 'amount_tax':'#8e5ea2', 'amount_total':'#3cba9f'},'graph_type': 'polar'}" >
Screenshot:
-----------------------