mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
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;
|
|
}
|