Jukka Kurkela

Results 230 comments of Jukka Kurkela

@stockiNail probably the same issue.

> when adding a custom scale that chart.js does not know the kind of (because of first letter) it does appear as an extra y scale This one is a...

The "Bar" label is in the legend. You can create a html legend to make that accessible. https://www.chartjs.org/docs/latest/samples/legend/html.html

For the tooltip, you could use interpolation: https://codepen.io/kurkle/pen/WNpdwgE

> This is a tough one because we'd have to interpolate the dataset below which becomes quite complicated once Bezier curves are involved (i.e. tension !== 0). > > It...

Assuming you still want it to not start from zero, you could use the `grace` option for the scale to make the bars visible.

Couple of things I recall about webpack: * it does not tree-shake unless doing a production build (just fyi) * it might require `"sideEffects": false` in package.json So as you...

> Hey @kurkle thank you for the tips. I tried adding sideEffects to the package.json but there is no difference in the bundle size. Just making sure, you added the...

This is because the the bounds are considered to be "nice" when originating from data. I agree this does not behave well, but I'm not sure it can or should...

There are some options already available for that case: - [minBarLength](https://www.chartjs.org/docs/master/charts/bar.html#styling) (so the bar will not be that small) - [interaction modes and options](https://www.chartjs.org/docs/master/configuration/interactions.html) (including custom modes) Can you describe...