jcopperfield

Results comments of jcopperfield

@etimberg The problem is caused by calculating a left and right padding for the x-axis [core.scale.js#L463-L464](https://github.com/chartjs/Chart.js/blob/master/src/core/core.scale.js#L463-L464), which in the case of a category axis might better be treated differently, since...

@chiraggmodi For the original problem you could hack the `afterFit` function to set the `minSize.width` and the `width` of the legend to a fixed value. [codepen example](https://codepen.io/anon/pen/LOBPMV) N.B. I changed...

@chiraggmodi What is the issue with mobile view?

@ariellevitsky Yes the solution for the bar chart is much simpler. Just add the following code to your `scales` configuration. ```javascript xAxes: [{ type: 'category', afterFit: function(me) { me.paddingLeft =...

@etimberg This issue has been addressed through PR #4959.

The problem is caused by the layout service _Step 4_ being initially trying a chart area height of 50% of the canvas height. When in the initial case there's only...

The following patch fixes the problem: [fix_4572_logarithmic_type_if_all_numbers_are_zero_browser_crashes_Out_of_memory.patch.txt](https://github.com/chartjs/Chart.js/files/1427728/fix_4572_logarithmic_type_if_all_numbers_are_zero_browser_crashes_Out_of_memory.patch.txt)

This problem is caused by the function `determineDataLimits` in the file `scale.category.js`. It only checks the labels to determine the `minIndex` and `maxIndex`. A solution could be to add the...

@dfederm I agree that the default tick formatter code could be improved on. You could obtain the result you've described by overriding the default ticks callback by setting `ticks.userCallback` [example](https://codepen.io/anon/pen/goMMXe)....

Like mentioned as a **Possible Solution** it suffices to replace the `return Math.round(pixel)` with `return pixel` in the function `getPixelForValue` in the file _scale.linear.js_. It only causes two minor side...