If (String, ...) is given, first parameter to helpers is an optional id (needed if components are moving within layout or layout "shape" is changing), otherwise first parameter is options. (Note: title is overloaded to accept String or Object for options)
Phase 2 of #24
Add helpers for standard charts/components for a little cleaner options and opportunity for future additions/changes.
Example:
If
(String, ...)
is given, first parameter to helpers is an optional id (needed if components are moving within layout or layout "shape" is changing), otherwise first parameter isoptions
. (Note:title
is overloaded to acceptString
orObject
for options)