Example #1
0
 /// <summary>
 /// Customize styling options for the bottom axis (XAxis)
 /// </summary>
 public void XLabel(string label = null, Color?color = null, string fontName = null, float?fontSize = null, bool?bold = null)
 {
     XAxis.Title.Label     = label;
     XAxis.Title.Font.Name = string.IsNullOrWhiteSpace(fontName) ? XAxis.Title.Font.Name : fontName;
     XAxis.Title.Font.Size = fontSize ?? XAxis.Title.Font.Size;
     XAxis.Configure(color: color);
     XAxis.Title.Font.Bold = bold ?? XAxis.Title.Font.Bold;
 }