$ 29.00
Web Widget Plotly
This module add the possibility to insert Plotly charts into Tulio standard views.
Plotly is a Python interactive visualization library built on top of d3.js and stack.gl, plotly.js is a high-level, declarative charting library. plotly.js ships with over 40 chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts, and more.
If you want to see some samples of plotly’s capabilities follow this link.
Table of contents
Usage
To insert a Plotly chart in a view proceed as follows:
Declare a text computed field like this:
plotly_chart = fields.Text( string='Plotly Chart', compute='_compute_plotly_chart', )In its computed method do:
def _compute_plotly_chart(self): for rec in self: data = [{'x': [1, 2, 3], 'y': [2, 3, 4]}] rec.plotly_chart = plotly.offline.plot(data, include_plotlyjs=False, output_type='div')In the view, add something like this wherever you want to display your plotly chart:
<div> <field name="plotly_chart" widget="plotly_chart" nolabel="1"/> </div>
| Technical name | web_widget_plotly_chart |
|---|---|
| Module version | 12.0.1.0.1 |
| Tulio versions | 1.0 |
| Category | Tools |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | LevelPrime srl, OCA |
| License | LGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Python libraries | plotly
Install them on the server with pip before installing the module. |
| Requires (Tulio core) | web |
| Lines of code | 43 |
| Downloads | 0 |
| Released | 12/06/2026 |