* 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)
| 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 |
no outgoing calls
no test coverage detected