Gets the main color used to draw the data set.
This method returns the color in HTML color format. For example, the pure red color FF0000 will be returned as a text string "#FF0000". The returned value can therefore be used as the color of HTML elements.
Because the HTML color format does not support semi-transparent colors, the alpha channel in the color will be removed. For example, the semi-transparent green color 80FF0000 will be returned as "#00FF00", with the alpha channel "80" removed. If the color is totally transparent (corresponding to the
Transparent color in the server side), this method returns null.
Also, the HTML color format does not support dynamic colors (such as gradients), so non-RGB colors are not supported.
© 2012 Advanced Software Engineering Limited. All rights reserved.