mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Build latest output files for new version
This commit is contained in:
parent
95844701bd
commit
3e1b120cbe
8
Chart.js
vendored
8
Chart.js
vendored
@ -873,7 +873,9 @@
|
|||||||
yMin;
|
yMin;
|
||||||
helpers.each(this.datasets, function(dataset){
|
helpers.each(this.datasets, function(dataset){
|
||||||
dataCollection = dataset.points || dataset.bars || dataset.segments;
|
dataCollection = dataset.points || dataset.bars || dataset.segments;
|
||||||
|
if (dataCollection[dataIndex]){
|
||||||
Elements.push(dataCollection[dataIndex]);
|
Elements.push(dataCollection[dataIndex]);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
helpers.each(Elements, function(element) {
|
helpers.each(Elements, function(element) {
|
||||||
@ -1996,6 +1998,7 @@
|
|||||||
datasetObject.bars.push(new this.BarClass({
|
datasetObject.bars.push(new this.BarClass({
|
||||||
value : dataPoint,
|
value : dataPoint,
|
||||||
label : data.labels[index],
|
label : data.labels[index],
|
||||||
|
datasetLabel: dataset.label,
|
||||||
strokeColor : dataset.strokeColor,
|
strokeColor : dataset.strokeColor,
|
||||||
fillColor : dataset.fillColor,
|
fillColor : dataset.fillColor,
|
||||||
highlightFill : dataset.highlightFill || dataset.fillColor,
|
highlightFill : dataset.highlightFill || dataset.fillColor,
|
||||||
@ -2470,8 +2473,7 @@
|
|||||||
datasetObject.points.push(new this.PointClass({
|
datasetObject.points.push(new this.PointClass({
|
||||||
value : dataPoint,
|
value : dataPoint,
|
||||||
label : data.labels[index],
|
label : data.labels[index],
|
||||||
// x: this.scale.calculateX(index),
|
datasetLabel: dataset.label,
|
||||||
// y: this.scale.endPoint,
|
|
||||||
strokeColor : dataset.pointStrokeColor,
|
strokeColor : dataset.pointStrokeColor,
|
||||||
fillColor : dataset.pointColor,
|
fillColor : dataset.pointColor,
|
||||||
highlightFill : dataset.pointHighlightFill || dataset.pointColor,
|
highlightFill : dataset.pointHighlightFill || dataset.pointColor,
|
||||||
@ -3079,6 +3081,7 @@
|
|||||||
datasetObject.points.push(new this.PointClass({
|
datasetObject.points.push(new this.PointClass({
|
||||||
value : dataPoint,
|
value : dataPoint,
|
||||||
label : data.labels[index],
|
label : data.labels[index],
|
||||||
|
datasetLabel: dataset.label,
|
||||||
x: (this.options.animation) ? this.scale.xCenter : pointPosition.x,
|
x: (this.options.animation) ? this.scale.xCenter : pointPosition.x,
|
||||||
y: (this.options.animation) ? this.scale.yCenter : pointPosition.y,
|
y: (this.options.animation) ? this.scale.yCenter : pointPosition.y,
|
||||||
strokeColor : dataset.pointStrokeColor,
|
strokeColor : dataset.pointStrokeColor,
|
||||||
@ -3233,6 +3236,7 @@
|
|||||||
this.eachPoints(function(point){
|
this.eachPoints(function(point){
|
||||||
point.save();
|
point.save();
|
||||||
});
|
});
|
||||||
|
this.reflow();
|
||||||
this.render();
|
this.render();
|
||||||
},
|
},
|
||||||
reflow: function(){
|
reflow: function(){
|
||||||
|
4
Chart.min.js
vendored
4
Chart.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user