diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-06-20 20:13:04 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-06-20 20:13:04 +0530 |
| commit | 235cca3aabd83d23cca0d93852bdaf55d9183667 (patch) | |
| tree | 057938018dd13626794be8b756de566a599b7cfe /addons/web_graph/static/src/xml/web_graph.xml | |
| parent | 596ebb826f981ab1077f192f6dd5aca1e2c72a22 (diff) | |
| parent | 590937d49a802f4565daa712f1e0d63c96b0bf6b (diff) | |
[MERGE]merge with trunk and remove conflicts.
bzr revid: vme@tinyerp.com-20120620144304-yr9zodv1skkrlccf
Diffstat (limited to 'addons/web_graph/static/src/xml/web_graph.xml')
| -rw-r--r-- | addons/web_graph/static/src/xml/web_graph.xml | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml index 90349623946..e1d9ba29a75 100644 --- a/addons/web_graph/static/src/xml/web_graph.xml +++ b/addons/web_graph/static/src/xml/web_graph.xml @@ -1,4 +1,41 @@ <template> - <div t-name="GraphView" t-att-id="element_id+'-'+chart+'chart'" - style="height:300px;position:relative;"/> -</template>
\ No newline at end of file + <div t-name="GraphView" id="element-chart" class="editor-render" style="position:relative; width: 300px;"> + <div class="graph_header_legend"> + </div> + <a href="#" class="oe_i dropdown-menu-icon" data-toggle="dropdown" title="Graph Options">B</a> + <div class="graph-dropdown"> + <h3 class="menu-section"> + Graph Mode + </h3> + <ul class="graph-menu oe_graph_options"> + <li><a href="#" data-mode="pie">Pie</a></li> + <li><a href="#" data-mode="bar" data-legend="top" data-stacked="true">Bars</a> + </li> + <li><a href="#" data-mode="line">Lines</a></li> + <li><a href="#" data-mode="area" data-legend="top" data-stacked="true">Areas</a> + </li> + <li><a href="#" data-mode="radar" data-legend="inside" + data-orientation="0">Radar</a></li> + </ul> + <h3 class="menu-section"> + Legend + </h3> + <ul class="graph-menu oe_graph_options"> + <li><a href="#" data-legend="no">Hidden</a></li> + <li><a href="#" data-legend="inside">Inside</a></li> + <li><a href="#" data-legend="top">Top</a></li> + </ul> + <h3 class="menu-section"> + Actions + </h3> + <ul class="graph-menu"> + <li><a href="#" id="graph_switch">Switch Axis</a></li> + <li><a href="#" id="graph_show_data">Show Data</a></li> + <li><a href="#" id="graph_download">Download as PNG</a></li> + </ul> + </div> + <div id="editor-render-body"> + </div> + </div> + +</template> |
