Closed kendo-bot closed 4 months ago
The legend items cannot be configured in the SeriesDefaults() configuration of the Pie Chart or Donut chart.
1) Create a Pie or a Donut Chart with a visible legend.
2) Add the SeriesDefaults() configuration and try to add the LegendItem() option to set the type of the legend items.
.SeriesDefaults(seriesDefaults => { seriesDefaults .Pie(); .LegendItem(x => x .Type("line") .Line(y => y.DashType(ChartDashType.Solid))); })
The Legenditem() option is available for Telerik UI for ASP.NET Core Pie Chart.
The legend items of the Pie Chart must be configurable through the SeriesDefaults() option.
Also reported in ticket 1647129
Bug report
The legend items cannot be configured in the SeriesDefaults() configuration of the Pie Chart or Donut chart.
Reproduction of the problem
1) Create a Pie or a Donut Chart with a visible legend.
2) Add the SeriesDefaults() configuration and try to add the LegendItem() option to set the type of the legend items.
The Legenditem() option is available for Telerik UI for ASP.NET Core Pie Chart.
Expected/desired behavior
The legend items of the Pie Chart must be configurable through the SeriesDefaults() option.
Environment