Ordinal Scales
Map a discrete domain to a discrete range.将离散域映射到离散范围。
- d3.scaleOrdinal - create an ordinal scale.创建顺序刻度。
- ordinal - compute the range value corresponding to a given domain value.计算与给定域值对应的范围值。
- ordinal.domain - set the input domain.设置输入域。
- ordinal.range - set the output range.设置输出范围。
- ordinal.unknown - set the output value for unknown inputs.设置未知输入的输出值。
- ordinal.copy - create a copy of this scale.创建此比例的副本。
- d3.scaleImplicit - a special unknown value for implicit domains.隐式域的特殊未知值
- d3.scaleBand - create an ordinal band scale.创建一个有序的乐队规模。
- band - compute the band start corresponding to a given domain value.计算与给定域值对应的频带起始值。
- band.domain - set the input domain.设置输入域。
- band.range - set the output range.设置输出范围。
- band.rangeRound - set the output range and enable rounding.设置输出范围并启用舍入。
- band.round - enable rounding.启用舍入。
- band.paddingInner - set padding between bands.在带之间设置填充。
- band.paddingOuter - set padding outside the first and last bands.在第一个和最后一个标注栏之外设置填充。
- band.padding - set padding outside and between bands.设置带外和带间的填充。
- band.align - set band alignment, if there is extra space.如果有额外空间,则设置标注栏对齐。
- band.bandwidth - get the width of each band.获取每个频带的宽度。
- band.step - get the distance between the starts of adjacent bands.获取相邻条带起点之间的距离。
- band.copy - create a copy of this scale.创建此比例的副本。
- d3.scalePoint - create an ordinal point scale.创建序号点比例。
- point - compute the point corresponding to a given domain value.计算与给定域值对应的点。
- point.domain - set the input domain.设置输入域。
- point.range - set the output range.设置输出范围。
- point.rangeRound - set the output range and enable rounding.设置输出范围并启用舍入。
- point.round - enable rounding.启用舍入
- point.padding - set padding outside the first and last point.在第一个和最后一个点之外设置填充。
- point.align - set point alignment, if there is extra space.在第一个和最后一个点之外设置填充
- point.bandwidth - returns zero.返回零。
- point.step - get the distance between the starts of adjacent points.获取相邻点起点之间的距离。
- point.copy - create a copy of this scale.创建此比例的副本。