This commit is contained in:
Mike Bostock 2016-06-25 09:31:50 -07:00
Родитель f391b90138
Коммит 7c5054cc86
1 изменённых файлов: 11 добавлений и 0 удалений

11
API.md
Просмотреть файл

@ -907,6 +907,10 @@ An area, defined by a bounding topline and baseline, as in an area chart.
* [*area*.defined](https://github.com/d3/d3-shape#area_defined) - set the defined accessor.
* [*area*.curve](https://github.com/d3/d3-shape#area_curve) - set the curve interpolator.
* [*area*.context](https://github.com/d3/d3-shape#area_context) - set the rendering context.
* [*area*.lineX0](https://github.com/d3/d3-shape#area_lineX0) -
* [*area*.lineX1](https://github.com/d3/d3-shape#area_lineX1) -
* [*area*.lineY0](https://github.com/d3/d3-shape#area_lineY0) -
* [*area*.lineY1](https://github.com/d3/d3-shape#area_lineY1) -
* [d3.radialArea](https://github.com/d3/d3-shape#radialArea) - create a new radial area generator.
* [*radialArea*](https://github.com/d3/d3-shape#_radialArea) - generate an area for the given dataset.
* [*radialArea*.angle](https://github.com/d3/d3-shape#radialArea_angle) - set the start and end angle accessors.
@ -918,6 +922,10 @@ An area, defined by a bounding topline and baseline, as in an area chart.
* [*radialArea*.defined](https://github.com/d3/d3-shape#radialArea_defined) - set the defined accessor.
* [*radialArea*.curve](https://github.com/d3/d3-shape#radialArea_curve) - set the curve interpolator.
* [*radialArea*.context](https://github.com/d3/d3-shape#radialArea_context) - set the rendering context.
* [*radialArea*.lineStartAngle](https://github.com/d3/d3-shape#area_lineStartAngle) -
* [*radialArea*.lineEndAngle](https://github.com/d3/d3-shape#area_lineEndAngle) -
* [*radialArea*.lineInnerRadius](https://github.com/d3/d3-shape#area_lineInnerRadius) -
* [*radialArea*.lineOuterRadius](https://github.com/d3/d3-shape#area_lineOuterRadius) -
### [Curves](https://github.com/d3/d3-shape#curves)
@ -927,12 +935,15 @@ Interpolate between points to produce a continuous shape.
* [d3.curveBasisClosed](https://github.com/d3/d3-shape#curveBasisClosed) - a closed cubic basis spline.
* [d3.curveBasisOpen](https://github.com/d3/d3-shape#curveBasisOpen) - a cubic basis spline.
* [d3.curveBundle](https://github.com/d3/d3-shape#curveBundle) - a straightened cubic basis spline.
* [*bundle*.beta](https://github.com/d3/d3-shape#bundle_beta) -
* [d3.curveCardinal](https://github.com/d3/d3-shape#curveCardinal) - a cubic cardinal spline, with one-sided difference at each end.
* [d3.curveCardinalClosed](https://github.com/d3/d3-shape#curveCardinalClosed) - a closed cubic cardinal spline.
* [d3.curveCardinalOpen](https://github.com/d3/d3-shape#curveCardinalOpen) - a cubic cardinal spline.
* [*cardinal*.tension](https://github.com/d3/d3-shape#cardinal_tension) -
* [d3.curveCatmullRom](https://github.com/d3/d3-shape#curveCatmullRom) - a cubic Catmull–Rom spline, with one-sided difference at each end.
* [d3.curveCatmullRomClosed](https://github.com/d3/d3-shape#curveCatmullRomClosed) - a closed cubic Catmull–Rom spline.
* [d3.curveCatmullRomOpen](https://github.com/d3/d3-shape#curveCatmullRomOpen) - a cubic Catmull–Rom spline.
* [*catmullRom*.alpha](https://github.com/d3/d3-shape#catmullRom_alpha) -
* [d3.curveLinear](https://github.com/d3/d3-shape#curveLinear) - a polyline.
* [d3.curveLinearClosed](https://github.com/d3/d3-shape#curveLinearClosed) - a closed polyline.
* [d3.curveMonotoneX](https://github.com/d3/d3-shape#curveMonotoneX) - a cubic spline that, given monotonicity in *x*, preserves it in *y*.