willdale / SwiftUICharts

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility features built in.
MIT License
837 stars 103 forks source link

Remove/Hide legend title and circle from floating info box #244

Open KrishnaRLolage opened 6 months ago

KrishnaRLolage commented 6 months ago

I am using filled line graph. I want to show floating info boxvon user touch. I have added the same, but in the floating info box, I see a circle (same colour as filled chart colour) and the legend title. I don't want to show the legend title so I set it empty string. But now, the circle beside the title is still visible. Shouldn't it be hidden/removed if the legend title is empty string? Is there a way I can only show the description or hide that circle?

Screenshot 2024-02-08 at 2 23 44 PM