Skip to content

Migration to D3 version 4

Compare
Choose a tag to compare
@chrisprice chrisprice released this 05 Dec 10:40
· 1257 commits to master since this release

As with D3 version 4, the library is now split into modules covering the various areas of functionality. The documentation for each module can be found in its README following D3's conventions.

To find the relevant module, you can use the following table mapping the paths of the old components onto the new modules which contain them or at least equivalent functionality -

Old New
annotation/annotation.js n.a.
annotation/band.js d3fc-annotation
annotation/gridline.js d3fc-annotation
annotation/line.js d3fc-annotation
behavior/behavior.js n.a.
behavior/pointer.js d3fc-pointer
chart/cartesian.js d3fc-element (partially)
chart/chart.js n.a.
chart/smallMultiples.js d3fc-chart (todo)
chart/sparkline.js d3fc-chart (todo)
chart/tooltip.js deprecated
data/data.js n.a.
data/random/filter/skipWeekends.js d3fc-random-data
data/random/financial.js d3fc-random-data
data/random/random.js n.a.
data/random/walk.js d3fc-random-data
data/spread.js d3fc-group
fc.js n.a.
indicator/algorithm/algorithm.js d3fc-technical-indicator
indicator/algorithm/bollingerBands.js d3fc-technical-indicator
indicator/algorithm/elderRay.js d3fc-technical-indicator
indicator/algorithm/envelope.js d3fc-technical-indicator
indicator/algorithm/exponentialMovingAverage.js d3fc-technical-indicator
indicator/algorithm/forceIndex.js d3fc-technical-indicator
indicator/algorithm/macd.js d3fc-technical-indicator
indicator/algorithm/merge.js deprecated
indicator/algorithm/movingAverage.js d3fc-technical-indicator
indicator/algorithm/relativeStrengthIndex.js d3fc-technical-indicator
indicator/algorithm/stochasticOscillator.js d3fc-technical-indicator
indicator/indicator.js n.a.
indicator/renderer/bollingerBands.js d3fc-technical-indicator (example)
indicator/renderer/elderRay.js d3fc-technical-indicator (example)
indicator/renderer/envelope.js d3fc-technical-indicator (example)
indicator/renderer/forceIndex.js d3fc-technical-indicator (example)
indicator/renderer/macd.js d3fc-technical-indicator (example)
indicator/renderer/relativeStrengthIndex.js d3fc-technical-indicator (example)
indicator/renderer/renderer.js n.a.
indicator/renderer/stochasticOscillator.js d3fc-technical-indicator (example)
layout/flexbox.js d3fc-element (partially)
layout/label.js d3fc-label-layout
layout/layout.js n.a.
scale/dateTime.js d3fc-discontinuous-scale
scale/discontinuity/identity.js d3fc-discontinuous-scale
scale/discontinuity/skipWeekends.js d3fc-discontinuous-scale
scale/scale.js n.a.
scale/ticks.js private
series/algorithm/algorithm.js n.a.
series/algorithm/waterfall.js deprecated
series/area.js d3fc-series
series/axis.js deprecated
series/bar.js d3fc-series
series/boxPlot.js d3fc-series
series/candlestick.js d3fc-series
series/cycle.js deprecated
series/errorBar.js d3fc-series
series/grouped.js d3fc-series
series/line.js d3fc-series
series/multi.js d3fc-series
series/ohlc.js d3fc-series
series/ohlcBase.js internal
series/point.js d3fc-series
series/series.js n.a.
series/stacked/area.js d3fc-series (example)
series/stacked/bar.js d3fc-series (example)
series/stacked/line.js d3fc-series (example)
series/stacked/stack.js d3fc-series (example)
series/stacked/stacked.js n.a.
series/waterfall.js deprecated
series/xyBase.js internal
svg/axis.js d3fc-axis
svg/svg.js n.a.
tool/container.js deprecated
tool/crosshair.js d3fc-annotation
tool/tool.js n.a.
util/array.js internal
util/dataJoin.js d3fc-data-join
util/expandRect.js internal
util/extent.js d3fc-extent
util/fn.js internal
util/fractionalBarWidth.js d3fc-series
util/innerDimensions.js internal
util/minimum.js internal
util/percentageChange.js deprecated
util/render.js d3fc-element
util/scale.js internal
util/snap.js deprecated
util/util.js n.a.