Merge pull request #315 from 418sec/1-npm-frappe-charts

This commit is contained in:
Shivam Mishra 2020-12-14 14:18:10 +05:30 committed by GitHub
commit d5706a501b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ export default class AxisChart extends BaseChart {
let values = d.values;
let cumulativeYs = d.cumulativeYs || [];
return {
name: d.name,
name: d.name.replace(/<|>|&/g, (char) => char == '&' ? '&amp;' : char == '<' ? '&lt;' : '&gt;'),
index: i,
chartType: d.chartType,