We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077017c commit 2842199Copy full SHA for 2842199
changes.md
@@ -1,5 +1,9 @@
1
# JSROOT changelog
2
3
+## Changes in 5.2.x
4
+1. Fix - support pow(x,n) function in formula
5
+
6
7
## Changes in 5.2.3
8
1. Fix - potential mix-up in marker attributes handling
9
2. Fix - unzomming of log scale https://root-forum.cern.ch/t/25889
scripts/JSRootCore.js
@@ -1609,6 +1609,7 @@
1609
.replace(/\b(cos)\b/gi, 'Math.cos')
1610
.replace(/\b(tan)\b/gi, 'Math.tan')
1611
.replace(/\b(exp)\b/gi, 'Math.exp')
1612
+ .replace(/\b(pow)\b/gi, 'Math.pow')
1613
.replace(/pi/g, 'Math.PI');
1614
for (var n=2;n<10;++n)
1615
_func = _func.replace('x^'+n, 'Math.pow(x,'+n+')');
0 commit comments