laboratoriobridge / bold

https://bold.bridge.ufsc.br
MIT License
76 stars 9 forks source link

[Chart] Update chart component to allow custom ReferenceAreaTick styles #855

Closed wagnerbsantos closed 1 month ago

wagnerbsantos commented 2 months ago

Component to amend

Chart - ReferenceAreaTick

Context

Currently, it's possible to give a name and add a description to the ReferenceAreaTick. The description doesn't receive any formatting. It would be useful to allow the description to act as a second title, in case it is necessary to name both ends of the rectangle.

Visual

As you can see in the area description. Currently it is not possible to change the position of the text.

Image

Reference comment: https://github.com/laboratoriobridge/pec/pull/22718/files#r1759197121