mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 20:59:08 +02:00
Further reformatted scale.linear.js to match original indenting.
Refactored and fixed scale calculation. Added dist files to commit.
This commit is contained in:
parent
85de9fbe9c
commit
098b05f1b2
14
Chart.min.js
vendored
14
Chart.min.js
vendored
File diff suppressed because one or more lines are too long
@ -171,8 +171,10 @@
|
||||
}
|
||||
|
||||
if (this.options.ticks.fixedStepSize && this.options.ticks.fixedStepSize > 0) {
|
||||
for (var j = this.min; j <= this.max; ++j) {
|
||||
this.ticks.push(j * this.options.ticks.fixedStepSize);
|
||||
var j = this.min;
|
||||
while (j <= this.max) {
|
||||
this.ticks.push(j);
|
||||
j += this.options.ticks.fixedStepSize;
|
||||
}
|
||||
} else {
|
||||
var niceRange = helpers.niceNum(this.max - this.min, false);
|
||||
|
Loading…
Reference in New Issue
Block a user