25-3.lines 线

155 阅读1分钟

Lines

A spline or polyline, as in a line chart.如在折线图中的一条线或多段线

  • d3.line - create a new line generator.创建一个新的线生成器。
  • line - generate a line for the given dataset.为给定的数据集生成一条线
  • line.x - set the x accessor.设置x访问器。
  • line.y - set the y accessor.设置y访问器。
  • line.defined - set the defined accessor.设置已定义的访问器。
  • line.curve - set the curve interpolator.曲线插值器。
  • line.context - set the rendering context.设置渲染上下文。
  • d3.lineRadial - create a new radial line generator.创建一个新的径向线生成器。
  • lineRadial - generate a line for the given dataset.为给定的数据集生成一行。
  • lineRadial.angle - set the angle accessor.设置角度访问器。
  • lineRadial.radius - set the radius accessor.设置radius访问器。
  • lineRadial.defined - set the defined accessor.设置已定义的访问器。
  • lineRadial.curve - set the curve interpolator.设置曲线插值器。
  • lineRadial.context - set the rendering context.设置渲染上下文。