26
Views
3
Comments
Solved
[OutSystems Charts] Missing DataPoint_GetClicked actions
Question
Forge component by OutSystems R&D
14
Published on 07 Sep 2020

Hi,

I'd like to click on the chart and show the detail info of the point. In the web component a datapoint_getClicked action is available. In this version this option does not seem to be available. Is there another way for getting the clicked data in the onclick event or will this option become available in future releases (hopefully very soon).

Best regards,

Matthieu de Graaf

Staff
Rank: #42362
Solution

Hello, Matthieu de Graaf.

You can achieve that behavior using the 'Clickable' parameter and the 'OnClick' event the component provides.

In the action you assign to the OnClick event, you can implement your logic.

As an example:

And the result:

Hi,

Any update on this topic? After all, it's an OutSystems supported forge component, which is more or less part of the OutSystems framework.

Best regards,

Matthieu de Graaf


Staff
Rank: #42362
Solution

Hello, Matthieu de Graaf.

You can achieve that behavior using the 'Clickable' parameter and the 'OnClick' event the component provides.

In the action you assign to the OnClick event, you can implement your logic.

As an example:

And the result:

Hi Rui,

Thanks for your assistance. I found the OnClick Event but wanted it to handled directly by an event. In this case you miss the datapoint variable. 

Everything works fine now.

Kind regards,

Matthieu de Graaf