Hi all,
I am trying to implement a drill-down feature on my half donut chart, where clicking on a label will redirect the user to a data screen and apply a matching filter. For example, if the user clicks on 'Out for Delivery', they should be taken to the data screen and the filter should be set to 'Out for Delivery'.
I have partially achieved this by using the DatapointIndex, but it only works when the data on the chart is not filtered. This is because the corresponding indexes change to different labels when the data is filtered, and I am not sure how to handle this.
I have attached my OML file for reference.
Could someone please provide some guidance or suggest a solution to overcome this issue?
Thank you!
Hi @Andrew Smith ,
You can use the DatapointIndex as an index into your list that serves as a source for your chart. The order in which the statusses are listed in that list corresponds with the order in which they are shown/counted in the chart.
so you can do something like GetOrdersData.Out_Data[DatapointIndex]
see attached your oml changed.
Dorine
Thanks so much, @Dorine Boudry. Did not even realise that is possible. Appreciate your input.