/** * guide 类型关键字(暴露给用户;成员值即 IR 判别串,裸字面量 `'axis'` 同样可用) * @description grammar-of-graphics 的 guide 是 scale 的可视化身(坐标轴 / 图例等) */ export declare const PlotGuide: { /** 坐标轴:轴线 + 刻度 + 刻度标签,可选对齐网格 */ readonly Axis: "axis"; /** 图例:把非位置 scale(颜色 / 尺寸 / 透明度 / 形状)可视化为 swatch / 色带 ramp / 分箱 / 梯度符号 */ readonly Legend: "legend"; }; /** * 坐标轴摆放方式关键字。 * @description auto 由坐标系按维度推断;side 使用笛卡尔式四边;edge 使用坐标系原生边 */ export declare const AxisPlacementKind: { /** 由坐标系和 dimension 自动推断 */ readonly Auto: "auto"; /** 放在 plotArea 的四个方向之一 */ readonly Side: "side"; /** 放在坐标系原生 edge 上,供 custom coordinate 使用 */ readonly Edge: "edge"; /** 穿过另一维指定数据值,仅 cartesian axis 支持 */ readonly Origin: "origin"; }; /** * 笛卡尔式四方向轴位置。 * @description 只表达 top/right/bottom/left;非四边形坐标系应使用 auto 或 edge */ export declare const AxisCardinalSide: { /** plotArea 上边 */ readonly Top: "top"; /** plotArea 右边 */ readonly Right: "right"; /** plotArea 下边 */ readonly Bottom: "bottom"; /** plotArea 左边 */ readonly Left: "left"; }; /** 坐标轴线范围关键字 */ export declare const AxisLineExtentTarget: { /** 使用完整 plot area 范围 */ readonly PlotArea: "plotArea"; }; /** * 坐标轴网格投放模式。 * @description `local` 只投放到坐标轴绑定的坐标视图;`all` 投放到组合结构选中的坐标视图;`selected` 使用显式选择器 */ export declare const AxisGridApplyTo: { /** 只投放到坐标轴绑定的坐标视图 */ readonly Local: "local"; /** 投放到组合结构选中的所有坐标视图 */ readonly All: "all"; /** 不为该坐标轴投放网格 */ readonly None: "none"; /** 只投放到选择器命中的坐标视图、分面面板或轨道 */ readonly Selected: "selected"; }; /** 固定间隔 tick source kind */ export declare const GuideTickIntervalKind: { /** 数值轴按固定数值步长生成 tick */ readonly Number: "number"; /** 时间轴按固定 UTC 时间单位生成 tick */ readonly Time: "time"; /** 分类型轴按类别序号间隔抽取 tick */ readonly Category: "category"; }; /** 时间间隔单位 */ export declare const GuideTickTimeUnit: { readonly Millisecond: "millisecond"; readonly Second: "second"; readonly Minute: "minute"; readonly Hour: "hour"; readonly Day: "day"; readonly Week: "week"; readonly Month: "month"; readonly Quarter: "quarter"; readonly Year: "year"; }; /** tick 可见密度策略 kind */ export declare const AxisTickDensityKind: { /** 保留全部候选 tick */ readonly All: "all"; /** 对候选 tick 做确定性抽样 */ readonly Sample: "sample"; }; /** tick mark 形态 kind */ export declare const AxisTickMarkKind: { /** 短线 tick mark */ readonly Line: "line"; /** 圆形 tick mark */ readonly Circle: "circle"; /** 方形 tick mark */ readonly Square: "square"; /** 三角形 tick mark */ readonly Triangle: "triangle"; /** 菱形 tick mark */ readonly Diamond: "diamond"; /** 自定义 core Node shape tick mark */ readonly Custom: "custom"; }; /** tick 端点避让影响范围 */ export declare const AxisTickEndpointAffect: { /** 只隐藏 tick mark,保留 tick label 与 grid */ readonly Mark: "mark"; /** 同时隐藏 tick mark 与 tick label,grid 仍使用原 tick source */ readonly MarkAndLabel: "mark-and-label"; }; /** shape tick mark 方向策略 */ export declare const AxisTickShapeOrientation: { /** 沿 tick 外法线方向 */ readonly Outward: "outward"; /** 沿 tick 内法线方向 */ readonly Inward: "inward"; /** 沿轴线切向 */ readonly Axis: "axis"; /** 使用显式 rotate 或 0 */ readonly Fixed: "fixed"; }; /** tick label 重叠隐藏策略 */ export declare const AxisTickLabelHideStrategy: { /** 顺序扫描,保留不与上一个可见 label 重叠的 label */ readonly Greedy: "greedy"; /** 先隔一个隐藏一个,不够时继续扩大步长 */ readonly Parity: "parity"; }; /** tick label 超出轴范围时的处理策略 */ export declare const AxisTickLabelOverflow: { /** 允许超出轴范围 */ readonly Allow: "allow"; /** 超出容忍范围时隐藏 */ readonly Hide: "hide"; /** 把首尾附近 label 推回轴范围内 */ readonly Flush: "flush"; }; /** axis title 沿轴线的定位关键字,复用 core path label position 词表 */ export declare const AxisTitlePlacementKeyword: { readonly AtStart: "at-start"; readonly VeryNearStart: "very-near-start"; readonly NearStart: "near-start"; readonly Midway: "midway"; readonly NearEnd: "near-end"; readonly VeryNearEnd: "very-near-end"; readonly AtEnd: "at-end"; }; /** axis title 对齐锚点 */ export declare const AxisTitleAnchor: { /** 由坐标轴和 title 位置自动推导 */ readonly Auto: "auto"; /** 沿轴线负方向一侧对齐 */ readonly Start: "start"; /** 居中对齐 */ readonly Center: "center"; /** 沿轴线正方向一侧对齐 */ readonly End: "end"; }; /** axis title 的纵向锚点 */ export declare const AxisTitleBaseline: { /** 文本顶部对齐锚点 */ readonly Top: "top"; /** 文本垂直居中对齐锚点 */ readonly Middle: "middle"; /** 文本底部对齐锚点 */ readonly Bottom: "bottom"; }; /** axis title 旋转策略 */ export declare const AxisTitleOrientation: { /** 使用坐标系和轴位置推导的默认旋转 */ readonly Auto: "auto"; /** 强制标题水平显示 */ readonly Horizontal: "horizontal"; /** 标题沿轴线切向显示 */ readonly Axis: "axis"; }; /** axis 交叉值处 tick mark 策略 */ export declare const AxisCrossingTickPolicy: { /** 显示交叉值 tick mark */ readonly Show: "show"; /** 隐藏交叉值 tick mark */ readonly Hide: "hide"; }; /** axis 交叉值处 tick label 策略 */ export declare const AxisCrossingLabelPolicy: { /** 显示交叉值 tick label */ readonly Show: "show"; /** 隐藏交叉值 tick label */ readonly Hide: "hide"; /** 将交叉值 tick label 放到交叉点角落 */ readonly Corner: "corner"; }; /** axis 交叉值 label 的角落位置 */ export declare const AxisCrossingCorner: { /** 左上角 */ readonly TopLeft: "top-left"; /** 右上角 */ readonly TopRight: "top-right"; /** 左下角 */ readonly BottomLeft: "bottom-left"; /** 右下角 */ readonly BottomRight: "bottom-right"; }; /** * 图例摆放位置关键字(暴露给用户;裸字面量 `'right'` 同样可用) * @description 决定 legend 占据 plotArea 哪一边的预留带;省略默认 right(默认值在 lowering 给) */ export declare const LegendPosition: { /** plotArea 右侧 */ readonly Right: "right"; /** plotArea 左侧 */ readonly Left: "left"; /** plotArea 上方 */ readonly Top: "top"; /** plotArea 下方 */ readonly Bottom: "bottom"; }; /** * 图例条目排布方向关键字(暴露给用户;裸字面量 `'vertical'` 同样可用) * @description 省略默认按 position(左右→vertical、上下→horizontal),默认值在 lowering 给 */ export declare const LegendOrient: { /** 纵向堆叠(条目自上而下) */ readonly Vertical: "vertical"; /** 横向排布(条目自左而右) */ readonly Horizontal: "horizontal"; }; /** * 图例符号尺寸适配策略。 * @description fit 会把 size legend 的符号压入 symbolSize 盒子;preserve 保留通道 descriptor 的原始半径 */ export declare const LegendSymbolFit: { /** 压入 legend symbol 盒子 */ readonly Fit: "fit"; /** 保留 descriptor 半径 */ readonly Preserve: "preserve"; }; //# sourceMappingURL=constants.d.ts.map