I have a problem about how to use gradient in pocket .dll
I want to display the gradient color in linear gauge , but it doesn't work.
May you help me to solve this problem?
The following code is used
Code: Select all
linear1 = New LinearGauge(c_Chart.Chart)
linear1.Hand.Brush.Gradient.StartColor = Color.Green
linear1.Hand.Brush.Gradient.MiddleColor = Color.Yellow
linear1.Hand.Brush.Gradient.EndColor = Color.Red
linear1.Hand.Brush.Gradient.Visible = True
linear1.Hand.Brush.Gradient.UseMiddle = True
linear1.Hand.Visible = True
Best regards,