Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi com,
how can i add the functionality to select a bar (country) in a bar chart.
I already build the bar chart in the editor, but i dont found anything that teaches me how to add the possiblity of interaction.
thx in advance.
hi ,
so i worked a bit and now i found one mistake of mis placed div.
but my city name are still missing sorry for my bad css and html skills.
self research!! I did searched my code and found out that the span was missing for bar selectable class!
<div style="height:100%;overflow:auto">
<div class="header"><span>verkauft in filialen</span></div>
<span>{{data.headers[1].qFallbackTitle}}</span>
<div ng-repeat="row in data.rows" class="row" title="{{row.dimensions[0].qText}}">
<div class="bar selectable" style="width:{{row.measures[0].getPercentOfMax()}}%"
ng-class="{'selected':row.dimensions[0].selected}" qva-activate="row.dimensions[0].select()">
<span>{{row.dimensions[0].qText}}</span>
</div>
<div class="per">
<span class="{{row.measures[0].getPercentOfMax()>95 ? 'over':'' }}">{{row.measures[0].qText}}
</span>
</div>
</div>
</div>