7 writes to Color
System.Web.DataVisualization (7)
Common\ChartTypes\PieChart.cs (2)
431
collectedPoint.
Color
= (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, series[CustomPropertyName.CollectedColor]);
1921
lastPoint.
Color
= points[ points.Count / 2 ].Color;
Common\ChartTypes\PointAndFigureChart.cs (1)
669
newDataPoint.
Color
= upPriceColor;
Common\ChartTypes\RenkoChart.cs (1)
492
newDataPoint.
Color
= upBrickColor;
Common\ChartTypes\ThreeLineBreakChart.cs (1)
470
newDataPoint.
Color
= priceUpColor;
Common\DataManager\DataSeries.cs (2)
1540
this.
Color
= Color.Empty;
1555
dataPoint.
Color
= Color.Empty;
158 references to Color
System.Web.DataVisualization (158)
Common\ChartTypes\AreaChart.cs (6)
311
Color pointColor = point.
Color
;
329
areaBrush = graph.GetTextureBrush(point.BackImage, point.BackImageTransparentColor, point.BackImageWrapMode, point.
Color
);
612
using (Brush areaGradientBrush = graph.GetGradientBrush(areaPath.GetBounds(), this.Series.
Color
, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
959
Color color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.
Color
;
961
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.
Color
== Color.Empty)
1616
if(pointEx.dataPoint.
Color
.A != 255)
Common\ChartTypes\BarChart.cs (4)
615
point.
Color
,
794
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
1555
point.
Color
,
1791
(point.MarkerColor.IsEmpty) ? point.series.
Color
: point.MarkerColor,
Common\ChartTypes\BoxPlotChart.cs (24)
408
lineColor = point.
Color
;
441
point.
Color
,
489
if(markerLinesColor == point.
Color
)
491
double brightness = Math.Sqrt(point.
Color
.R * point.
Color
.R + point.
Color
.G * point.
Color
.G + point.
Color
.B * point.
Color
.B);
494
markerLinesColor = ChartGraphics.GetGradientColor(point.
Color
, Color.Black, 0.4);
498
markerLinesColor = ChartGraphics.GetGradientColor(point.
Color
, Color.White, 0.4);
774
lineColor = point.
Color
;
808
markerColor = point.
Color
;
1196
lineColor = point.
Color
;
1229
point.
Color
,
1269
if(markerLinesColor == point.
Color
)
1271
double brightness = Math.Sqrt(point.
Color
.R * point.
Color
.R + point.
Color
.G * point.
Color
.G + point.
Color
.B * point.
Color
.B);
1274
markerLinesColor = ChartGraphics.GetGradientColor(point.
Color
, Color.Black, 0.4);
1278
markerLinesColor = ChartGraphics.GetGradientColor(point.
Color
, Color.White, 0.4);
Common\ChartTypes\ColumnChart.cs (3)
596
point.
Color
,
876
point.
Color
,
1145
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
Common\ChartTypes\ErrorBarChart.cs (4)
569
point.
Color
,
842
point.
Color
,
866
Color markerColor = (point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor;
1326
point.
Color
,
Common\ChartTypes\FastLineChart.cs (2)
311
Pen linePen = new Pen(series.
Color
, series.BorderWidth);
317
Pen emptyLinePen = new Pen(series.EmptyPointStyle.
Color
, series.EmptyPointStyle.BorderWidth);
Common\ChartTypes\FastPointChart.cs (2)
313
SolidBrush markerBrush = new SolidBrush( ((series.MarkerColor.IsEmpty) ? series.
Color
: series.MarkerColor) );
314
SolidBrush emptyMarkerBrush = new SolidBrush( ((series.EmptyPointStyle.MarkerColor.IsEmpty) ? series.EmptyPointStyle.
Color
: series.EmptyPointStyle.MarkerColor) );
Common\ChartTypes\FunnelChart.cs (13)
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);
1217
(drawSegment) ? point.
Color
: Color.Transparent,
1266
(drawSegment) ? ChartGraphics.GetGradientColor( point.
Color
, Color.Black, 0.4 ) : Color.Transparent,
1315
(drawSegment) ? ChartGraphics.GetGradientColor( point.
Color
, Color.Black, 0.4 ) : Color.Transparent,
1417
series.Points[pointIndex-1].
Color
.A != 255)
1432
series.Points[pointIndex-1].
Color
.A != 255)
1455
else if(series.Points[pointIndex+1].
Color
.A != 255)
Common\ChartTypes\KagiChart.cs (7)
476
this.kagiUpColor = ChartGraphics.GetGradientColor(series.
Color
, Color.Black, 0.5);
497
Color lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : point.
Color
;
578
lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : point.
Color
;
595
path.Widen(new Pen(point.
Color
, point.BorderWidth + 2));
744
Color color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.
Color
;
746
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.
Color
== Color.Empty)
759
this.kagiUpColor = secondPoint.dataPoint.series.
Color
;
Common\ChartTypes\LineChart.cs (7)
748
Color color = (useBorderColor) ? point.BorderColor : point.
Color
;
756
Pen shadowPen = new Pen((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.
Color
.A/2, series.ShadowColor), pointBorderWidth);
928
path.Widen(new Pen(point.
Color
, pointBorderWidth + 2));
1059
graph.DrawLineRel( point.
Color
, point.BorderWidth, point.BorderDashStyle, firstPoint, secondPoint, series.ShadowColor, series.ShadowOffset );
1377
if(pointAttr.dataPoint.
Color
!= Color.Empty)
1531
Color color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.
Color
;
1533
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.
Color
== Color.Empty)
Common\ChartTypes\PieChart.cs (10)
907
if( point.
Color
.A != 255 )
908
shcolor = Color.FromArgb( point.
Color
.A/2, point.series.ShadowColor );
966
point.
Color
,
1919
if( firstPoint.tempColorIsSet && lastPoint.tempColorIsSet && firstPoint.
Color
== lastPoint.
Color
)
1921
lastPoint.Color = points[ points.Count / 2 ].
Color
;
2689
SolidBrush brush = new SolidBrush(point.
Color
);
2697
penColor = ChartGraphics.GetGradientColor( point.
Color
, Color.Black, 0.5 );
2701
penColor = point.
Color
;
2720
backSlicePen = new Pen(point.
Color
);
Common\ChartTypes\PointAndFigureChart.cs (4)
530
Color upPriceColor = ChartGraphics.GetGradientColor(series.
Color
, Color.Black, 0.5);
854
point.
Color
,
860
point.
Color
,
881
new Pen(point.
Color
, point.BorderWidth),
Common\ChartTypes\PointChart.cs (2)
486
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
1228
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
Common\ChartTypes\RadarChart.cs (8)
435
Color areaColor = pointAttributes.
Color
;
452
borderColor = pointAttributes.
Color
;
534
Color areaColor = pointAttributes.
Color
;
551
borderColor = pointAttributes.
Color
;
723
markerColor = point.
Color
;
748
markerColor = point.
Color
;
1560
markerColor = point.
Color
;
1583
markerColor = point.
Color
;
Common\ChartTypes\RangeChart.cs (9)
283
using (Brush areaGradientBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this._series.
Color
, this._series.BackSecondaryColor, this._series.BackGradientStyle))
405
areaBrush = graph.GetHatchBrush( point.BackHatchStyle, point.
Color
, point.BackSecondaryColor);
414
areaBrush = graph.GetTextureBrush(point.BackImage, point.BackImageTransparentColor, point.BackImageWrapMode, point.
Color
);
418
areaBrush = new SolidBrush(point.
Color
);
510
if(point.
Color
!= Color.Empty && point.
Color
!= Color.Transparent)
519
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.
Color
.A / 2, series.ShadowColor)))
940
Color color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.
Color
;
942
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.
Color
== Color.Empty)
Common\ChartTypes\RenkoChart.cs (3)
502
(newDataPoint.
Color
== Color.Empty || newDataPoint.
Color
== Color.Transparent) )
504
newDataPoint.BorderColor = series.
Color
;
Common\ChartTypes\StackedAreaChart.cs (10)
614
areaBrush = graph.GetHatchBrush(point.BackHatchStyle, point.
Color
, point.BackSecondaryColor);
623
areaBrush = graph.GetTextureBrush(point.BackImage, point.BackImageTransparentColor, point.BackImageWrapMode, point.
Color
);
625
else if (point.IsEmpty && point.
Color
== Color.Empty)
629
areaBrush = new SolidBrush(ser.
Color
);
633
areaBrush = new SolidBrush(point.
Color
);
726
linePath.Widen(new Pen(point.
Color
, point.BorderWidth + 2));
778
using (Brush areaBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this.Series.
Color
, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
1236
if (pointProperties.
Color
.A == 255)
1264
if (pointProperties.
Color
.A != 255)
1431
if(pointEx.dataPoint.
Color
.A != 255)
Common\ChartTypes\StackedBarChart.cs (2)
895
(!shadow)? point.
Color
: Color.Transparent,
1652
point.
Color
,
Common\ChartTypes\StackedColumnChart.cs (2)
913
(!shadow)? point.
Color
: Color.Transparent,
1691
point.
Color
,
Common\ChartTypes\StepLineChart.cs (6)
123
graph.DrawLineRel( point.
Color
, point.BorderWidth, point.BorderDashStyle, graph.GetRelativePoint(point1), graph.GetRelativePoint(point2), series.ShadowColor, series.ShadowOffset );
124
graph.DrawLineRel( point.
Color
, point.BorderWidth, point.BorderDashStyle, graph.GetRelativePoint(point2), graph.GetRelativePoint(point3), series.ShadowColor, series.ShadowOffset );
136
path.Widen(new Pen(point.
Color
, point.BorderWidth + 2));
172
path.Widen(new Pen(point.
Color
, point.BorderWidth + 2));
282
Color color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.
Color
;
284
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.
Color
== Color.Empty)
Common\ChartTypes\StockChart.cs (14)
440
point.
Color
,
564
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
746
Color priceUpColor = point.
Color
;
805
Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.
Color
: barColor : point.BorderColor;
849
using (Brush brush = new SolidBrush(point.
Color
))
891
graph.DrawLineRel(point.
Color
, point.BorderWidth, point.BorderDashStyle,
903
graph.DrawLineRel(point.
Color
, point.BorderWidth, point.BorderDashStyle,
1252
point.
Color
,
1391
(point.MarkerColor == Color.Empty) ? point.
Color
: point.MarkerColor,
1571
Color priceUpColor = point.
Color
;
1630
Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.
Color
: barColor : point.BorderColor;
1686
using (Brush brush = new SolidBrush(point.
Color
))
1738
graph.DrawLineRel(point.
Color
, point.BorderWidth, point.BorderDashStyle,
1756
graph.DrawLineRel(point.
Color
, point.BorderWidth, point.BorderDashStyle,
Common\ChartTypes\ThreeLineBreakChart.cs (3)
480
(newDataPoint.
Color
== Color.Empty || newDataPoint.
Color
== Color.Transparent) )
482
newDataPoint.BorderColor = series.
Color
;
Common\DataManager\DataManager.cs (1)
238
if(dataSeries.
Color
== Color.Empty || dataSeries.tempColorIsSet)
Common\DataManager\DataPoint.cs (1)
3811
/// A <see cref="
Color
"/> value which will be replaced with a transparent color while drawing the image.
Common\General\ChartGraphics3D.cs (8)
2507
if(leftPointAttr.dataPoint.series.EmptyPointStyle.
Color
== color ||
2508
leftPointAttr.dataPoint.series.EmptyPointStyle.
Color
.A == 255)
2515
if(leftPointAttr.dataPoint.
Color
== color ||
2516
leftPointAttr.dataPoint.
Color
.A == 255)
2563
if(rightPointAttr.dataPoint.series.EmptyPointStyle.
Color
== color ||
2564
rightPointAttr.dataPoint.series.EmptyPointStyle.
Color
.A == 255)
2571
if(rightPointAttr.dataPoint.
Color
== color ||
2572
rightPointAttr.dataPoint.
Color
.A == 255)
Common\General\Legend.cs (2)
2163
LegendItem item = new LegendItem(point.Label, point.
Color
, "");
2240
LegendItem item = new LegendItem(series.Name, series.
Color
, "");
Common\General\Selection.cs (1)
2221
if (dataPoint != null && dataPoint.
Color
== Color.Transparent)