Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
nagarajupinnibo
Creator
Creator

Select Values in Bar chart that was created with extensions

I had created a bar chart with Extensions.. When I select values in Chart, filters are not applied..But,when I select value in list box, then filters are applied in chart. I had a question:

1) Is there any possibility to apply filters in chart that was created with Extensions??

2)

Thanks

-Nagaraju

3 Replies
Clever_Anjos
Employee
Employee

Yes,

The trick way is setting a variable and attach a trigger to that variable change selecting the values into your dimension

Here´s a piece of code that sets a variable value when the user clicks

$(id_gau).click(function(){
var s = _this.Data.HeaderRows[0][0].text;
s = s + '|' + $(this).attr('title');
doc = Qv.GetCurrentDocument();
doc.SetVariable("vGauge",s);
});
}  
Gysbert_Wassenaar

See http://community.qlik.com/message/430582#430582


talk is cheap, supply exceeds demand
nagarajupinnibo
Creator
Creator
Author

When I click on chart, values are not changed.. I had created filters also with extensions. When I select standards object like listbox, data gets filtered. When I select value in chart, standard objects are not filtered. I had many filters, how i can apply trigger to each list box.