mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
3.0 - optimize code
This commit is contained in:
@@ -412,6 +412,7 @@ namespace XCharts.Runtime
|
||||
|
||||
public static LabelStyle GetSerieLabel(Serie serie, SerieData serieData, bool highlight = false)
|
||||
{
|
||||
if (serieData == null) return serie.label;
|
||||
if (highlight)
|
||||
{
|
||||
if (!serie.IsPerformanceMode() && serieData.emphasis != null && serieData.emphasis.show)
|
||||
|
||||
Reference in New Issue
Block a user