FlowingData Forums » Data Visualization

Walmart Visualization Adaptation

Started 4 months ago by uncoveringdata / 3 posts

  1. Hey
    I am trying to work on a adaptation to the Walmart/Target/Ross Store Visualization, I have location data and want to show location trends where the color of the datapoint indicates a good/bad trend. I am needing some pointers how to make the color of the marker dynamic based on a field in the xml data, the field can be either a value or the actual hex color needed.

    Anybody got any ideas??

    I had thought it would be as easy to conditionally process the value entered as brightGreen in walmarts.as but then realized that isnt been used and the color is hardcoded into the Markers.as

    I'm kinda learning as I go so any pointers appreciated, I guess somewhere I need to add a loop to the data...

    Thanks Guys

  2. i haven't looked at the code in a while, but i think you'll have to add a field in the Markers constructor to modify color. From there, add some logic in the main Walmarts.as file to change the color.

  3. Thanks, I think I must be making it more complicated...
    I havent played around with AS3 that much, so its fun learning while working project...

    Thanks


Reply

You must log in to post.

About this Topic