50 lines
1.1 KiB
JavaScript
50 lines
1.1 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.isBandScaleConfig = isBandScaleConfig;
|
|
exports.isPointScaleConfig = isPointScaleConfig;
|
|
exports.isSymlogScaleConfig = isSymlogScaleConfig;
|
|
/**
|
|
* Use this type instead of `AxisScaleConfig` when the values
|
|
* shouldn't be provided by the user.
|
|
*/
|
|
|
|
/**
|
|
* Config that is shared between cartesian and polar axes.
|
|
*/
|
|
|
|
/**
|
|
* Use this type for advanced typing. For basic usage, use `XAxis`, `YAxis`, `RotationAxis` or `RadiusAxis`.
|
|
*/
|
|
|
|
function isBandScaleConfig(scaleConfig) {
|
|
return scaleConfig.scaleType === 'band';
|
|
}
|
|
function isPointScaleConfig(scaleConfig) {
|
|
return scaleConfig.scaleType === 'point';
|
|
}
|
|
function isSymlogScaleConfig(scaleConfig) {
|
|
return scaleConfig.scaleType === 'symlog';
|
|
}
|
|
|
|
/**
|
|
* The data format returned by onAxisClick.
|
|
*/
|
|
|
|
/**
|
|
* Identifies a data point within an axis.
|
|
*/
|
|
|
|
/**
|
|
* The axis configuration with missing values filled with default values.
|
|
*/
|
|
|
|
/**
|
|
* The x-axis configuration with missing values filled with default values.
|
|
*/
|
|
|
|
/**
|
|
* The y-axis configuration with missing values filled with default values.
|
|
*/ |