antoniolago / react-gauge-component

React gauge component for data visualization.
https://antoniolago.github.io/react-gauge-component/
MIT License
132 stars 19 forks source link

Hiding tick lines doesn't seem to work #32

Closed andrewjafa closed 7 months ago

andrewjafa commented 8 months ago

Using defaultTickLineConfig: {hide: true} does not hide the lines A workaround is set the line colour with zero opacity #ffffff00 but I would assume that hiding the tick lines would also bring the labels a bit closer to the arc too

antoniolago commented 7 months ago

Thank you for reporting this, tick value hiding was not working too, fixed on 1.1.33

antoniolago commented 7 months ago

Hey @andrewjafa, I've just uploaded a version which should bring values of ticks close to arcs when hiding the lines

andrewjafa commented 7 months ago

Brilliant, looks great, thank you!

On Sun, 4 Feb 2024 at 09:05, antoniolago @.***> wrote:

Hey @andrewjafa https://github.com/andrewjafa, I've just uploaded a version which should bring values of ticks close to arcs when hiding the lines

— Reply to this email directly, view it on GitHub https://github.com/antoniolago/react-gauge-component/issues/32#issuecomment-1925443290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTX3R5VZ72J2YOTHKPME6DYR2KB3AVCNFSM6AAAAABBS5HVKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQ2DGMRZGA . You are receiving this because you were mentioned.Message ID: @.***>