Skip to content

MeterChart value gets cut off when using description label #98

Description

@AHijner

Hi!

We've been using the metercharts, and have noticed that when displaying the description label, and the maximum-value is <1000, the value can get cut off a bit at the top:
image

If the maximum value >=1000 there seems to be no problem,
image

If we do not use a description label, there seems to be no problem:
image

We do have a good workaround, setting the value-format-callback: meterChart.getValueLabel().setFormatCallback(context -> " " + context.getValue() + " ");

We were just wondering if this is a small bug? Or if there is a way for us to adjust this ourselves by adding some padding or something (I've not been able to find a setting for this)?

As we do currently have a decent workaround there is no need for a quick response, of course!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions