Need a special offer?Find out if your project fits.
+

chart view cellclick

Answered
yanjun.chen asked on August 21, 2018

Hi ,
I have a question。Look at my attachment,when i click the yellow area,cellclick function don‘t work。
Do we have other similar functions that we can use if it's a chart view?
I'm sorry for my poor English。
Best regards,
Yen.

Attachments:
question.png

3 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 21, 2018

Hello Yanjun Chen,
Thank you for writing. The cellclick event is only applicable for the grid cells. It is not triggered when you click on the chart area. Currently, the component does not provide the similar API for the charts. Could you please provide more details about your use case? It would be much easier for us to find a suitable solution for you.
Waiting to hear from you.
Regards,
Dmytro

Public
yanjun.chen August 22, 2018

Hello Dmytro,
I hope that when I click on the yellow area, I can get some specific information such as the color name and color proportion of the area and drill down the next report。
Regards,
Yen

Public
Tanya Gryshko Tanya Gryshko Flexmonster August 22, 2018

Hello, Yen,
Thank you for your reply.
There is a possible alternative approach which lies in customizing the context menu.
For example, you can add a custom item to the context menu with the functionality you need. Inside the customizeContextMenu function, you will get the object which contains information about the chart segment which was right-clicked.
For more details please refer to the documentation
There is a small known issue with the information returned by Chart Object, however, it will be fixed on August the 25th.
Please let me know if the approach described above can work for you.
Regards,
Tanya

Please login or Register to Submit Answer