Commit 6889936c authored by Frank Bergmann's avatar Frank Bergmann

- Fixed worst issues of new indicator

parent a6802a24
......@@ -78,48 +78,6 @@ Ext.onReady(function () {
renderTo: '@diagram_id@',
layout: 'fit',
header: false,
tbar: [
{
xtype: 'combo',
editable: false,
fieldLabel: '<%=[lang::message::lookup "" intranet-reporting-dashboard.Interval Interval]%>',
store: revenueByYearsIntervalStore,
mode: 'local',
displayField: 'display',
valueField: 'value',
triggerAction: 'all',
width: 250,
forceSelection: true,
value: '@diagram_default_interval@',
listeners:{select:{fn:function(combo, comboValues) {
var value = comboValues[0].data.value;
var extraParams = revenueByYearsStore.getProxy().extraParams;
extraParams.diagram_interval = value;
revenueByYearsStore.load();
}}}
}, '->',
{
xtype: 'combo',
editable: false,
fieldLabel: '<%=[lang::message::lookup "" intranet-reporting-dashboard.Fact_Dimension "Fact Dimension"]%>',
store: revenueByYearsFactStore,
mode: 'local',
displayField: 'display',
valueField: 'value',
triggerAction: 'all',
width: 250,
forceSelection: true,
value: '@diagram_default_fact@',
listeners:{select:{fn:function(combo, comboValues) {
var value = comboValues[0].data.value;
var extraParams = revenueByYearsStore.getProxy().extraParams;
extraParams.diagram_fact = value;
revenueByYearsStore.load();
}}}
}
],
items: revenueByYearsChart
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment