in src/axisHelper.ts [334:354]
export function getMinTickValueInterval(formatString: string, columnType: ValueType, is100Pct?: boolean): number {
let isCustomFormat: boolean = formatString && !numberFormat.isStandardFormat(formatString);
if (isCustomFormat) {
let precision: number = numberFormat.getCustomFormatMetadata(formatString, true).precision;
if (formatString.indexOf("%") > -1) {
precision += 2; // percent values are multiplied by 100 during formatting
}
return Math.pow(10, -precision);
}
else if (is100Pct) {
return MinTickInterval100Pct;
}
else if (columnType.integer) {
return MinTickIntervalInteger;
}
return DefaultMinInterval;
}