* Set or get the key accessor function. The key accessor function is used to retrieve the key * value from the crossfilter group. Key values are used differently in different charts, for * example keys correspond to slices in a pie chart and x axis positions in a grid coordinate chart.
(keyAccessor)
| 1234 | * @returns {Function|BaseMixin} |
| 1235 | */ |
| 1236 | keyAccessor (keyAccessor) { |
| 1237 | if (!arguments.length) { |
| 1238 | return this._keyAccessor; |
| 1239 | } |
| 1240 | this._keyAccessor = keyAccessor; |
| 1241 | return this; |
| 1242 | } |
| 1243 | |
| 1244 | /** |
| 1245 | * Set or get the value accessor function. The value accessor function is used to retrieve the |
no outgoing calls
no test coverage detected