YUI Raphael Gallery Example #2

This example displays how you can use YUI3 with RaphaelJS. This also shows how you can fire events from individual SVG objects and catch them to modify other drawings on the page. The circles attached to the right edges of the bars below are drawn in response to the bars individually firing width-changed events.

Mouse over the cirlce in the image below to see it working.

RaphaelJS Canvas

Code