first commit
This commit is contained in:
31
wwwroot/lib/chart-js/core/core.ticks.d.ts
vendored
Normal file
31
wwwroot/lib/chart-js/core/core.ticks.d.ts
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user