ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
28 lines (27 loc) • 996 B
TypeScript
import { BBox } from '../bbox';
import { Path } from './path';
export declare class RadialColumnShape<D = any> extends Path<D> {
static readonly className = "RadialColumnShape";
isBeveled: boolean;
columnWidth: number;
startAngle: number;
endAngle: number;
outerRadius: number;
innerRadius: number;
axisInnerRadius: number;
axisOuterRadius: number;
set cornerRadius(_value: number);
protected computeBBox(): BBox;
private getRotation;
private normalizeRadii;
updatePath(): void;
private updateRectangularPath;
private calculateCircleIntersection;
private calculateBothIntersections;
private calculateAxisOuterIntersections;
private moveToRotated;
private lineToRotated;
private renderTopWithCornerClipping;
private updateBeveledPath;
}
export declare function getRadialColumnWidth(startAngle: number, endAngle: number, axisOuterRadius: number, columnWidthRatio: number, maxColumnWidthRatio: number): number;