FillOutlineType is an integer-value attribute that turns on or off the drawing of an outline around filled areas. IMSL charting is largely made up of classes that inherit from ChartNode. Therefore ChartNode.FillOutlineType should be used to set the fill outline type. Its value should be FILL_TYPE_NONE (for outline off) or FILL_TYPE_SOLID (for outline on). The default is to draw solid lines.
FillOutlineColor is a Color-valued attribute that determines the color used to outline the filled regions. IMSL charting is largely made up of classes that inherit from ChartNode. Therefore ChartNode.FillOutlineColor should be used to set the fill outline color. The outline is drawn only if the attribute FillOutlineType has the value FILL_TYPE_SOLID. Its default value is Color.Black.
FillType is an integer-value attribute that turns on or off the drawing of the interior of filled areas. IMSL charting is largely made up of classes that inherit from ChartNode. Therefore ChartNode.FillType should be used to set the fill outline color. Its value should be
• FILL_TYPE_NONE for fill off.
• FILL_TYPE_SOLID for fill by a single, solid color. This is the default.
• FILL_TYPE_GRADIENT for fill by a color gradient.
• FILL_TYPE_PAINT for fill by a Brush object. This is usually a TextureBrush.
FillColor is a Color-valued attribute that determines the color used to fill a region with a solid color. Its default value is Color.Black. IMSL charting is largely made up of classes that inherit from ChartNode. Therefore AbstractChartNode.FillColor should be used to set the fill color.
Gradient is a Color array-valued attribute that fills a region with a gradient color. It does not have a default value. IMSL charting is largely made up of classes that inherit from ChartNode. Therefore ChartNode.SetGradient should be used to set the gradient.
The value of Gradient should be an array of four colors. These are the colors at the four corners of a square. In order they are: lower-left, lower-right, upper-right and upper-left.
• If the lower-side colors are equal (color[0] equals color[1]) and the upper-side colors are equal (color[2] equals color[3]), then a vertical gradient is drawn.
• If the left-side colors are equal (color[0] equals color[3]) and the right-side colors are equal (color[1] equals color[2]), then a horizontal gradient is drawn.
• If the lower-right and upper-left colors (color[1] and color[3]) are null, then a diagonal gradient is drawn using the lower-left (color[0]) and upper-right (color[2]) colors.
• If the lower-left and upper-right colors (color[0] and color[2]) are null, then a diagonal gradient is drawn using the lower-right (color[1]) and upper-left (color[3]) colors.
If none of the above patterns exist, then no gradient is drawn.
Vertical |
SetGradient(Color.Yellow, Color.Yellow, Color.Red, Color.Red) | |
Horizontal |
SetGradient(Color.Yellow, ColorRed, Color.Red, Color.Yellow) | |
Diagonal |
SetGradient(Color.Yellow, null, Color.Red, null) | |
Diagonal |
SetGradient(null, Color.Yellow, null, Color.Red) |
PHONE: 713.784.3131 FAX:713.781.9260 |