Click or drag to resize
ChartNodeSetGradient Method (Color, Color, Color, Color)
Sets the value of the "Gradient" attribute.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual void SetGradient(
	Color colorLL,
	Color colorLR,
	Color colorUR,
	Color colorUL
)

Parameters

colorLL
Type: System.DrawingColor
A Color value which specifies the color of the lower left corner.
colorLR
Type: System.DrawingColor
A Color value which specifies the color of the lower right corner.
colorUR
Type: System.DrawingColor
A Color value which specifies the color of the upper right corner.
colorUL
Type: System.DrawingColor
A Color value which specifies the color of the upper left corner.
Remarks

This attribute defines a color gradient used to fill regions. Only two of the four colors given are actually used.

Parameter ValuesResult
colorLL==colorLR and colorUL==colorURA vertical gradient is drawn.
colorLL==colorUL and colorLR==colorURA horizontal gradient is drawn.
colorLR== null and colorUL== nullA diagonal gradient is drawn.
colorLL== null and colorUR== nullA diagonal gradient is drawn.
See Also