|X-Axis Interactivity [message #1833557]
||Fri, 16 October 2020 20:17
| Lady bug
Registered: October 2020
Is it possible to send value of X-Axis label in Bar Chart as a parameter for drill down, on mouse click event? For example, I have product types listed on X-axis. Values are product1, product2, product3, product4. I am trying to pass value "product3" as parameter when I click on that label itself.
I tried to define Interactivity for X-Axis, but I was not able to send actual label value. When I try to pass row["productType"], value product4 is always picked up.
Also, I tried to add script in beforeDrawAxisLabel, but could see that label.setAction() method is not available- I am getting "Cannot find function setAction in object org.eclipse.birt.chart.model.component.impl.LabelImpl".
I was trying to define drillthrough target, and to assign it to label action.
Powered by FUDForum
. Page generated in 0.02445 seconds