fix #258. Compare page and Performance pages are featured with formatted x ticks.
The author supposes this issue is not a bug but a feature.
This commit is contained in:
@@ -476,6 +476,7 @@ export default {
|
||||
}
|
||||
|
||||
// Customize X axis ticks due to different differences between min and max of data group
|
||||
// Compare page and Performance page share the same logic
|
||||
const formatToSet = setTimeStringFormatBaseOnTimeDifference(minX, maxX);
|
||||
const ticksOfXAxis = mapTimestampToAxisTicksByFormat(xLabelData, formatToSet);
|
||||
const customizedScaleOption = this.getCustomizedScaleOption(
|
||||
|
||||
Reference in New Issue
Block a user