.highcharts 函数

关于 $('#container').highcharts(options);

The .highcharts function is actually a part of a jQuery plugin used to create
the Highcharts.Chart objects. It uses jQuery's element selector (for example,
$('#container')) to find the element we want to render the chart to and renders the
chart inside that element.

在highcharts.src.js 文件中有如下片段:

/**
			 * Register Highcharts as a plugin in the respective framework
			 */
			$.fn.highcharts = function () {
				var constr = 'Chart', // default constructor
					args = arguments,
					options,
					ret,
					chart;

				if (this[0]) { 
                        .....
                          


你可能感兴趣的:(jquery)