package.dist.components.graphs.skeleton.d.ts Maven / Gradle / Ivy
import { ScaleLinear, Selection } from 'd3';
import { Component } from '../component';
export declare class Skeleton extends Component {
type: string;
xScale: ScaleLinear;
yScale: ScaleLinear;
backdrop: Selection;
render(animate?: boolean): void;
renderSkeleton(showShimmerEffect: boolean): void;
renderGridSkeleton(showShimmerEffect: boolean): void;
renderVertOrHorizSkeleton(showShimmerEffect: boolean): void;
renderPieSkeleton(showShimmerEffect: boolean): void;
renderDonutSkeleton(showShimmerEffect: boolean): void;
setScales(): void;
drawBackdrop(showShimmerEffect: boolean): void;
drawXGrid(showShimmerEffect: boolean): void;
drawYGrid(showShimmerEffect: boolean): void;
drawRing(outerRadius: number, innerRadius: number, shimmer?: boolean): void;
computeOuterRadius(): number;
computeInnerRadius(): number;
setShimmerEffect(gradientId: string): void;
removeSkeleton(): void;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy