23 references to Legend
System.Web.DataVisualization (23)
Common\General\LegendColumns.cs (23)
1458
this.cellPosition.Height -= this.
Legend
.GetSeparatorSize(LegendItem.SeparatorType).Height;
1545
cellSize.Height += this.
Legend
.GetSeparatorSize(LegendItem.SeparatorType).Height;
1569
if(this.BackColor.IsEmpty && this.
Legend
!= null)
1579
if(cellIndex < this.
Legend
.CellColumns.Count &&
1580
!this.
Legend
.CellColumns[cellIndex].BackColor.IsEmpty)
1582
resultColor = this.
Legend
.CellColumns[cellIndex].BackColor;
1589
this.
Legend
.InterlacedRows &&
1592
if(this.
Legend
.InterlacedRowsColor.IsEmpty)
1596
if(this.
Legend
.BackColor == Color.Empty)
1600
else if(this.
Legend
.BackColor == Color.Transparent)
1614
resultColor = ChartGraphics.GetGradientColor( this.
Legend
.BackColor, Color.Black, 0.2 );
1619
resultColor = this.
Legend
.InterlacedRowsColor;
1640
this.
Legend
!= null)
1650
if(cellIndex < this.
Legend
.CellColumns.Count &&
1651
this.
Legend
.CellColumns[cellIndex].Font != null)
1653
cellFont = this.
Legend
.CellColumns[cellIndex].Font;
1821
if(this.
Legend
!= null)
1823
int recomendedTextLength = this.
Legend
.TextWrapThreshold;
1872
if(this.
Legend
!= null)
1882
if(cellIndex < this.
Legend
.CellColumns.Count &&
1883
!this.
Legend
.CellColumns[cellIndex].ForeColor.IsEmpty)
1885
return this.
Legend
.CellColumns[cellIndex].ForeColor;
1891
return this.
Legend
.ForeColor;