Class Fn
java.lang.Object
org.apache.juneau.console.freemarker.Fn
Builds
$fn markers: JSON values the chart glue replaces with a function from JuneauCharts.fn.
Nothing is evaluated from a string; the marker is a name plus JSON arguments.
Example:
ChartDef.
- Since:
- 10.0.0
-
Method Summary
-
Method Details
-
ref
- Parameters:
name- A built-in (bare) or app (dotted) fn name. @return The marker{"$fn": name}.
-
ref
- Parameters:
name- A built-in (bare) or app (dotted) fn name.args- The factory arguments, ornull .- Returns:
- The marker
{"$fn": name, "args": args}. - Throws:
IllegalArgumentException- E-74 if the name is not a valid extension name.
-