Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added node id to objects #18

Merged
merged 1 commit into from
Apr 26, 2014
Merged

Added node id to objects #18

merged 1 commit into from
Apr 26, 2014

Conversation

billcavalieri
Copy link
Contributor

Set node id for symbols and text. Append a t to the text since Raphael does not support SVG groups.

I can then use jquery to manipulate the chart.

//change fill color to green for completed steps
$('#st').attr('fill', 'green')

//alert on both the symbol and the text
$('#st*').click( function(){
alert('info here');
});

@adrai adrai merged commit 7391f99 into adrai:master Apr 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants