15 writes to autoLabelFont
System.Web.DataVisualization (15)
Common\General\Axis.cs (14)
3678
this.
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(this.LabelStyle.Font.FontFamily,
3698
autoLabelFont
= null;
3731
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(this.LabelStyle.Font.FontFamily,
3741
autoLabelFont
= this.LabelStyle.Font;
3778
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
3911
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
3949
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
4763
this.
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
4773
this.
autoLabelFont
= this.LabelStyle.Font;
4800
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
5031
this.
autoLabelFont
= this.LabelStyle.Font;
5080
autoLabelFont
= this.LabelStyle.Font;
5113
currentAxis.
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
5123
autoLabelFont
= Common.Chart.chartPicture.FontCache.GetFont(
Common\General\ChartArea.cs (1)
2595
this.AxisX.
autoLabelFont
= Common.ChartPicture.FontCache.GetFont(
48 references to autoLabelFont
System.Web.DataVisualization (48)
Common\General\Axis.cs (36)
3774
if (
autoLabelFont
.SizeInPoints >= _aveLabelFontSize &&
3779
autoLabelFont
.FontFamily,
3780
autoLabelFont
.SizeInPoints - 0.5f,
3781
autoLabelFont
.Style,
3906
else if (
autoLabelFont
.SizeInPoints > _minLabelFontSize &&
3912
autoLabelFont
.FontFamily,
3913
autoLabelFont
.SizeInPoints - 0.5f,
3914
autoLabelFont
.Style,
3946
autoLabelFont
.SizeInPoints > _minLabelFontSize)
3950
autoLabelFont
.FontFamily,
3951
autoLabelFont
.SizeInPoints - 0.5f,
3952
autoLabelFont
.Style,
4797
if (
autoLabelFont
.SizeInPoints > _minLabelFontSize &&
4801
autoLabelFont
.FontFamily,
4802
autoLabelFont
.SizeInPoints - 1,
4803
autoLabelFont
.Style,
4858
this.
autoLabelFont
);
5029
if(this.
autoLabelFont
== null)
5078
if (
autoLabelFont
== null)
5103
if (
autoLabelFont
.SizeInPoints > _minLabelFontSize)
5111
if (currentAxis.enabled && currentAxis.IsLabelAutoFit && currentAxis.
autoLabelFont
!= null)
5114
currentAxis.
autoLabelFont
.FontFamily,
5115
autoLabelFont
.SizeInPoints - 1,
5116
currentAxis.
autoLabelFont
.Style,
5124
autoLabelFont
.FontFamily,
5125
autoLabelFont
.SizeInPoints - 1,
5126
autoLabelFont
.Style,
5313
SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"),
autoLabelFont
);
5465
autoLabelFont
,
5479
autoLabelFont
,
5702
(
autoLabelFont
!= null) ?
autoLabelFont
: this.LabelStyle.Font,
5713
(
autoLabelFont
!= null) ?
autoLabelFont
: this.LabelStyle.Font,
5938
SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), (
autoLabelFont
!= null) ?
autoLabelFont
: this.LabelStyle.Font);
Common\General\ChartArea.cs (4)
1538
if(axis.IsLabelAutoFit && axis.
autoLabelFont
!= null)
1540
axesAutoFontSize = Math.Min(axesAutoFontSize, axis.
autoLabelFont
.Size);
2691
(this.AxisX.
autoLabelFont
== null) ? this.AxisX.LabelStyle.Font : this.AxisX.
autoLabelFont
);
Common\General\Label.cs (8)
1262
(_axis.
autoLabelFont
== null) ? _font : _axis.
autoLabelFont
,
1271
SizeF size = graph.MeasureString(circAxis.Title.Replace("\\n", "\n"), (_axis.
autoLabelFont
== null) ? _font : _axis.
autoLabelFont
);
1781
(_axis.
autoLabelFont
== null) ? _font : _axis.
autoLabelFont
,
2499
(_axis.
autoLabelFont
== null) ? _font : _axis.
autoLabelFont
,