javascript - How to update raphael Text dynamically -


i drawing flow chart based on raphael shapes & text. on page load, drew rapahel shapes text inside. text status. there background processing happening changing status. want update status(which rapahel text inside raphael shape)on button click without redrawing on flow chart shapes again. i.e wants update text inside shape. here both shapes , texts in array. using json status.

please refer following stackoverflow question code , flow chart. looking pointer achieve this. cannot whole code because of server side scripting dependency

how avoid overlapping of rapahel js path

assuming raphtext raphaeljs text element reference raphtext.attr("text", "new status"); change text content.

for further information: have @ http://raphaeljs.com/reference.html#element.attr .


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -