Control Click or Left Click on a chart point

Hi,

Is there a way to capture a control-click, shift-click  or left-click on a chart point?

Thanks

11 Replies

DG Durga Gopalakrishnan Syncfusion Team March 24, 2021 12:15 PM UTC

Hi Joseph,

Greetings from Syncfusion.

The left click can be noticed using OnPointClick event while clicking the chart series data point. We have attached the sample for your reference. In the sample, we have printed PointIndex and SeriesIndex in console. 

<SfChart>   
     <ChartEvents OnPointClick="PointClickEvent">
    </ChartEvents>
</SfChart>

@code {
public void PointClickEvent(PointEventArgs args)
    {
        // Here you can customize your code
        Console.WriteLine(args.PointIndex);
        Console.WriteLine(args.SeriesIndex);
    }
}


As of now, we don't have support for control click and shift click. Please let us know if you have any concerns.

Regards,
Durga G



SS Sarasilmiya Shahul Hameed Syncfusion Team March 25, 2021 04:43 AM UTC

From: Joseph Tan 
Sent: Wednesday, March 24, 2021 4:56 PM
To: Syncfusion Support <[email protected]>
Subject: Re: Syncfusion support community forum 163766, Control Click or Left Click on a chart point, has been updated. 
how about right click  ? 





DG Durga Gopalakrishnan Syncfusion Team March 26, 2021 12:36 PM UTC

Hi Joseph,

Please confirm whether the below case meets your requirement and based on your confirmation, we will include this scenario in our source.
 
In OnPointClick event, we can pass an argument to differentiate whether it is left click or right click. 

Kindly revert us if you have any concerns.

Regards,
Durga G



JT Joseph Tan March 26, 2021 09:29 PM UTC


how do you do that?

In my SF chart,  it doesn't even respond to a right click. 


DG Durga Gopalakrishnan Syncfusion Team March 29, 2021 12:12 PM UTC

Hi Joseph, 
  
Yes, as of now, our char doesn’t respond for right-click. We have asked for your confirmation to include support using the OnPointClick event with an additional argument that helps to differentiate whether the action is triggered by right click or left click, to achieve the requirement. 
  
Regards, 
Durga G 



JT Joseph Tan March 29, 2021 05:27 PM UTC

yes, that would be fine, if we can just pass an additional argument


DG Durga Gopalakrishnan Syncfusion Team March 30, 2021 04:17 PM UTC

Hi Joseph, 

Thanks for an update. 

We have considered your requirement as improvement and logged a feature request on this. This improvement will be included in our upcoming Volume 1 SP Release which is expected to be rolled out at end of April 2021. You can keep track of an improvement from below feedback link.   


Please revert us if you have any concerns. 

Regards, 
Durga G 



DG Durga Gopalakrishnan Syncfusion Team May 20, 2021 02:44 PM UTC

Hi Joseph, 

We regret for inconvenience. We are working on the reported improvement. We will include this improvement in our upcoming 2021 Volume 2 Main Release. We appreciate your patience until then. 

Regards, 
Durga G


SM Srihari Muthukaruppan Syncfusion Team July 2, 2021 11:15 AM UTC

Hi Joseph, 
 
Sorry for the inconvenience.   
 
Due to some technical difficulties we are unable to include the fix in our volume 2 release. We will include the fix in our volume 2 SP1 release which is scheduled to be rolled out by the mid of August 2021. We appreciate your patience until then. 
 
Regards, 
Srihari M 



BP Baby Palanidurai Syncfusion Team August 13, 2021 01:30 PM UTC

Hi Joseph, 

Thanks for your patience. 

We have completed the reported requirement and it is in testing phase. We will include this in our upcoming volume 3 main release which is expected to rolled out end September 2021. We appreciate your patience until then. 

Regards, 
Baby. 



DG Durga Gopalakrishnan Syncfusion Team October 4, 2021 02:32 PM UTC

Hi Joseph, 

We are glad to announce that our Essential Studio 2021 Volume 3 release v19.3.0.43 is rolled out and is available for download under the following link. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 

Regards, 
Durga G 


Loader.
Up arrow icon