70 references to GetGradientColor
System.Windows.Forms.DataVisualization (70)
Common\Annotation\TextAnnotation.cs (1)
612
Color textShadowColor = ChartGraphics.
GetGradientColor
(this.ForeColor, Color.Black, 0.8);
Common\ChartTypes\AreaChart.cs (5)
1244
surfaceBorderColor = ChartGraphics.
GetGradientColor
( color, Color.Black, 0.2 );
1270
Color topColor = (topDarkening == 0f) ? surfaceColor : ChartGraphics.
GetGradientColor
(surfaceColor, Color.Black, topDarkening);
1271
Color topBorderColor = (topDarkening == 0f) ? surfaceBorderColor : ChartGraphics.
GetGradientColor
(surfaceBorderColor, Color.Black, topDarkening);
1296
Color bottomColor = (bottomDarkening == 0f) ? surfaceColor : ChartGraphics.
GetGradientColor
(surfaceColor, Color.Black, topDarkening);
1297
Color bottomBorderColor = (bottomDarkening == 0f) ? surfaceBorderColor : ChartGraphics.
GetGradientColor
(surfaceBorderColor, Color.Black, topDarkening);
Common\ChartTypes\BoxPlotChart.cs (4)
494
markerLinesColor = ChartGraphics.
GetGradientColor
(point.Color, Color.Black, 0.4);
498
markerLinesColor = ChartGraphics.
GetGradientColor
(point.Color, Color.White, 0.4);
1274
markerLinesColor = ChartGraphics.
GetGradientColor
(point.Color, Color.Black, 0.4);
1278
markerLinesColor = ChartGraphics.
GetGradientColor
(point.Color, Color.White, 0.4);
Common\ChartTypes\FunnelChart.cs (9)
664
Color lightColor = ChartGraphics.
GetGradientColor
( point.Color, Color.White, 0.3 );
665
Color darkColor = ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.3 );
841
(drawSegment) ? ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.4 ) : Color.Transparent,
891
(drawSegment) ? ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.4 ) : Color.Transparent,
1155
Color lightColor = ChartGraphics.
GetGradientColor
( point.Color, Color.White, 0.3 );
1156
Color darkColor = ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.3 );
1201
pen = new Pen(ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.3 ), 1);
1266
(drawSegment) ? ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.4 ) : Color.Transparent,
1315
(drawSegment) ? ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.4 ) : Color.Transparent,
Common\ChartTypes\KagiChart.cs (1)
476
this.kagiUpColor = ChartGraphics.
GetGradientColor
(series.Color, Color.Black, 0.5);
Common\ChartTypes\PieChart.cs (1)
2697
penColor = ChartGraphics.
GetGradientColor
( point.Color, Color.Black, 0.5 );
Common\ChartTypes\PointAndFigureChart.cs (1)
530
Color upPriceColor = ChartGraphics.
GetGradientColor
(series.Color, Color.Black, 0.5);
Common\ChartTypes\RangeChart.cs (2)
1260
surfaceBorderColor = ChartGraphics.
GetGradientColor
( color, Color.Black, 0.2 );
1716
surfaceBorderColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.2 );
Common\General\Axis.cs (1)
3129
stripLine.BackColor = ChartGraphics.
GetGradientColor
(ChartArea.BackColor, Color.Black, 0.2);
Common\General\ChartGraphics.cs (2)
4092
return
GetGradientColor
( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
4096
return
GetGradientColor
( beginColor, Color.Black, -brightness + position);
Common\General\ChartGraphics3D.cs (18)
1238
surfaceBorderColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.2 );
1904
Color cutSurfaceBackColor = ChartGraphics.
GetGradientColor
(backColor, Color.Black, 0.5);
1905
Color cutSurfaceBorderColor = ChartGraphics.
GetGradientColor
(borderColor, Color.Black, 0.5);
2114
surfaceBorderColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.2 );
2884
borderColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.5 );
2896
topLightColor = ChartGraphics.
GetGradientColor
(topLightColor, Color.Black, topRightDarkening);
2900
rightLightColor = ChartGraphics.
GetGradientColor
(rightLightColor, Color.Black, topRightDarkening);
2907
bottomLightColor = ChartGraphics.
GetGradientColor
(bottomLightColor, Color.Black, bottomLeftDarkening);
2911
leftLightColor = ChartGraphics.
GetGradientColor
(leftLightColor, Color.Black, bottomLeftDarkening);
3603
circleBrush.CenterColor = ChartGraphics.
GetGradientColor
(markerColor, Color.White, 0.85);
4019
borderColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.5 );
4031
topLightColor = ChartGraphics.
GetGradientColor
(topLightColor, Color.Black, topRightDarkening);
4035
rightLightColor = ChartGraphics.
GetGradientColor
(rightLightColor, Color.Black, topRightDarkening);
4042
bottomLightColor = ChartGraphics.
GetGradientColor
(bottomLightColor, Color.Black, bottomLeftDarkening);
4046
leftLightColor = ChartGraphics.
GetGradientColor
(leftLightColor, Color.Black, bottomLeftDarkening);
4165
Color lightColor = ChartGraphics.
GetGradientColor
( backColor, Color.White, 0.3 );
4166
Color darkColor = ChartGraphics.
GetGradientColor
( backColor, Color.Black, 0.3 );
4303
pen.Color = frontSurfaceBrush == null ? surfaceColor : ChartGraphics.
GetGradientColor
(backColor, Color.Black, 0.3);
Common\General\LegendColumns.cs (1)
1614
resultColor = ChartGraphics.
GetGradientColor
( this.Legend.BackColor, Color.Black, 0.2 );
Common\General\Matrix3D.cs (21)
929
left = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.25);
930
top = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.15);
932
right = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.25);
933
bottom = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.15);
955
front = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[1])/Math.PI );
957
back = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[2])/Math.PI );
959
left = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0 );
961
right = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0 );
965
front = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0 );
967
back = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 1 );
969
left = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[3])/Math.PI );
971
right = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[4])/Math.PI );
974
top = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[5])/Math.PI );
976
bottom = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[6])/Math.PI );
1062
color = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.15);
1067
color = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.15);
1115
color = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.25);
1119
color = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.25);
1123
color = ChartGraphics.
GetGradientColor
( surfaceColor, Color.Black, 0.15);
1193
return ChartGraphics.
GetGradientColor
( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
1197
return ChartGraphics.
GetGradientColor
( beginColor, Color.Black, -brightness + position );
Common\General\Title.cs (3)
1608
Color textShadowColor = ChartGraphics.
GetGradientColor
(this.ForeColor, Color.Black, 0.8);
1767
Color texthighlightColor = ChartGraphics.
GetGradientColor
(Color.White, foreColor, 0.3);
1791
Color texthighlightColor = ChartGraphics.
GetGradientColor
(Color.White, foreColor, 0.3);