import { CoordinateComponent as CC } from '../runtime'; import { TransposeCoordinate } from '../spec'; export type TransposeOptions = Omit; /** * Transpose transformation for transposing chart according to center of canvas. */ export const Transpose: CC = () => [ ['transpose'], ['translate', 0.5, 0.5], ['reflect.x'], ['translate', -0.5, -0.5], ]; Transpose.props = { transform: true };