You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using a custom overlay in Kline Charts with Angular. The overlay is working fine, but I want to trigger a function when the user clicks on it. I tried using the onClick event from the documentation, but it’s not working. I’d really appreciate any help in fixing this issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’m using a custom overlay in Kline Charts with Angular. The overlay is working fine, but I want to trigger a function when the user clicks on it. I tried using the onClick event from the documentation, but it’s not working. I’d really appreciate any help in fixing this issue.
`
registerFigure({
name: 'circle',
draw: (ctx: any, attrs: any, styles: any) => {
const { x, y, width, height } = attrs;
const { color } = styles;
const radius = Math.min(width, height) / 2;
const borderRadius = radius + 3;
Beta Was this translation helpful? Give feedback.
All reactions