Open oconnorssoftware opened 6 years ago
Could I use this extension in sencha js with the 4.2 version of ext js? If I could, how would?
Unfortunately EXT 4.2 is an entirely different animal that includes a build step among other things. It really would not be possible to use this extension as is in ext 4.2.
Thanks, I found this kind of charts on sencha Js, not the same but works.
The below code will update the project to support ChartJS 2.7.1.
`/*
Ext.ns("Ext.ux");
/**
@author Urs Wolfer */ Ext.ux.Chartjs = Ext.extend(Ext.BoxComponent, { autoEl : "canvas",
type: null, data: null, options: {},
afterRender: function() { Ext.ux.Chartjs.superclass.afterRender.call(this);
} });
Ext.reg("chartjs", Ext.ux.Chartjs);`