/// <inheritdoc /> public override double MeasureLegend() { if (Items.Any()) { return(Items.Select(item => TextMeasurer.TextWidth(TooltipTitle(item))).Max() + MarkerSize); } return(0); }
public virtual double MeasureLegend() { return(TextMeasurer.TextWidth(GetTitle())); }