MCPcopy
hub / github.com/dc-js/dc.js / colsLabel

Method colsLabel

src/charts/heatmap.js:81–87  ·  view source on GitHub ↗

* Set or get the column label function. The chart class uses this function to render * column labels on the X axis. It is passed the column name. * @example * // the default label function just returns the name * chart.colsLabel(function(d) { return d; }); * @param {Functio

(labelFunction)

Source from the content-addressed store, hash-verified

79 * @returns {Function|HeatMap}
80 */
81 colsLabel (labelFunction) {
82 if (!arguments.length) {
83 return this._colsLabel;
84 }
85 this._colsLabel = labelFunction;
86 return this;
87 }
88
89 /**
90 * Set or get the row label function. The chart class uses this function to render

Callers 2

_doRedrawMethod · 0.95
heatmap-spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected