@patternfly/react-charts
Version:
This library provides a set of React chart components for use with the PatternFly reference implementation.
27 lines • 1.49 kB
TypeScript
import { ChartThemeDefinition } from '../../ChartTheme';
interface ChartBulletScaleInterface {
defaultSize: number;
height: number;
horizontal?: boolean;
scale?: number;
value: number;
width: number;
}
export declare const scaleBarWidth: (props: ChartBulletScaleInterface) => number;
export declare const scaleSize: ({ value, ...rest }: ChartBulletScaleInterface) => number;
interface ChartBulletSizeInterface {
height: number;
horizontal?: boolean;
theme?: ChartThemeDefinition;
themeColor?: string;
themeVariant?: string;
width: number;
}
export declare const getComparativeMeasureErrorWidth: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export declare const getComparativeMeasureWidth: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export declare const getComparativeMeasureWarningWidth: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export declare const getPrimaryDotMeasureSize: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export declare const getPrimarySegmentedMeasureWidth: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export declare const getQualitativeRangeBarWidth: ({ height, horizontal, themeColor, width, theme }: ChartBulletSizeInterface) => number;
export {};
//# sourceMappingURL=chart-bullet-size.d.ts.map