All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.jwic.controls.chart.api.Chart.js Maven / Gradle / Ivy

There is a newer version: 5.3.43
Show newest version
#set($fld = $control.getField("content"))
{

	/**
	 * Invoked after the DOM element was updated. This function is NOT updated
	 * if the custom doUpdate function returned true.
	 */
	afterUpdate: function(element) {
		var config = $control.getConfigurationJSON();
		var options = $control.buildJsonOptions();
		var labelData = $control.model.labelsJson;
		var dataset = $control.model.datasetsJson;
		if (options.chartType=="overlay")
			var yaxes = $control.model.yaxesJson;
		else
			var yaxes = null;
		
		JWic.controls.Chart.initialize('$control.controlID', options, config, labelData, dataset, yaxes);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy