gsoft-inc / ov-igloo-ui

Officevibe design system
https://igloo.officevibe.design
Apache License 2.0
19 stars 6 forks source link

[Bug]: AreaChart - Empty tooltip when score is null #579

Closed LaurentDario closed 11 months ago

LaurentDario commented 11 months ago

Contact Details

laurent.jouanneau@gsoft.com

What happened?

When an AreaChart has data entries with a null score, it displays a dashed line instead of the solid blue line, but it still displays an empty tooltip. It would be probably better to disable the tooltip on data points that have no valid score. image

Component

AreaChart

Component Version

1.0.1

Which browsers are you seeing the problem on?

Chrome

Mobile Device

No response

Relevant log output

No response

vicky-comeau commented 11 months ago

This is the purpose of the unavailableDataMessage prop. Did you enter a value in here?

LaurentDario commented 11 months ago

You're right, that does the trick! Thank you. I thought it was for the empty state when no data is available at all only