// The CanvasJS library (see https://canvasjs.com/) // // This passes json.data directly to the CanvasJS.Chart constructor, // then calls render() on the resulting object. // After the rendering is complete, we then resize the output element to // be large enough to contain the chart that has been created within it, // because CanvasJS does not do so automatically. // See the documentation here for details regarding the format: // https://canvasjs.com/docs/charts/chart-types/
window.VisualizationTools.canvasjs = function ( element, json, callback ) {
require( [ 'canvasjs' ], function ( canvasjs ) {
( new window.CanvasJS.Chart( element, json.data ) ).render();
window.resizeToShowContents( element );
callback( element, element.childNodes[0] );
} );
};
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.