UNPKG

@sheetxl/models

Version:

Models - A Headless javascript spreadsheet library.

124 lines 4.47 kB
export const ZERO_MARGIN: Readonly<{ top: 0; right: 0; bottom: 0; left: 0; }>; export const ZERO_RECT: Readonly<{ left: 0; top: 0; width: 0; height: 0; }>; /** * This is an array that is the ordered list markers as they are rendered * When the marker is automatic the marker is cycling through series or points */ export const MARKER_KEYS: string[]; export const DEFAULT_MARKER_SIZE: 5; export const builtInDisplayUnitsKeys: string[]; export namespace builtInDisplayUnits { namespace none { let description: string; let multi: number; } namespace hundreds { let description_1: string; export { description_1 as description }; let multi_1: number; export { multi_1 as multi }; } namespace thousands { let description_2: string; export { description_2 as description }; let multi_2: number; export { multi_2 as multi }; } namespace tenThousands { let description_3: string; export { description_3 as description }; let multi_3: number; export { multi_3 as multi }; } namespace hundredThousands { let description_4: string; export { description_4 as description }; let multi_4: number; export { multi_4 as multi }; } namespace millions { let description_5: string; export { description_5 as description }; let multi_5: number; export { multi_5 as multi }; } namespace tenMillions { let description_6: string; export { description_6 as description }; let multi_6: number; export { multi_6 as multi }; } namespace hundredMillions { let description_7: string; export { description_7 as description }; let multi_7: number; export { multi_7 as multi }; } namespace billions { let description_8: string; export { description_8 as description }; let multi_8: number; export { multi_8 as multi }; } namespace trillions { let description_9: string; export { description_9 as description }; let multi_9: number; export { multi_9 as multi }; } } export function displayUnitsText(displayUnit: any): any; export function adjustForDisplayUnit(value: any, displayUnit: any): any; export function allowDisplayUnit(axis: any): boolean; export function numberSetter(customValues: any, min: any, max: any, customValidation: any): (value: any) => any; export function getValueAsDisplayNumber(value: any, dispNaAsBlank: any, dispBlanksAs: any, scaleType: any): any; export function isColumnType(chartType: any): boolean; export function isLineType(chartType: any): boolean; export function isVerticalType(chartType: any): boolean; export function isSmoothableType(chartType: any): boolean; export function isGroupableType(chartType: any): boolean; export function scatterHasLine(scatterStyle: any): any; export function supportsMarkers(chartType: any): boolean; export function isScatterType(type: any): boolean; export function isSingleSeries(type: any): boolean; export function calcDirection(valRange: any, range: any): "c" | "r"; export function opsDirection(direction: any): "c" | "r"; export function oppositeOrientation(value: any): any; export function isEmptyAtDepth(level: any, values: any): boolean; export function trimRect(outerRect: any, innerRect: any, position: any): any; export function expandRect(outerRect: any, amount: any, position: any): any; export function maxMargin(margin1: any, margin2: any): { top: number; right: number; bottom: number; left: number; }; export function applyMarginRect(bounds: any, margin: any): { left: any; top: any; width: number; height: number; }; export function applyAlignment(widthBounds: any, offsetBounds: any, widthElement: any, alignment: any): any; export function oppositeAlignment(alignment: any): any; export function adjustPositionMargin(position: any, margin: any, bounds: any): any; export function zeroPositionMargin(position: any, margin: any): any; export function calcAxisCrossValue(crosses: any, min: any, max: any, autoZero: any): any; export function calcPercent(value: any, min: any, max: any): number; export function unionRect(r1: any, r2: any): { left: number; top: number; width: number; height: number; }; //# sourceMappingURL=ChartUtils.d.ts.map