Remove caption from chart type menu

This commit is contained in:
Julia Radzhabova 2021-01-13 14:14:36 +03:00
parent 3d501650c2
commit b51aec35cf
4 changed files with 7 additions and 7 deletions

View file

@ -1749,7 +1749,7 @@ define([
this.paragraphControls.push(this.mnuInsertPageCount);
this.btnInsertChart.setMenu( new Common.UI.Menu({
style: 'width: 364px;',
style: 'width: 364px;padding-top: 12px;',
items: [
{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,
showLast: false,
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()),
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
});

View file

@ -3651,7 +3651,7 @@ define([
if (!menu) {
this.placeholderMenuChart = menu = new Common.UI.Menu({
style: 'width: 364px;',
style: 'width: 364px;padding-top: 12px;',
items: [
{template: _.template('<div id="id-placeholder-menu-chart" class="menu-insertchart" style="margin: 5px 5px 5px 10px;"></div>')}
]

View file

@ -1164,7 +1164,7 @@ define([
);
this.btnInsertChart.setMenu( new Common.UI.Menu({
style: 'width: 364px;',
style: 'width: 364px;padding-top: 12px;',
items: [
{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,
showLast: false,
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()),
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
});

View file

@ -1862,7 +1862,7 @@ define([
if ( this.btnInsertChart ) {
this.btnInsertChart.setMenu(new Common.UI.Menu({
style: 'width: 364px;',
style: 'width: 364px;padding-top: 12px;',
items: [
{ 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,
showLast: false,
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())*/),
itemTemplate: _.template('<div id="<%= id %>" class="item-chartlist"><svg width="40" height="40" class=\"icon\"><use xlink:href=\"#chart-<%= iconCls %>\"></use></svg></div>')
});