UnitsOrdinal(start: any, end: any): number | any[]
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.
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.
See
Example