Accumulation Chart - Data Labels


Hello

I have the following:


If I uncomment the DataLabelSettings:

<AccumulationDataLabelSettings Visible="true" Name="Value" Position="AccumulationLabelPosition.Inside"> </AccumulationDataLabelSettings>

then an error is thrown


Thank you

1 Reply 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team November 19, 2020 08:59 AM UTC

Hi Ditchford, 
 
We have analysed your query. Based on the provided code snippet we suspect the reported error may occur since legendSettings tag is provided inside the seriescollection tag. Unfortunately we are unable to reproduce the reported scenario in the latest version 18.3.50. We have also attached the sample used for testing. Please find the sample, code snippet and screenshot below. 
 
 
Code Snippet:   
    // add additional code here   
<SfAccumulationChart> 
 
    <AccumulationChartSeriesCollection> 
        <AccumulationChartSeries DataSource="@MedalDetails" XName="Country" YName="Medals"> 
            <AccumulationDataLabelSettings Visible="true" Name="Value" Position="AccumulationLabelPosition.Inside"></AccumulationDataLabelSettings> 
        </AccumulationChartSeries> 
    </AccumulationChartSeriesCollection> 
    <AccumulationChartTooltipSettings Enable="true"></AccumulationChartTooltipSettings> 
    <AccumulationChartLegendSettings Visible="true"></AccumulationChartLegendSettings> 
</SfAccumulationChart> 
// add additional code here   
 
 
Screenshot:    
 
 
If you still face this issue. kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner.  
  
  1. Try to reproduce the reported scenario in the above sample  
  2. Please share the nugget version used in the sample.
 
Regards,   
Srihari M 


Marked as answer
Loader.
Up arrow icon