export declare type AxisFormatterObject = { value: string; }; export declare type AxisLabelsOptions = { /** * Callback JavaScript function to * format the label. The value is given by `this.value`. Additional * properties for `this` are `axis`, `chart`, `isFirst` and `isLast`. The * value of the default label formatter can be retrieved by calling * `this.axis.defaultLabelFormatter.call(this)` within the function. * * 用例:(item) => item.value */ formatter?: (object: AxisFormatterObject) => string; }; /** * The type of axis. Can be one of linear, logarithmic, datetime. * In a datetime axis, the numbers are given in milliseconds, * and tick marks are placed on appropriate values like full hours or days. * * Defaults to linear. */ export declare type AxisTypeValue = 'linear' | 'logarithmic' | 'datetime';