Skip to content

Truncated labels  #2229

@thubold

Description

@thubold

If I set the gridlines in my xAxes to false my bar titles are not shown correctly.

bildschirmfoto 2016-04-08 um 14 30 38

My Chart settings:

statisticChart = new Chart(ctx, {
                type: 'bar',
                data: copiedData,
                options: {
                    scales: {
                        yAxes: [{
                                ticks: {
                                    beginAtZero: true,
                                    stepSize:1
                                },
                                gridLines: {

                                }
                            }],
                        xAxes: [{
                                ticks:{

                                },
                                gridLines: {
                                    display:false
                                }
                            }]
                    }
                }
            });

If I set gridLines.display to true. Everything works fine.

bildschirmfoto 2016-04-08 um 14 39 28

Regards Tobi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions