UNPKG

@adyen/lume-vue3

Version:

Lume is a Vue data visualization component library, built with Typescript and D3.

16 lines 684 B
import { Ref } from 'vue'; import { Scale } from './scales'; import type { InternalData } from '@/types/dataset'; import type { ContainerSize } from '@/types/size'; import type { Orientation } from '@/types/utils'; export declare function checkNegativeValues(data: Ref<InternalData>): { hasNegativeValues: import("vue").ComputedRef<boolean>; }; export declare function useNegativeValues(containerSize?: ContainerSize, xScale?: Ref<Scale>, yScale?: Ref<Scale>, orientation?: Ref<Orientation>): { negativeBarAttributes: import("vue").ComputedRef<{ width: number; height: number; transform: string; }>; }; //# sourceMappingURL=negative-values.d.ts.map