Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
37 stars 1 forks source link

Introducing headers for lume bar and line charts #411

Closed govind-srinidhi closed 3 months ago

govind-srinidhi commented 3 months ago

Feature description

Similar to the way we've an option to configure node headers in alluvial, it would be good to have something similar for bar and line charts.

The consumer will be able to add the header at each bar/point in the respective chart.

Problem/motivation

Screenshot 2024-03-07 at 10 56 36

From the screenshot we can notice that there is a brief description about the bar on top of every bar in the stacked bar chart. Having an option to configure the node header would be beneficial, as the consumer need not have to worry about the positioning of these node headers.

Describe alternatives you've considered

No response

Additional context

No response

Validations

govind-srinidhi commented 3 months ago

Its better to do this at the consumer side instead of providing support from Lume. If bar/line charts are rendered with 10-15 bars, it wouldn't be a normal case to provide bar header for each of them given that hardly anything can be fitted in that header.