[OutSystems Charts] Missing DataPoint_GetClicked actions

Forge Component
(14)
Published on 7 Sep (3 weeks ago) by OutSystems R&D
14 votes
Published on 7 Sep (3 weeks ago) by OutSystems R&D

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

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


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:

Solution

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