Commit 4298831b authored by Francesco Carraro's avatar Francesco Carraro
Browse files

fixed chart legend: new items are inserted on top of legend (for being immediately visible)

parent 3405fdc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ namespace INAF.Apps.Uwp.SLabDataManager.Helpers.UI
                    IsRadioButtonChecked = spectrum.IsSelected
                };
                System.Diagnostics.Debug.WriteLine($"AddOrUpdateChartLegendItemsColorAsync {spectrum.Title}, opacity: {item.Opacity}, isVisible: {spectrum.IsVisible}");
                chartLegend.LegendItems.Add(item);
                chartLegend.LegendItems.Insert(0, item);
            }
        }