Code pulls an array of ints and a corresponding description from a db and draws scaled bar graphs representing each data set.
I would like to be able to display the description on mouseover of the corresponding column in the bar graph.
I'm guessing I'd have to store a matrix of coordinates for each bar in the graph and the corresponding text and continually check the mouse X,Y to determine which bar the mouse is over and which text to display.
Could I make each bar a unique color then just carry an array of colors/descriptions, such that if the mouse is over color_X, I display text_X?