Stacks
Stack shapes, placing one adjacent to another, as in a stacked bar chart.堆叠形状,将一个形状相邻放置,如在堆叠条形图中。
- d3.stack - create a new stack generator.创建一个新的堆栈生成器。
- stack - generate a stack for the given dataset.为给定的数据集生成堆栈。
- stack.keys - set the keys accessor.设置密钥访问器。
- stack.value - set the value accessor.设置值访问器。
- stack.order - set the order accessor.设置顺序访问器。
- stack.offset - set the offset accessor.设置偏移访问器。
- d3.stackOrderAppearance - put the earliest series on bottom.将最早的序列放在底部。
- d3.stackOrderAscending - put the smallest series on bottom.将最小的序列放在底部。
- d3.stackOrderDescending - put the largest series on bottom.将最大的序列放在底部。
- d3.stackOrderInsideOut - put earlier series in the middle.将更早的序列放在底部。
- d3.stackOrderNone - use the given series order.使用给定的序列顺序
- d3.stackOrderReverse - use the reverse of the given series order.使用与给定序列顺序相反的顺序
- d3.stackOffsetExpand - normalize the baseline to zero and topline to one.将基线规格化为零,将背线规格化为一
- d3.stackOffsetDiverging - positive above zero; negative below zero.零以上为正;零下为负数。
- d3.stackOffsetNone - apply a zero baseline.应用零基线
- d3.stackOffsetSilhouette - center the streamgraph around zero.将流图中心在零附近
- d3.stackOffsetWiggle - minimize streamgraph wiggling.最小化流图抖动。