File "core.ticks.d.ts"

Full Path: /home/humancap/cl.humancap.com.my/assessment/cl-admin/assets/vendor/chart.js/core/core.ticks.d.ts
File size: 1.26 KB
MIME-type: text/plain
Charset: utf-8

declare namespace _default {
    export { formatters };
}
export default _default;
declare namespace formatters {
    /**
     * Formatter for value labels
     * @method Chart.Ticks.formatters.values
     * @param value the value to display
     * @return {string|string[]} the label to display
     */
    function values(value: any): string | string[];
    /**
     * Formatter for numeric ticks
     * @method Chart.Ticks.formatters.numeric
     * @param tickValue {number} the value to be formatted
     * @param index {number} the position of the tickValue parameter in the ticks array
     * @param ticks {object[]} the list of ticks being converted
     * @return {string} string representation of the tickValue parameter
     */
    function numeric(tickValue: number, index: number, ticks: any[]): string;
    /**
     * Formatter for logarithmic ticks
     * @method Chart.Ticks.formatters.logarithmic
     * @param tickValue {number} the value to be formatted
     * @param index {number} the position of the tickValue parameter in the ticks array
     * @param ticks {object[]} the list of ticks being converted
     * @return {string} string representation of the tickValue parameter
     */
    function logarithmic(tickValue: number, index: number, ticks: any[]): string;
}