Is it possible to set the same height for all layers in the funnel chart?

I'd like to have all the layers have the same height.



1 Reply

DG Durga Gopalakrishnan Syncfusion Team December 16, 2021 03:23 PM UTC

Hi Euijun, 

Greetings from Syncfusion. 

We suggest you to specify same value for all data points to display funnel in equal height and OnDataLabelRender event to customize data labels. We have prepared sample based on your requirement. Please check with below snippet and screenshot. 

<SfAccumulationChart> 
   <AccumulationChartEvents OnDataLabelRender="LabelRender"></AccumulationChartEvents> 
</SfAccumulationChart> 
@code{ 
public int Count = 0; 
    public String[] Labels = new String[] { "1","2","3","4","5" }; 
    public void LabelRender(AccumulationTextRenderEventArgs args) 
    { 
        args.Text = Labels[Count]; 
        Count++; 
    } 
} 

 


Kindly revert us if you have any concerns. 

Regards, 
Durga G 


Loader.
Up arrow icon