A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dc-js.github.io/dc.js/docs/html/dc.units.html below:

dc.js Namespace: units

Namespace: units dc. units Namespaces
fp
Methods
<static> integers(start, end)

The default value for .xUnits for the Coordinate Grid Chart and should be used when the x values are a sequence of integers. It is a function that counts the number of integers in the range supplied in its start and end parameters.

Parameters: Name Type Description start Number end Number
Source:
See:
Returns:
Type
Number
Example
chart.xUnits(dc.units.integers) // already the default
<static> ordinal()

This argument can be passed to the .xUnits function of a coordinate grid chart to specify ordinal units for the x axis. Usually this parameter is used in combination with passing d3.scaleOrdinal to .x.

As of dc.js 3.0, this is purely a placeholder or magic value which causes the chart to go into ordinal mode; the function is not called.

Source:
See:
Returns:
Type
uncallable
Example
chart.xUnits(dc.units.ordinal)
     .x(d3.scaleOrdinal())

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4