* Horizontal axes with center positions should have labels
* Linting
* Test updates
* Increase the tolerance for one test
} else {
textOffset = (-1 * labelSizes.highest.height) + (0.5 * lineHeight);
}
- } else if (position === 'bottom') {
+ } else {
+ // eslint-disable-next-line no-lonely-if
if (crossAlign === 'near' || rotation !== 0) {
textOffset = Math.sin(rotation) * halfCount * lineHeight;
textOffset += (rotation === 0 ? 0.5 : Math.cos(rotation) * halfCount) * lineHeight;
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
},
"y": {
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
}
}
"canvas": {
"height": 256,
"width": 512
- }
+ },
+ "spriteText": true
}
}
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
},
"y": {
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
}
}
"canvas": {
"height": 256,
"width": 512
- }
+ },
+ "spriteText": true
}
}
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
},
"y": {
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
}
}
"canvas": {
"height": 256,
"width": 512
- }
+ },
+ "spriteText": true
}
}
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
},
"y": {
"drawOnChartArea": false
},
"ticks": {
- "display": false
+ "display": true
}
}
}
"canvas": {
"height": 256,
"width": 512
- }
- }
+ },
+ "spriteText": true
+ },
+ "tolerance": 0.01
}