using Microsoft.AspNetCore.Components; namespace Connected.Components; public partial class Legend : Chart { [CascadingParameter] public Chart ChartParent { get; set; } [Parameter] public List Data { get; set; } = new List(); }