Declined
Last Updated: 23 Sep 2025 10:58 by ADMIN
Stenly
Created on: 02 May 2025 17:44
Category: Chart
Type: Bug Report
1
Chart: The created legend items for the BarSeries do not have markers
When binding the LegendProvider property of the RadLegendControl to a RadCartesianChart containing BarSeries causes the markers to not display.
1 comment
ADMIN
Stenly
Posted on: 23 Sep 2025 10:58

Hello,

After further examining this scenario, we decided to decline this bug report.

The reason for this decision is that the control by default uses the Composition API to draw the elements for the BarSeries, which is done in order to increase the performance when using series, such as the BarSeries, AreaSeries, etc.

To change this behavior for this scenario, the suggested approach would be to create a custom ContainerVisualsFactory and override the CanDrawContainerVisual method to return false. Then, a new instance of it can be set to the ContainerVisualsFactory property of the RadCartesianChart element.

public class MyContainerVisualFactory : ContainerVisualsFactory 
{ 
    protected override bool CanDrawContainerVisual(PresenterBase visualElement) 
    { 
        return false; 
    } 
} 
<telerikChart:RadCartesianChart.ContainerVisualsFactory> 
    <local:MyContainerVisualFactory/> 
</telerikChart:RadCartesianChart.ContainerVisualsFactory> 

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.