Update FontWeight for existing legend items
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
Línea de trabajo
Start at chart.Plot.Legend.ManualItems and compare the existing LabelFontName and LabelFontSize properties with the legend-item implementation used by ScottPlot Avalonia 5.1.59. Determine how an existing legend item's font weight can be exposed or updated, then verify that setting the weight changes rendered legend labels without affecting the other font settings.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- HTML
- Estrellas
- 49
- Forks
- 43
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ScottPlot/ScottPlot.NET
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
ScottPlot/ScottPlot.NET#54 ·
Todos los issues de ScottPlot/ScottPlot.NET
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Package Request]: Raven AbiertoHelp-Wanted Package-Request
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/winget-pkgs#438682 ·
-
Daemon passes --experimental-wasm-jspi unconditionally on Node >= 24; Node 26 rejects the flag Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Automattic/studio#4908 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
os:macos
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100