mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Category Scale fixed
This commit is contained in:
parent
cfc008686b
commit
63b7b18b17
2
Chart.js
vendored
2
Chart.js
vendored
@ -2090,7 +2090,7 @@
|
||||
}
|
||||
|
||||
// Height
|
||||
if (!this.isHorizontal()) {
|
||||
if (this.isHorizontal()) {
|
||||
var labelHeight = (Math.cos(helpers.toRadians(this.labelRotation)) * longestLabelWidth) + 1.5 * this.options.labels.fontSize;
|
||||
minSize.height = Math.min(labelHeight, maxHeight);
|
||||
} else if (this.options.display) {
|
||||
|
||||
2
Chart.min.js
vendored
2
Chart.min.js
vendored
File diff suppressed because one or more lines are too long
@ -122,7 +122,7 @@
|
||||
}
|
||||
|
||||
// Height
|
||||
if (!this.isHorizontal()) {
|
||||
if (this.isHorizontal()) {
|
||||
var labelHeight = (Math.cos(helpers.toRadians(this.labelRotation)) * longestLabelWidth) + 1.5 * this.options.labels.fontSize;
|
||||
minSize.height = Math.min(labelHeight, maxHeight);
|
||||
} else if (this.options.display) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user