mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[9.0][ADD] web_widget_bokeh_chart
This commit is contained in:
committed by
Christopher Ormaza
parent
dd34be2563
commit
42d66d62c6
@@ -0,0 +1,21 @@
|
||||
odoo.define('web_widget_bokeh_chart', function (require) {
|
||||
"use strict";
|
||||
|
||||
var core = require('web.core');
|
||||
var form_common = require('web.form_common');
|
||||
var formats = require('web.formats');
|
||||
var Model = require('web.Model');
|
||||
|
||||
var QWeb = core.qweb;
|
||||
|
||||
var BokehChartWidget = form_common.AbstractField.extend({
|
||||
render_value: function() {
|
||||
var val = this.get('value');
|
||||
this.$el.html(val);
|
||||
}
|
||||
});
|
||||
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
|
||||
return {
|
||||
BokehChartWidget: BokehChartWidget
|
||||
};
|
||||
});
|
||||
535
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.css
Normal file
535
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.css
Normal file
File diff suppressed because one or more lines are too long
44686
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.js
Normal file
44686
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.js
Normal file
File diff suppressed because one or more lines are too long
1835
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.css
Normal file
1835
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.css
Normal file
File diff suppressed because it is too large
Load Diff
5383
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.js
Normal file
5383
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user