-
Bug
-
Resolution: Fixed
-
Major
-
None
Hi,
I'm getting an "Uncaught SyntaxError: Unexpected token ?" JavaScript error from the "/static/012ea04e/plugin/echarts-api/js/trend-chart.js" file from this code:
yAxis: [{
type: 'value',
min: chartModel.rangeMin ?? 'dataMin',
max: chartModel.rangeMax ?? 'dataMax',
axisLabel: {
color: textColor
},
minInterval: chartModel.integerRangeAxis ? 1 : null
}
It's happening because of "Nullish coalescing operator" usage ("??"), which is only supported since Google Chrome 80 / Firefox 72.
- links to