X-Axis Interactivity [message #1833557] |
Fri, 16 October 2020 16:17  |
Eclipse User |
|
|
|
Hi,
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.
|
|
|
|
|
Re: X-Axis Interactivity [message #1833666 is a reply to message #1833639] |
Tue, 20 October 2020 15:10  |
Eclipse User |
|
|
|
You should use the Y series interactivity option as the drill through option if you are trying to pass the X axis value. It will filter that particular column when you match it to the drill through report's parameter.
I think they just built it this way so they don't have conflicting actions.
|
|
|
Powered by
FUDForum. Page generated in 0.05644 seconds