Skip to content

Horizontal bars overflow border and legend despite xAxes ticks max #2873

@vsergeev

Description

@vsergeev

I'm trying to set an x axis maximum value on a horizontal bar chart. It seems that the ticks and x axis are limited correctly, but the bars overflow the border and, in some cases, the legend, despite the options.scales.xAxes[0].ticks.max value.

The vertical bar chart appears to behave correctly with an analogous y axis maximum value.

Horizontal bar chart JS Bin: http://jsbin.com/dicizunowa/edit?html,output

Vertical bar chart JS Bin: http://jsbin.com/livexawozi/1/edit?html,output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions