It has been decided to use Chart.js instead of nvd3 to render charts. In this commit the graph view has been largely rewritten to benefit from the options offered by Chart.js. Task ID: 1946138
11 lines
311 B
XML
11 lines
311 B
XML
<template>
|
|
|
|
<t t-name="web.PieChart">
|
|
<graph type="pie" t-att-title="title">
|
|
<field t-att-name="modifiers.groupby.split(':')[0]" t-att-interval="modifiers.groupby.split(':')[1]"/>
|
|
<field t-if="modifiers.measure" t-att-name="modifiers.measure" type="measure"/>
|
|
</graph>
|
|
</t>
|
|
|
|
</template>
|