Can we use drilldown in outsystems chart clicking the chart bars and generating Recor


Hi Team

Can we use Drill Down in outsystems chart like column chart.


Example i have a column chart showing some data for month wise and title count lets say and on load i have shown all data in grid.Now i want suppose i have click on January bar then i will be able to see that record for Jan titles in grid that is filtered data on bar click month wise drill down.



Hi,

Charts have that event built-in. 

Select the chart web block, and on the properties you will have the event OnClick with an action as destination. However, the click will not distinguish where in the chart you have clicked. You need to create your own work around.

Hi,

I know this is old, but as I stumbled here, I will leave the solution.

In OS10, in the OnNotify event of the Graph, you can use the NotifyGetMessage server action to get the message sent by the Graph with the following information "Label|Value", where Label is the label you used in the data point clicked and the Value is the Value in the point.

If the Label is enough for you to identify the column/point/etc, then you can filter whatever you need to filter.

Hope this helps if someone needs something similar.

Cheers.

Solution

Another solution (even simpler) is to use the DataPoint_GetClicked action from the Charts espace.

Solution

Thanks so much, Eduardo! I had put this one on hold for some time. 

A nice easy solution indeed :)!!

Works a charm!


Another solution (even simpler) is to use the DataPoint_GetClicked action from the Charts espace.