[IMP]show stackbarchart when there is group and improved code for legend and color.
bzr revid: kch@tinyerp.com-20110506124108-ov131ru1os1acel6
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
<template>
|
||||
<t t-name="GraphView">
|
||||
<h2 class="oe_view_title"><t t-esc="fields_view.arch.attrs.string"/></h2>
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<div t-att-id="chart+'chart'" style="width:900px;height:500px;border:1px solid #A4BED4;"></div>
|
||||
</td>
|
||||
<!--<td><div id="barchart" style="width:900px;height:500px;border:1px solid #A4BED4;"></div></td>
|
||||
<td>
|
||||
<div id="piechart" style="width:600px;height:250px;border:1px solid #A4BED4;"></div>
|
||||
<div id="stackedchart" style="width:600px;height:250px;border:1px solid #A4BED4;"></div>
|
||||
</td> -->
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<div t-att-id="chart+'chart'" style="width:900px;height:500px;border:1px solid #A4BED4;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</t>
|
||||
</template>
|
||||
Reference in New Issue
Block a user