Skip to content

Misplaced first label in horizontal bar chart, visible mostly when chart height is small #1266

@pkolaczk

Description

@pkolaczk

obraz

<div id="whatever" class="ct-chart"></div>
<script>
new Chartist.Bar('#whatever', {
        labels: [1, 2, 4, 8, 16, 32],
        series: [[40.38, 19.18, 9.85, 5.74, 4.155, 3.64]],
    }, {
        height: "7em",
        reverseData: true,        
        horizontalBars: true,
    });
</script>

Weirdly, it stops being visible when the chart height gets large.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions