Class allows the user to specify SQL queries and associate them with a discrete color or color gradient. If a discrete color is specified, then each row of the ResultSet will be mapped to one pixel in the image, and that pixel will be colored that discrete color. If a gradient is selected, then each row of the result set will have its first 1 to 3 numeric columns used to determine the RGB color components of pixels to create a gradient. The gradient is normalized for all ResultSet rows based on the highest and lowest values in the ResultSet for each column participating as a color component in the gradient.
@author John T. Langton - jlangton at visitrend dot com
| |