diff --git a/src/gen-charts.ts b/src/gen-charts.ts index 5be20a397..7e871cb4a 100644 --- a/src/gen-charts.ts +++ b/src/gen-charts.ts @@ -1412,7 +1412,7 @@ function makeChartType(chartType: CHART_NAME, data: IOptsChartData[], opts: ICha strXml += ' ' strXml += ' ' strXml += ' Sheet1!$' + getExcelColName(idxColLtr + 1) + '$1' - strXml += ' ' + obj.name + '' + strXml += ' ' + encodeXmlEntities(obj.name) + '' strXml += ' ' strXml += ' '