mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Barheight no longer undefined (#9208)
This commit is contained in:
parent
26f8d7b735
commit
1a7212dff5
@ -285,8 +285,8 @@ export default class BarController extends DatasetController {
|
||||
enableBorderRadius: !stack || isFloatBar(parsed._custom) || (me.index === stack._top || me.index === stack._bottom),
|
||||
x: horizontal ? vpixels.head : ipixels.center,
|
||||
y: horizontal ? ipixels.center : vpixels.head,
|
||||
height: horizontal ? ipixels.size : undefined,
|
||||
width: horizontal ? undefined : ipixels.size
|
||||
height: horizontal ? ipixels.size : Math.abs(vpixels.size),
|
||||
width: horizontal ? Math.abs(vpixels.size) : ipixels.size
|
||||
};
|
||||
|
||||
if (includeOptions) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user