Overlay Data On an Image

Comments

5 comments

  • Avatar
    Boaz Farkash

    Thanks for sharing Brian, this is great stuff.

    0
    Comment actions Permalink
  • Avatar
    Stefan Castino

    Thanks! This was so useful for us. I was able to build a bubble chart for OSHA-related injuries on a human body outline so we could isolate the costliest and most common workplace injuries. We think it'll really help with our safety initiative at our plants.

    0
    Comment actions Permalink
  • Avatar
    Delsaran Bigglesworth

    How would I pass a string into the value instead of a Int? I'm trying to make mine display date Time, I'm using the seconds to time plugin converter and would like to display the hours and minutes something has taken. 

    0
    Comment actions Permalink
  • Avatar
    Brian Bontrager

    javascript is not strongly  typed, so you can treat the v1..v5 variables as strings.  Change the statements that clear them out, and apply your format conversion function in either in the widget script (as your store the value), or as you load it in the dashboard script.

    0
    Comment actions Permalink
  • Avatar
    Delsaran Bigglesworth

    Thanks Brian, and thanks for the snappy reply too. :)

    0
    Comment actions Permalink

Please sign in to leave a comment.