Scaling Data Points to Window


I am currently trying to figure out the best way to tackle this and if you have any suggestions it would be most appreciated. I have an array of JSON objects retturned from an HTTP request that contain numerical values. These values can range from 100 to 100,000,000. Do you know of possible ways of scaling these particular values as points to a window? Would I have to get the highest possible value first to map it to the pixels of the window or are there other options? How would this be accomplished?

Thanks in advance for any help.



Sign In or Register to comment.