HI, I made a circle, and it has the text as well. now my issues is, how can i set cursor as "pointer" to both, and make on click to same function?
circleRed = pHolder.circle(xPos(), yPos(), param.pCircle).attr(dAttr);
circleText = pHolder.text(circleRed.attr('cx') - (circleRed.attr('r') / 2 - param.pStroke) , yPos(), "Content")
.attr({'text-anchor':'end','font-size':16,'fill':'#fff','cursor': 'pointer'});
that mean how to make both together as a single element?