Adding byte[] Image to Blazor Accumulation Donut Chart Center

Hi support - is there any way to add a byte[] image to acculuation Donut Chart? It currently only support a url image for Background Image URL



1 Reply 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team November 21, 2020 02:34 PM UTC

Hi Laurence,

 

Greetings from Syncfusion.

 

We suggest you to use annotations to render the custom image in accumulation chart. Please check with below code snippet and documentation link.

 

<SfAccumulationChart>

    <AccumulationChartAnnotations>

        <AccumulationChartAnnotation  X=350 Y=180  CoordinateUnits="@Syncfusion.Blazor.Charts.Units.Pixel"    Region="@Syncfusion.Blazor.Charts.Regions.Chart">

            <ContentTemplate>

                <div></div>

            </ContentTemplate>

        </AccumulationChartAnnotation>

    </AccumulationChartAnnotations>

</SfAccumulationChart>

 

 

https://blazor.syncfusion.com/documentation/accumulation-chart/annotation/

 

Please revert us, if you have any concerns.

 

Regards,

Durga G


Marked as answer
Loader.
Up arrow icon