|
|
|
@ -762,8 +762,6 @@ Licensed under the MIT license.
|
|
|
|
family: placeholder.css("font-family")
|
|
|
|
family: placeholder.css("font-family")
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fontDefaults.lineHeight = fontDefaults.size * 1.15;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
axisCount = options.xaxes.length || 1;
|
|
|
|
axisCount = options.xaxes.length || 1;
|
|
|
|
for (i = 0; i < axisCount; ++i) {
|
|
|
|
for (i = 0; i < axisCount; ++i) {
|
|
|
|
|
|
|
|
|
|
|
|
@ -780,6 +778,9 @@ Licensed under the MIT license.
|
|
|
|
if (!axisOptions.font.color) {
|
|
|
|
if (!axisOptions.font.color) {
|
|
|
|
axisOptions.font.color = axisOptions.color;
|
|
|
|
axisOptions.font.color = axisOptions.color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!axisOptions.font.lineHeight) {
|
|
|
|
|
|
|
|
axisOptions.font.lineHeight = Math.round(axisOptions.font.size * 1.15);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -799,6 +800,9 @@ Licensed under the MIT license.
|
|
|
|
if (!axisOptions.font.color) {
|
|
|
|
if (!axisOptions.font.color) {
|
|
|
|
axisOptions.font.color = axisOptions.color;
|
|
|
|
axisOptions.font.color = axisOptions.color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!axisOptions.font.lineHeight) {
|
|
|
|
|
|
|
|
axisOptions.font.lineHeight = Math.round(axisOptions.font.size * 1.15);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|