From 8941720d52c6412a8d73ed92c656ce2533eb26ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Rodr=C3=ADguez?= Date: Wed, 21 Jul 2021 15:08:44 -0500 Subject: [PATCH] fixes #90 --- src/LiveChartsCore/Kernel/NamedLabeler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LiveChartsCore/Kernel/NamedLabeler.cs b/src/LiveChartsCore/Kernel/NamedLabeler.cs index 771c40123..9ebcde18c 100644 --- a/src/LiveChartsCore/Kernel/NamedLabeler.cs +++ b/src/LiveChartsCore/Kernel/NamedLabeler.cs @@ -50,7 +50,7 @@ public string Function(double value) var index = (int)value; return index < 0 || index > _labels.Count - 1 - ? index.ToString() + ? string.Empty : _labels[index]; } }