AyaWo.Web/Content/zui/dist/lib/chart/zui.chart.js
(开头部分) 132KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*!
* ZUI: Chart.js - v1.7.0 - 2017-06-17
* http://zui.sexy
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2017 cnezsoft.com; Licensed MIT
*/
/* ========================================================================
* Chart.js: Chart.Core.js [Version: 1.0.2]
* http://chartjs.org/
*
* ZUI: The file has been changed in ZUI. It will not keep update with the
* official version in the future.
* http://zui.sexy
* ========================================================================
* Copyright 2015 Nick Downie, Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
* ======================================================================== */
/*!
* Chart.js 1.0.2
* Copyright 2015 Nick Downie
* Released under the MIT license
* http://chartjs.org/
*/
/// ----- ZUI change begin -----
/// Add jquery object to namespace
/// (function(){ // Old code
(function($) {
/// ----- ZUI change end -----
"use strict";
//Declare root variable - window in the browser, global on the server
/// ----- ZUI change begin -----
/// Change root to zui shared object
///
/// var root = this, // old code
var root = $ && $.zui ? $.zui : this,
/// ----- ZUI change end -----
previous = root.Chart;
//Occupy the global variable of Chart, and create a simple base class
var Chart = function(context) {
var chart = this;
this.canvas = context.canvas;
this.ctx = context;
//Variables global to the chart
var computeDimension = function(element, dimension) {
if(element['offset' + dimension]) {
return element['offset' + dimension];
} else {
return document.defaultView.getComputedStyle(element).getPropertyValue(dimension);
后面还有 3206 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。