Difference between revisions of "ComputeCloud Formula Examples"

From dataZoa Wiki
Jump to: navigation, search
(Formulas with just one Input Variable:)
(Formulas with just one input Variable:)
Line 2: Line 2:
 
=== Formulas with just one input Variable: ===
 
=== Formulas with just one input Variable: ===
 
<div style="margin:2em; margin-left:6em;">
 
<div style="margin:2em; margin-left:6em;">
<table class="Gbb1" style="width:100%;font-size:smaller;">
+
<table class="Gbb1" style="width:100%;font-size:smaller; cell-padding: 0.5em;">
 
  <tr>
 
  <tr>
 
   <td style="width:35%;font-size:larger;"><b>Purpose</b></td>
 
   <td style="width:35%;font-size:larger;"><b>Purpose</b></td>

Revision as of 10:50, 24 January 2019

Formulas with just one input Variable:

Purpose Formula
Simple 10 Point Moving AverageMovavg(V1,10)
Set tooltip prefix, suffix, decimals and date format (%B= Month full name, %b = Month abbreviation, %m = Month number, %d = Day number, %Y = 4 digit year, %y = 2 digit year).
{
   tooltip: { valuePrefix:'$', valueSuffix:' USD', valueDecimals:2, xDateFormat:'%b-%d-%Y' }
}
Separate tooltips for each series displayed one-at-a-time (e.g. for whichever series is being hovered over).
{
   tooltip: { shared:false }
}
Separate tooltips foe each series displayed simultaneously.
{
   tooltip: { split:true }
}