/// <summary> /// Prepares an axis label to be plotted. /// </summary> /// <param name="label">The axis label to prepare.</param> /// <param name="dataContext">The data context to use for the axis /// label.</param> protected virtual void PrepareAxisLabel(Control label, object dataContext) { label.DataContext = dataContext; label.SetStyle(AxisLabelStyle); }