AxisTooltip
AxisTooltip copied to clipboard
Tooltip content view customisation not working.
If I add button the tool tip auto alignment not working. In content just I added the following lines. I am not sure what I did mistake.
HStack {
Label("Contrary to popular belief, Lorem Ipsum is not simply random text.", systemImage: "")
.onTapGesture {
isPresented.toggle()
}
.padding()
.frame(width: 200)
VStack {
Button("Close") {
isPresented = false
}
Spacer() }
}.padding(0)