Remove caption from chart type menu
This commit is contained in:
parent
3d501650c2
commit
b51aec35cf
|
@ -1749,7 +1749,7 @@ define([
|
||||||
this.paragraphControls.push(this.mnuInsertPageCount);
|
this.paragraphControls.push(this.mnuInsertPageCount);
|
||||||
|
|
||||||
this.btnInsertChart.setMenu( new Common.UI.Menu({
|
this.btnInsertChart.setMenu( new Common.UI.Menu({
|
||||||
style: 'width: 364px;',
|
style: 'width: 364px;padding-top: 12px;',
|
||||||
items: [
|
items: [
|
||||||
{template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
{template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
||||||
]
|
]
|
||||||
|
@ -1761,7 +1761,7 @@ define([
|
||||||
parentMenu: menu,
|
parentMenu: menu,
|
||||||
showLast: false,
|
showLast: false,
|
||||||
restoreHeight: 421,
|
restoreHeight: 421,
|
||||||
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData(true)),
|
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()),
|
||||||
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
||||||
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
||||||
});
|
});
|
||||||
|
|
|
@ -3651,7 +3651,7 @@ define([
|
||||||
|
|
||||||
if (!menu) {
|
if (!menu) {
|
||||||
this.placeholderMenuChart = menu = new Common.UI.Menu({
|
this.placeholderMenuChart = menu = new Common.UI.Menu({
|
||||||
style: 'width: 364px;',
|
style: 'width: 364px;padding-top: 12px;',
|
||||||
items: [
|
items: [
|
||||||
{template: _.template('<div id="id-placeholder-menu-chart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
{template: _.template('<div id="id-placeholder-menu-chart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
||||||
]
|
]
|
||||||
|
|
|
@ -1164,7 +1164,7 @@ define([
|
||||||
);
|
);
|
||||||
|
|
||||||
this.btnInsertChart.setMenu( new Common.UI.Menu({
|
this.btnInsertChart.setMenu( new Common.UI.Menu({
|
||||||
style: 'width: 364px;',
|
style: 'width: 364px;padding-top: 12px;',
|
||||||
items: [
|
items: [
|
||||||
{template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
{template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
|
||||||
]
|
]
|
||||||
|
@ -1176,7 +1176,7 @@ define([
|
||||||
parentMenu: menu,
|
parentMenu: menu,
|
||||||
showLast: false,
|
showLast: false,
|
||||||
restoreHeight: 421,
|
restoreHeight: 421,
|
||||||
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData(true)),
|
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()),
|
||||||
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()),
|
||||||
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
||||||
});
|
});
|
||||||
|
|
|
@ -1862,7 +1862,7 @@ define([
|
||||||
|
|
||||||
if ( this.btnInsertChart ) {
|
if ( this.btnInsertChart ) {
|
||||||
this.btnInsertChart.setMenu(new Common.UI.Menu({
|
this.btnInsertChart.setMenu(new Common.UI.Menu({
|
||||||
style: 'width: 364px;',
|
style: 'width: 364px;padding-top: 12px;',
|
||||||
items: [
|
items: [
|
||||||
{ template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>') }
|
{ template: _.template('<div id="id-toolbar-menu-insertchart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>') }
|
||||||
]
|
]
|
||||||
|
@ -1874,7 +1874,7 @@ define([
|
||||||
parentMenu: menu,
|
parentMenu: menu,
|
||||||
showLast: false,
|
showLast: false,
|
||||||
restoreHeight: 421,
|
restoreHeight: 421,
|
||||||
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData(true)/*.concat(Common.define.chartData.getSparkGroupData(true))*/),
|
groups: new Common.UI.DataViewGroupStore(Common.define.chartData.getChartGroupData()/*.concat(Common.define.chartData.getSparkGroupData(true))*/),
|
||||||
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()/*.concat(Common.define.chartData.getSparkData())*/),
|
store: new Common.UI.DataViewStore(Common.define.chartData.getChartData()/*.concat(Common.define.chartData.getSparkData())*/),
|
||||||
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue