I'm using C3.js and Plotly.js charts and according to the manual it should be possible to add a javascript template file to set options. My question is what options can be set? The documented options in ART or the "all" options available in C3.js / Plotly.js?
And, what should be the structure of such a template file? Can somebody provide a working example?
Thanks!
Last edit: Pierre 2020-05-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you set the options defined in the manual, you may not need a javascript file, at least for the plotly charts. The demo has some sample c3.js reports and you can find the template files in the js-templates folder of the webapp. The javascript file has no particular format. It just allows you to do additional customization according to the c3 or plotly documentation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using C3.js and Plotly.js charts and according to the manual it should be possible to add a javascript template file to set options. My question is what options can be set? The documented options in ART or the "all" options available in C3.js / Plotly.js?
And, what should be the structure of such a template file? Can somebody provide a working example?
Thanks!
Last edit: Pierre 2020-05-28
If you set the options defined in the manual, you may not need a javascript file, at least for the plotly charts. The demo has some sample c3.js reports and you can find the template files in the js-templates folder of the webapp. The javascript file has no particular format. It just allows you to do additional customization according to the c3 or plotly documentation.
Hi Timothy, thanks it works now.