Matej,
Thank you for your explanations , it already makes me feel a little more about the non-functioning of canvasjs in my widget !
However , the statement in the file Init.js still does not work and I do not understand why ...
In my ressources array there is :
resources = resources.concat([
window.apiUrl + 'dojo/resources/dojo.css',
window.apiUrl + 'dijit/themes/claro/claro.css',
window.apiUrl + 'esri/css/esri.css',
window.apiUrl + 'dojox/layout/resources/ResizeHandle.css',
window.path + 'jimu.js/css/jimu.css',
window.path + 'libs/canvasjs/canvasjs.js'
]);
And in my custom widget there is :
define([
'dojo/_base/declare',
'dijit/_WidgetsInTemplateMixin',
[...]
'CanvasJS'
],
function(
declare,
_WidgetsInTemplateMixin,
[...]
CanvasJS
){...
When I run my custom widget, in the console I see it seems to search canvasjs in http://js.arcgis.com/3.14/dojo/CanvasJS.js , whatever I do in the Init.js'code ...
Otherwise, I thank you for the track is cedar unfortunately I need pie and stacked percentage column chart and cedar doesn't seem to provide this kind of functionality ....
I'm a little stuck right now !