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

Method xAxisOnClick

src/charts/heatmap.js:355–361  ·  view source on GitHub ↗

* Gets or sets the handler that fires when a column tick is clicked in the x axis. * By default, if any cells in the column are unselected, the whole column will be selected, * otherwise the whole column will be unselected. * @param {Function} [handler] * @returns {Function|Heat

(handler)

Source from the content-addressed store, hash-verified

353 * @returns {Function|HeatMap}
354 */
355 xAxisOnClick (handler) {
356 if (!arguments.length) {
357 return this._xAxisOnClick;
358 }
359 this._xAxisOnClick = handler;
360 return this;
361 }
362
363 /**
364 * Gets or sets the handler that fires when a row tick is clicked in the y axis.

Callers 1

_doRedrawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected