关闭

.highcharts 函数

标签: jquery
468人阅读 评论(0) 收藏 举报
分类:

关于 $('#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]) { 
                        .....
                          


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:66716次
    • 积分:997
    • 等级:
    • 排名:千里之外
    • 原创:6篇
    • 转载:173篇
    • 译文:0篇
    • 评论:0条