mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
add web_widget_mpld3_chart
This commit is contained in:
committed by
Lois Rilo
parent
5ced8beb3b
commit
9421d0e578
@@ -0,0 +1,17 @@
|
||||
odoo.define('web_widget_mpld3_chart', function (require) {
|
||||
"use strict";
|
||||
|
||||
var fieldRegistry = require('web.field_registry');
|
||||
var AbstractField = require('web.AbstractField');
|
||||
|
||||
var Mpld3ChartWidget = AbstractField.extend({
|
||||
start: function() {
|
||||
var val = this.value;
|
||||
this.$el.html(val);
|
||||
}
|
||||
});
|
||||
fieldRegistry.add('mpld3_chart', Mpld3ChartWidget);
|
||||
return {
|
||||
Mpld3ChartWidget: Mpld3ChartWidget
|
||||
};
|
||||
});
|
||||
5
web_widget_mpld3_chart/static/src/lib/d3/d3.v3.min.js
vendored
Normal file
5
web_widget_mpld3_chart/static/src/lib/d3/d3.v3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1539
web_widget_mpld3_chart/static/src/lib/mpld3/mpld3.v0.3.1.dev1.js
Normal file
1539
web_widget_mpld3_chart/static/src/lib/mpld3/mpld3.v0.3.1.dev1.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user