Highlight one data point

Is there anyway to highlight just one data point in a chart when it's selected by code?


1 Reply

SB Swetha Babu Syncfusion Team February 24, 2022 12:30 PM UTC

Hi Jason, 

Greetings from Syncfusion. 

We can highlight a point on initial by specifying the index of the series and point using the Series and Point property in ChartSelectedDataIndexes. We have created the simple blazor application to demonstrate the same and it can be downloaded from the below link. 



Code Snippet: 
<ChartSelectedDataIndexes> 
        <ChartSelectedDataIndex Series="0" Point="1"
        </ChartSelectedDataIndex> 
    </ChartSelectedDataIndexes> 

Screenshot: 

 

Kindly, revert us if you have any concerns. 

Regards, 
Swetha 


Loader.
Up arrow icon