/workspace/Chart.js/samples/scales/financial.html:143:                                                  sampleSize: 100
/workspace/Chart.js/test/fixtures/scale.timeseries/financial-daily.js:36:            sampleSize: 100
/workspace/Chart.js/types/index.esm.d.ts:2742:    sampleSize: number;
/workspace/Chart.js/src/core/core.scale.js:370:    const sampleSize = tickOpts.sampleSize;
/workspace/Chart.js/src/core/core.scale.js:416:    const samplingEnabled = sampleSize < me.ticks.length;
/workspace/Chart.js/src/core/core.scale.js:417:    me._convertTicksToLabels(samplingEnabled ? sample(me.ticks, sampleSize) : me.ticks);
/workspace/Chart.js/src/core/core.scale.js:774:      const sampleSize = me.options.ticks.sampleSize;
/workspace/Chart.js/src/core/core.scale.js:776:      if (sampleSize < ticks.length) {
/workspace/Chart.js/src/core/core.scale.js:777:        ticks = sample(ticks, sampleSize);
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/sampleSize.js:21: * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/sampleSize.js:24: * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/sampleSize.js:27:function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/sampleSize.js:37:module.exports = sampleSize;
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/wrapperLodash.js:69: * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/_baseSampleSize.js:6: * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/core.js:292:   * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/core.js:2042:   * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/collection.js:25:  'sampleSize': require('./sampleSize'),
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/fp/sampleSize.js:2:    func = convert('sampleSize', require('../sampleSize'));
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/fp/_mapping.js:97:    'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:1628:     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:2465:     * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:3998:     * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:9589:     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:9853:     * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:9856:     * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:9859:    function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.js:16723:    lodash.sampleSize = sampleSize;
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/map.js:17: * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/_arraySampleSize.js:6: * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/typedoc/node_modules/lodash/lodash.min.js:129:Z.reverse=Eo,Z.sampleSize=jf,Z.set=Jc,Z.setWith=Yc,Z.shuffle=Af,Z.slice=So,Z.sortBy=oh,Z.sortedUniq=$o,Z.sortedUniqBy=Do,Z.split=da,Z.spread=$f,Z.tail=Mo,Z.take=Fo,Z.takeRight=No,Z.takeRightWhile=Po,Z.takeWhile=qo,Z.tap=Xo,Z.throttle=Df,Z.thru=nf,Z.toArray=jc,Z.toPairs=Ph,Z.toPairsIn=qh,Z.toPath=Ha,Z.toPlainObject=Rc,Z.transform=Qc,Z.unary=Mf,Z.union=Ps,Z.unionBy=qs,Z.unionWith=Zs,Z.uniq=Zo,Z.uniqBy=Ko,Z.uniqWith=Vo,Z.unset=Xc,Z.unzip=Go,Z.unzipWith=Ho,Z.update=na,Z.updateWith=ta,Z.values=ra,Z.valuesIn=ea,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/sampleSize.js:21: * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/sampleSize.js:24: * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/sampleSize.js:27:function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/sampleSize.js:37:module.exports = sampleSize;
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/wrapperLodash.js:69: * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/_baseSampleSize.js:6: * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/core.js:292:   * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/core.js:2042:   * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/collection.js:25:  'sampleSize': require('./sampleSize'),
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/fp/sampleSize.js:2:    func = convert('sampleSize', require('../sampleSize'));
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/fp/_mapping.js:97:    'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:1628:     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:2465:     * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:3998:     * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:9589:     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:9853:     * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:9856:     * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:9859:    function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.js:16723:    lodash.sampleSize = sampleSize;
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/map.js:17: * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/_arraySampleSize.js:6: * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/eslint/node_modules/lodash/lodash.min.js:129:Z.reverse=Eo,Z.sampleSize=jf,Z.set=Jc,Z.setWith=Yc,Z.shuffle=Af,Z.slice=So,Z.sortBy=oh,Z.sortedUniq=$o,Z.sortedUniqBy=Do,Z.split=da,Z.spread=$f,Z.tail=Mo,Z.take=Fo,Z.takeRight=No,Z.takeRightWhile=Po,Z.takeWhile=qo,Z.tap=Xo,Z.throttle=Df,Z.thru=nf,Z.toArray=jc,Z.toPairs=Ph,Z.toPairsIn=qh,Z.toPath=Ha,Z.toPlainObject=Rc,Z.transform=Qc,Z.unary=Mf,Z.union=Ps,Z.unionBy=qs,Z.unionWith=Zs,Z.uniq=Zo,Z.uniqBy=Ko,Z.uniqWith=Vo,Z.unset=Xc,Z.unzip=Go,Z.unzipWith=Ho,Z.update=na,Z.updateWith=ta,Z.values=ra,Z.valuesIn=ea,
/workspace/Chart.js/node_modules/lodash/sampleSize.js:21: * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/lodash/sampleSize.js:24: * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/lodash/sampleSize.js:27:function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/lodash/sampleSize.js:37:module.exports = sampleSize;
/workspace/Chart.js/node_modules/lodash/wrapperLodash.js:69: * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/lodash/_baseSampleSize.js:6: * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/lodash/core.js:292:   * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/lodash/core.js:2026:   * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/lodash/collection.js:25:  'sampleSize': require('./sampleSize'),
/workspace/Chart.js/node_modules/lodash/fp/sampleSize.js:2:    func = convert('sampleSize', require('../sampleSize'));
/workspace/Chart.js/node_modules/lodash/fp/_mapping.js:97:    'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
/workspace/Chart.js/node_modules/lodash/lodash.js:1586:     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/lodash/lodash.js:2423:     * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/lodash/lodash.js:3956:     * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/lodash/lodash.js:9547:     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/lodash/lodash.js:9811:     * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/lodash/lodash.js:9814:     * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/lodash/lodash.js:9817:    function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/lodash/lodash.js:16675:    lodash.sampleSize = sampleSize;
/workspace/Chart.js/node_modules/lodash/map.js:17: * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/lodash/_arraySampleSize.js:6: * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/lodash/lodash.min.js:128:q.reverse=Ro,q.sampleSize=mf,q.set=Gc,q.setWith=Hc,q.shuffle=xf,q.slice=zo,q.sortBy=uh,q.sortedUniq=Bo,q.sortedUniqBy=To,q.split=ga,q.spread=Bf,q.tail=$o,q.take=Do,q.takeRight=Mo,q.takeRightWhile=Fo,q.takeWhile=No,q.tap=Yo,q.throttle=Tf,q.thru=Qo,q.toArray=mc,q.toPairs=Fh,q.toPairsIn=Nh,q.toPath=Va,q.toPlainObject=Oc,q.transform=Jc,q.unary=$f,q.union=Fs,q.unionBy=Ns,q.unionWith=Ps,q.uniq=Po,q.uniqBy=qo,q.uniqWith=Zo,q.unset=Yc,q.unzip=Ko,q.unzipWith=Vo,q.update=Qc,q.updateWith=Xc,q.values=na,q.valuesIn=ta,
/workspace/Chart.js/node_modules/table/node_modules/lodash/sampleSize.js:21: * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/table/node_modules/lodash/sampleSize.js:24: * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/table/node_modules/lodash/sampleSize.js:27:function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/table/node_modules/lodash/sampleSize.js:37:module.exports = sampleSize;
/workspace/Chart.js/node_modules/table/node_modules/lodash/wrapperLodash.js:69: * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/_baseSampleSize.js:6: * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/table/node_modules/lodash/core.js:292:   * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/core.js:2042:   * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/collection.js:25:  'sampleSize': require('./sampleSize'),
/workspace/Chart.js/node_modules/table/node_modules/lodash/fp/sampleSize.js:2:    func = convert('sampleSize', require('../sampleSize'));
/workspace/Chart.js/node_modules/table/node_modules/lodash/fp/_mapping.js:97:    'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:1628:     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:2465:     * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:3998:     * The base implementation of `_.sampleSize` without param guards.
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:9589:     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:9853:     * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:9856:     * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:9859:    function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.js:16723:    lodash.sampleSize = sampleSize;
/workspace/Chart.js/node_modules/table/node_modules/lodash/map.js:17: * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
/workspace/Chart.js/node_modules/table/node_modules/lodash/_arraySampleSize.js:6: * A specialized version of `_.sampleSize` for arrays.
/workspace/Chart.js/node_modules/table/node_modules/lodash/lodash.min.js:129:Z.reverse=Eo,Z.sampleSize=jf,Z.set=Jc,Z.setWith=Yc,Z.shuffle=Af,Z.slice=So,Z.sortBy=oh,Z.sortedUniq=$o,Z.sortedUniqBy=Do,Z.split=da,Z.spread=$f,Z.tail=Mo,Z.take=Fo,Z.takeRight=No,Z.takeRightWhile=Po,Z.takeWhile=qo,Z.tap=Xo,Z.throttle=Df,Z.thru=nf,Z.toArray=jc,Z.toPairs=Ph,Z.toPairsIn=qh,Z.toPath=Ha,Z.toPlainObject=Rc,Z.transform=Qc,Z.unary=Mf,Z.union=Ps,Z.unionBy=qs,Z.unionWith=Zs,Z.uniq=Zo,Z.uniqBy=Ko,Z.uniqWith=Vo,Z.unset=Xc,Z.unzip=Go,Z.unzipWith=Ho,Z.update=na,Z.updateWith=ta,Z.values=ra,Z.valuesIn=ea,
/workspace/Chart.js/node_modules/typescript/lib/lib.dom.d.ts:764:    sampleSize?: ULongRange;
/workspace/Chart.js/node_modules/typescript/lib/lib.dom.d.ts:782:    sampleSize?: ConstrainULong;
/workspace/Chart.js/node_modules/typescript/lib/lib.dom.d.ts:804:    sampleSize?: number;
/workspace/Chart.js/node_modules/typescript/lib/lib.dom.d.ts:822:    sampleSize?: boolean;
/workspace/Chart.js/node_modules/concurrently/node_modules/lodash/sampleSize.js:21: * _.sampleSize([1, 2, 3], 2);
/workspace/Chart.js/node_modules/concurrently/node_modules/lodash/sampleSize.js:24: * _.sampleSize([1, 2, 3], 4);
/workspace/Chart.js/node_modules/concurrently/node_modules/lodash/sampleSize.js:27:function sampleSize(collection, n, guard) {
/workspace/Chart.js/node_modules/concurrently/node_modules/lodash/sampleSize.js:37:module.exports = sampleSize;
/workspace/Chart.js/node_modules/concurrently/node_modules/lodash/wrapperLodash.js:69: * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setW<response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>ateTickLabels(t){const e=this;_s.prototype.generateTickLabels.call(e,t),e._pointLabels=e.getLabels().map(((t,i)=>{const n=Q(e.options.pointLabels.callback,[t,i],e);return n||0===n?n:""}))}fit(){const t=this,e=t.options;e.display&&e.pointLabels.display?function(t){const e={l:0,r:t.width,t:0,b:t.height-t.paddingTop},i={};let n,o,s;const a=[],r=[],l=t.getLabels().length;for(n=0;n<l;n++){const l=t.options.pointLabels.setContext(t.getContext(n));r[n]=l.padding,s=t.getPointPosition(n,t.drawingArea+r[n]);const u=Ee(l.font);t.ctx.font=u.string,c=t.ctx,h=u.lineHeight,o=Y(d=t._pointLabels[n])?{w:Yt(c,c.font,d),h:d.length*h}:{w:c.measureText(d).width,h:h},a[n]=o;const f=t.getIndexAngle(n),g=Et(f),p=ks(g,s.x,o.w,0,180),m=ks(g,s.y,o.h,90,270);p.start<e.l&&(e.l=p.start,i.l=f),p.end>e.r&&(e.r=p.end,i.r=f),m.start<e.t&&(e.t=m.start,i.t=f),m.end>e.b&&(e.b=m.end,i.b=f)}var c,h,d;t._setReductions(t.drawingArea,e,i),t._pointLabelItems=[];const u=t.options,f=ws(u),g=t.getDistanceFromCenterForValue(u.ticks.reverse?t.min:t.max);for(n=0;n<l;n++){const e=0===n?f/2:0,i=t.getPointPosition(n,g+e+r[n]),o=Et(t.getIndexAngle(n)),s=a[n];Ps(o,s,i);const l=Ss(o);let c;c="left"===l?i.x:"center"===l?i.x-s.w/2:i.x-s.w;const h=c+s.w;t._pointLabelItems[n]={x:i.x,y:i.y,textAlign:l,left:c,top:i.y,right:h,bottom:i.y+s.h}}}(t):t.setCenterPoint(0,0,0,0)}_setReductions(t,e,i){const n=this;let o=e.l/Math.sin(i.l),s=Math.max(e.r-n.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),r=-Math.max(e.b-(n.height-n.paddingTop),0)/Math.cos(i.b);o=Cs(o),s=Cs(s),a=Cs(a),r=Cs(r),n.drawingArea=Math.max(t/2,Math.min(Math.floor(t-(o+s)/2),Math.floor(t-(a+r)/2))),n.setCenterPoint(o,s,a,r)}setCenterPoint(t,e,i,n){const o=this,s=o.width-e-o.drawingArea,a=t+o.drawingArea,r=i+o.drawingArea,l=o.height-o.paddingTop-n-o.drawingArea;o.xCenter=Math.floor((a+s)/2+o.left),o.yCenter=Math.floor((r+l)/2+o.top+o.paddingTop)}getIndexAngle(t){return Bt(t*(bt/this.getLabels().length)+Rt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){const e=this;if($(t))return NaN;const i=e.drawingArea/(e.max-e.min);return e.options.reverse?(e.max-t)*i:(t-e.min)*i}getValueForDistanceFromCenter(t){if($(t))return NaN;const e=this,i=t/(e.drawingArea/(e.max-e.min));return e.options.reverse?e.max-i:e.min+i}getPointPosition(t,e){const i=this,n=i.getIndexAngle(t)-Mt;return{x:Math.cos(n)*e+i.xCenter,y:Math.sin(n)*e+i.yCenter,angle:n}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:n,bottom:o}=this._pointLabelItems[t];return{left:e,top:i,right:n,bottom:o}}drawBackground(){const t=this,{backgroundColor:e,grid:{circular:i}}=t.options;if(e){const n=t.ctx;n.save(),n.beginPath(),Ds(t,t.getDistanceFromCenterForValue(t._endValue),i,t.getLabels().length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){const t=this,e=t.ctx,i=t.options,{angleLines:n,grid:o}=i,s=t.getLabels().length;let a,r,l;if(i.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:n}}=t;for(let o=e-1;o>=0;o--){const e=n.setContext(t.getContext(o)),s=Ee(e.font),{x:a,y:r,textAlign:l,left:c,top:h,right:d,bottom:u}=t._pointLabelItems[o],{backdropColor:f}=e;if(!$(f)){const t=Re(e.backdropPadding);i.fillStyle=f,i.fillRect(c-t.left,h-t.top,d-c+t.width,u-h+t.height)}te(i,t._pointLabels[o],a,r+s.lineHeight/2,s,{color:e.color,textAlign:l,textBaseline:"middle"})}}(t,s),o.display&&t.ticks.forEach(((e,i)=>{if(0!==i){r=t.getDistanceFromCenterForValue(e.value);const n=o.setContext(t.getContext(i-1));!function(t,e,i,n){const o=t.ctx,s=e.circular,{color:a,lineWidth:r}=e;!s&&!n||!a||!r||i<0||(o.save(),o.strokeStyle=a,o.lineWidth=r,o.setLineDash(e.borderDash),o.lineDashOffset=e.borderDashOffset,o.beginPath(),Ds(t,i,s,n),o.closePath(),o.stroke(),o.restore())}(t,n,r,s)}})),n.display){for(e.save(),a=t.getLabels().length-1;a>=0;a--){const o=n.setContext(t.getContext(a)),{color:s,lineWidth:c}=o;c&&s&&(e.lineWidth=c,e.strokeStyle=s,e.setLineDash(o.borderDash),e.lineDashOffset=o.borderDashOffset,r=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),l=t.getPointPosition(a,r),e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawLabels(){const t=this,e=t.ctx,i=t.options,n=i.ticks;if(!n.display)return;const o=t.getIndexAngle(0);let s,a;e.save(),e.translate(t.xCenter,t.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",t.ticks.forEach(((o,r)=>{if(0===r&&!i.reverse)return;const l=n.setContext(t.getContext(r)),c=Ee(l.font);if(s=t.getDistanceFromCenterForValue(t.ticks[r].value),l.showLabelBackdrop){a=e.measureText(o.label).width,e.fillStyle=l.backdropColor;const t=Re(l.backdropPadding);e.fillRect(-a/2-t.left,-s-c.size/2-t.top,a+t.width,c.size+t.height)}te(e,o.label,0,-s,c,{color:l.color})})),e.restore()}drawTitle(){}}As.id="radialLinear",As.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPadding:2,callback:Ei.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5}},As.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},As.descriptors={angleLines:{_fallback:"grid"}};const Os={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ts=Object.keys(Os);function Ls(t,e){return t-e}function Rs(t,e){if($(e))return null;const i=t._adapter,n=t.options.time,{parser:o,round:s,isoWeekday:a}=n;let r=e;return"function"==typeof o&&(r=o(r)),X(r)||(r="string"==typeof o?i.parse(r,o):i.parse(r)),null===r?null:(s&&(r="week"!==s||!At(a)&&!0!==a?i.startOf(r,s):i.startOf(r,"isoWeek",a)),+r)}function Es(t,e,i,n){const o=Ts.length;for(let s=Ts.indexOf(t);s<o-1;++s){const t=Os[Ts[s]],o=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(o*t.size))<=n)return Ts[s]}return Ts[o-1]}function Fs(t,e,i){if(i){if(i.length){const{lo:n,hi:o}=ee(i,e);t[i[n]>=e?i[n]:i[o]]=!0}}else t[e]=!0}function Is(t,e,i){const n=[],o={},s=e.length;let a,r;for(a=0;a<s;++a)r=e[a],o[r]=a,n.push({value:r,major:!1});return 0!==s&&i?function(t,e,i,n){const o=t._adapter,s=+o.startOf(e[0].value,n),a=e[e.length-1].value;let r,l;for(r=s;r<=a;r=+o.add(r,1,n))l=i[r],l>=0&&(e[l].major=!0);return e}(t,n,o,i):n}class zs extends ji{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1}init(t,e){const i=t.time||(t.time={}),n=this._adapter=new Gn._date(t.adapters.date);st(i.displayFormats,n.formats()),super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Rs(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this,e=t.options,i=t._adapter,n=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:r}=t.getUserBounds();function l(t){a||isNaN(t.min)||(o=Math.min(o,t.min)),r||isNaN(t.max)||(s=Math.max(s,t.max))}a&&r||(l(t._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(t.getMinMax(!1))),o=X(o)&&!isNaN(o)?o:+i.startOf(Date.now(),n),s=X(s)&&!isNaN(s)?s:+i.endOf(Date.now(),n)+1,t.min=Math.min(o,s),t.max=Math.max(o+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this,e=t.options,i=e.time,n=e.ticks,o="labels"===n.source?t.getLabelTimestamps():t._generate();"ticks"===e.bounds&&o.length&&(t.min=t._userMin||o[0],t.max=t._userMax||o[o.length-1]);const s=t.min,a=oe(o,s,t.max);return t._unit=i.unit||(n.autoSkip?Es(i.minUnit,t.min,t.max,t._getLabelCapacity(s)):function(t,e,i,n,o){for(let s=Ts.length-1;s>=Ts.indexOf(i);s--){const i=Ts[s];if(Os[i].common&&t._adapter.diff(o,n,i)>=e-1)return i}return Ts[i?Ts.indexOf(i):0]}(t,a.length,i.minUnit,t.min,t.max)),t._majorUnit=n.major.enabled&&"year"!==t._unit?function(t){for(let e=Ts.indexOf(t)+1,i=Ts.length;e<i;++e)if(Os[Ts[e]].common)return Ts[e]}(t._unit):void 0,t.initOffsets(o),e.reverse&&a.reverse(),Is(t,a,t._majorUnit)}initOffsets(t){const e=this;let i,n,o=0,s=0;e.options.offset&&t.length&&(i=e.getDecimalForValue(t[0]),o=1===t.length?1-i:(e.getDecimalForValue(t[1])-i)/2,n=e.getDecimalForValue(t[t.length-1]),s=1===t.length?n:(n-e.getDecimalForValue(t[t.length-2]))/2),o=Ht(o,0,.25),s=Ht(s,0,.25),e._offsets={start:o,end:s,factor:1/(o+1+s)}}_generate(){const t=this,e=t._adapter,i=t.min,n=t.max,o=t.options,s=o.time,a=s.unit||Es(s.minUnit,i,n,t._getLabelCapacity(i)),r=K(s.stepSize,1),l="week"===a&&s.isoWeekday,c=At(l)||!0===l,h={};let d,u,f=i;if(c&&(f=+e.startOf(f,"isoWeek",l)),f=+e.startOf(f,c?"day":a),e.diff(n,i,a)>1e5*r)throw new Error(i+" and "+n+" are too far apart with stepSize of "+r+" "+a);const g="data"===o.ticks.source&&t.getDataTimestamps();for(d=f,u=0;d<n;d=+e.add(d,r,a),u++)Fs(h,d,g);return d!==n&&"ticks"!==o.bounds&&1!==u||Fs(h,d,g),Object.keys(h).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,n){const o=this,s=o.options,a=s.time.displayFormats,r=o._unit,l=o._majorUnit,c=r&&a[r],h=l&&a[l],d=i[e],u=l&&h&&d&&d.major,f=o._adapter.format(t,n||(u?h:c)),g=s.ticks.callback;return g?g(f,e,i):f}generateTickLabels(t){let e,i,n;for(e=0,i=t.length;e<i;++e)n=t[e],n.label=this._tickFormatFunction(n.value,e,t)}getDecimalForValue(t){const e=this;return null===t?NaN:(t-e.min)/(e.max-e.min)}getPixelForValue(t){const e=this,i=e._offsets,n=e.getDecimalForValue(t);return e.getPixelForDecimal((i.start+n)*i.factor)}getValueForPixel(t){const e=this,i=e._offsets,n=e.getDecimalForPixel(t)/i.factor-i.end;return e.min+n*(e.max-e.min)}_getLabelSize(t){const e=this,i=e.options.ticks,n=e.ctx.measureText(t).width,o=Rt(e.isHorizontal()?i.maxRotation:i.minRotation),s=Math.cos(o),a=Math.sin(o),r=e._resolveTickFontOptions(0).size;return{w:n*s+r*a,h:n*a+r*s}}_getLabelCapacity(t){const e=this,i=e.options.time,n=i.displayFormats,o=n[i.unit]||n.millisecond,s=e._tickFormatFunction(t,0,Is(e,[t],e._majorUnit),o),a=e._getLabelSize(s),r=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h)-1;return r>0?r:1}getDataTimestamps(){const t=this;let e,i,n=t._cache.data||[];if(n.length)return n;const o=t.getMatchingVisibleMetas();if(t._normalized&&o.length)return t._cache.data=o[0].controller.getAllParsedValues(t);for(e=0,i=o.length;e<i;++e)n=n.concat(o[e].controller.getAllParsedValues(t));return t._cache.data=t.normalize(n)}getLabelTimestamps(){const t=this,e=t._cache.labels||[];let i,n;if(e.length)return e;const o=t.getLabels();for(i=0,n=o.length;i<n;++i)e.push(Rs(t,o[i]));return t._cache.labels=t._normalized?e:t.normalize(e)}normalize(t){return le(t.sort(Ls))}}function Vs(t,e,i){let n,o,s,a;if(i)n=Math.floor(e),o=Math.ceil(e),s=t[n],a=t[o];else{const i=ee(t,e);s=i.lo,a=i.hi,n=t[s],o=t[a]}const r=o-n;return r?s+(a-s)*(e-n)/r:s}zs.id="time",zs.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Bs extends zs{constructor(t){super(t),this._table=[],this._maxIndex=void 0}initOffsets(){const t=this,e=t._getTimestampsForTable();t._table=t.buildLookupTable(e),t._maxIndex=t._table.length-1,super.initOffsets(e)}buildLookupTable(t){const{min:e,max:i}=this;if(!t.length)return[{time:e,pos:0},{time:i,pos:1}];const n=[e];let o,s,a;for(o=0,s=t.length;o<s;++o)a=t[o],a>e&&a<i&&n.push(a);return n.push(i),n}_getTimestampsForTable(){const t=this;let e=t._cache.all||[];if(e.length)return e;const i=t.getDataTimestamps(),n=t.getLabelTimestamps();return e=i.length&&n.length?t.normalize(i.concat(n)):i.length?i:n,e=t._cache.all=e,e}getPixelForValue(t,e){const i=this,n=i._offsets,o=i._normalized&&i._maxIndex>0&&!$(e)?e/i._maxIndex:i.getDecimalForValue(t);return i.getPixelForDecimal((n.start+o)*n.factor)}getDecimalForValue(t){return Vs(this._table,t)/this._maxIndex}getValueForPixel(t){const e=this,i=e._offsets,n=e.getDecimalForPixel(t)/i.factor-i.end;return Vs(e._table,n*this._maxIndex,!0)}}Bs.id="timeseries",Bs.defaults=zs.defaults;var Ws=Object.freeze({__proto__:null,CategoryScale:bs,LinearScale:ys,LogarithmicScale:Ms,RadialLinearScale:As,TimeScale:zs,TimeSeriesScale:Bs});return Yn.register(co,Ws,Eo,ms),Yn.helpers={...vn},Yn._adapters=Gn,Yn.Animation=mi,Yn.Animations=bi,Yn.animator=a,Yn.controllers=wn.controllers.items,Yn.DatasetController=Ai,Yn.Element=Oi,Yn.elements=Eo,Yn.Interaction=De,Yn.layouts=Xe,Yn.platforms=ci,Yn.Scale=ji,Yn.Ticks=Ei,Object.assign(Yn,co,Ws,Eo,ms,ci),Yn.Chart=Yn,"undefined"!=typeof window&&(window.Chart=Yn),Yn}));
/workspace/Chart.js/dist/chart.js:4002:    const sampleSize = tickOpts.sampleSize;
/workspace/Chart.js/dist/chart.js:4031:    const samplingEnabled = sampleSize < me.ticks.length;
/workspace/Chart.js/dist/chart.js:4032:    me._convertTicksToLabels(samplingEnabled ? sample(me.ticks, sampleSize) : me.ticks);
/workspace/Chart.js/dist/chart.js:4282:      const sampleSize = me.options.ticks.sampleSize;
/workspace/Chart.js/dist/chart.js:4284:      if (sampleSize < ticks.length) {
/workspace/Chart.js/dist/chart.js:4285:        ticks = sample(ticks, sampleSize);
/workspace/Chart.js/dist/chart.esm.js:3556:    const sampleSize = tickOpts.sampleSize;
/workspace/Chart.js/dist/chart.esm.js:3585:    const samplingEnabled = sampleSize < me.ticks.length;
/workspace/Chart.js/dist/chart.esm.js:3586:    me._convertTicksToLabels(samplingEnabled ? sample(me.ticks, sampleSize) : me.ticks);
/workspace/Chart.js/dist/chart.esm.js:3836:      const sampleSize = me.options.ticks.sampleSize;
/workspace/Chart.js/dist/chart.esm.js:3838:      if (sampleSize < ticks.length) {
/workspace/Chart.js/dist/chart.esm.js:3839:        ticks = sample(ticks, sampleSize);
/workspace/Chart.js/docs/docs/axes/cartesian/_common_ticks.md:9:| `sampleSize` | `number` | `ticks.length` | The number of ticks to examine when deciding how many labels will fit. Setting a smaller value will be faster, but may be less accurate when there is large variability in label length.
/workspace/Chart.js/docs/docs/general/performance.md:33:Set the [`ticks.sampleSize`](./axes/cartesian/index.mdx#tick-configuration) option. This will determine how large your labels are by looking at only a subset of them in order to render axes more quickly. This works best if there is not a large variance in the size of your labels.
[The command completed with exit code 0.]
[Current working directory: /workspace/Chart.js]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 0]