Updated build and documentation

This commit is contained in:
Robert Becker 2016-02-09 13:04:07 +01:00
parent e9c18f603d
commit 55f9b68b0c
3 changed files with 2 additions and 3 deletions

1
Chart.js vendored
View File

@ -5765,7 +5765,6 @@
var niceMin = Math.floor(this.min / spacing) * spacing;
var niceMax = Math.ceil(this.max / spacing) * spacing;
var numSpaces = (niceMax - niceMin) / spacing;
console.log(this.min, this.max, niceMin, niceMax, numSpaces, spacing);
// If very close to our rounded value, use it.
if (helpers.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {

2
Chart.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -134,7 +134,7 @@ It also provides additional configuration options:
Name | Type | Default | Description
--- |:---:| --- | ---
*ticks*.fixedStepSize | Number | - | User defined fixed step size for the scale. If set, the scale ticks will be enumerated by multiple of fixedStepSize, having one tick per increment. If not set, the ticks are labeled automatically using the nice numbers algorithm. Works well with suggestedMin and suggestedMax.
*ticks*.fixedStepSize | Number | - | User defined fixed step size for the scale. If set, the scale ticks will be enumerated by multiple of fixedStepSize, having one tick per increment. If not set, the ticks are labeled automatically using the nice numbers algorithm.
#### Logarithmic Scale
The logarithmic scale is used to display logarithmic data of course. It can be placed on either the x or y axis.