How to programmatically deselect a point in a stacked column chart?

My code is as follows:


isMultiSelect(false) still allows multiselection of points (but not of series), but this isn't what I want. What I need is that the user can only click at exactly one point at a time. So if I click on Series 1 Point 1, both Series 0 Point 0 and Series 0 Point 2 should be removed and only highlight Series 1 Point 1.


I've tried the following scripts (both called by selectionComplete and PointClick respectively):

but of course they don't work. How do I access the chart created inside the webpage so I could set its selectedDataIndexes to what I want? Then ultimately, only allowing one point click at a time.

Actual code attached :)

Attachment: StackedColumn_42cdd508.zip

1 Reply 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team February 26, 2021 10:25 AM UTC

Hi Merrick, 
 
We have analyzed your query. From that, we would like to let you know that the default behaviour of isMultiSelect option is to customize the point selection within a particular series. Unfortunately as of now it is not possible to deselect the point selection between series. 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Marked as answer
Loader.
Up arrow icon