0
我使用Chart.js來生成一些圖表。使庫僅適用於特定功能
不幸的是,這個庫沒有我想要的所有圖表。
但是,我發現fork of this library,它實現了我需要的其餘圖表,但他們缺少的功能。
我不能經常使用這兩個庫,因爲他們與其他每個 衝突。是否有可能在全球範圍內無法訪問一個庫,但只能通過某種功能訪問該庫?
E.g:
//This function to interact only with Chart.js
var myLineChart = new Chart(ctx).Line(data, {
bezierCurve: false, pointDotRadius : 10
});
//But this to interact only with ChartNew.js
var myStackedBarChart = new Chart(ctx).StackedBar(data, options);
這真誠地讓我的一天。 – 2014-09-10 09:51:14