Skip to content

How to show text for zero value in bar chart? #188

@ckma0113

Description

@ckma0113

if I set the data is like below:
let data =[ {
type: "bar",
x: ['A', 'b', 'c'],
y: [null, 0, 1],
text: ['NAN', '0', '1'],
textposition: "outside",
cliponaxis: false,
}]
when it render, it doesn't show text when the value of y is null or zero.

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