takeFront (takeFront) {
        if (!arguments.length) {
            return this._takeFront;
        }
        this._takeFront = takeFront;
        return this;
    }
Get or set the direction of capping. If set, the chart takes the first
{@link CapMixin#cap cap} elements from the sorted array of elements; otherwise
it takes the last `cap` elements.
@memberof CapMixin
@instance
@param {Boolean} [takeFront=true]
@returns {Boolean|CapMixin}