I have a GridView that I bind in PageLoad() and I use the same data to dynamically create a timeline image that displays below the GridView. If I get 15 rows of data (pretty typical) each row in the GridView from top to bottom will have a corresponding vertical line drawn in the timeline jpg from left to right. The graph just shows how close or far apart each event is from its neighbors.
I do draw an id below each line in the image to help identify the corresponding row in the GridView but it's tedious to locate. It would be awesome if I could just move the mouse across the timeline image and have the corresponding rows in the GridView get highlighted as I go. I know the x-coordinates of each line because I generate the image from the same data using Bitmap, Graphics, DrawLine, etc. to make and save the jpg.
Any help greatly appreciated.
asp.net 2.0, vs2010, c#.
Aucun commentaire:
Enregistrer un commentaire