Hi,
I'm using ScottPlot Avalonia 5.1.59.
I need to update the FontWeight for existing legend items. I can update the FontName and the FontSize, but I cannot find FontWeight.
Here is what I expect:
foreach (var legendItem in chart.Plot.Legend.ManualItems)
{
legendItem.LabelFontName = FontManager.Current.DefaultFontFamily.Name;
legendItem.LabelFontSize = (float)defaultSize;
legendItem.LabelFontWeight = fontWeight;
}
LabelFontWeight was not found. How can I update the FontWeight?
I would appreciate a reply
Alex
Hi,
I'm using ScottPlot Avalonia 5.1.59.
I need to update the FontWeight for existing legend items. I can update the FontName and the FontSize, but I cannot find FontWeight.
Here is what I expect:
LabelFontWeight was not found. How can I update the FontWeight?
I would appreciate a reply
Alex