-
Notifications
You must be signed in to change notification settings - Fork 140
170_Math_functions
Ole Kröger edited this page Jun 17, 2014
·
16 revisions
Previous Page Table of content
It's possible to compute math values like standard deviation using the chart data and itegrate the value into the chart with annotateLabel
or inGraphDataTmpl
.
Integrated math functions
- mean
- varianz
- stddev (Standard deviation)
- cv (Coefficient of variation)
If you want to add the difference between the current value and a math function you can add a Dif
after the name of the math function. For example:
inGraphDataTmpl: '<%=meanDif()%>'
If you want to have the varianz over each data point:
inGraphDataTmpl: '<%=varianz()%>'
And it's possible to round the data using
inGraphDataTmpl: '<%=varianz(3)%>'
The default number of decimal places is 2
inGraphDataTmpl: '<%=varianz(2)%>'
= inGraphDataTmpl: '<%=varianz()%>'