Is there some way to get more efficient than next for auto translate a DataTable, depending on a variable value?
I was trying to create a rectangle which within html 5 canvas for which i can provide value from min to max. For this i am thinking to create a gradient variable like
For instance user enters value 50 so the application should select mid of blue and Cyan and fill the rectangle. help appreciated. I have gone through with different links of SO but didn’t worked for me