Points to the Environment
that this
renderer is tied to. This is automatically set when the
renderer is created.
Add a metric or metrics to this Histogram. For a single metric, pass the string matching the key of Agent data you would like to count. For multiple metrics, pass either an array of strings or strings as separate parameters, e.g.
histogram.metric("one", "two", "three");
orhistogram.metric(["one", "two", "three"]);
Mount this renderer to a DOM element. Pass either a string representing a CSS selector matching the element or the element itself.
// mounts the renderer to the element with the ID `container`
renderer.mount('#container');
// mounts the renderer to the element itself
const container = document.getElementById('container');
renderer.mount(container);
Generated using TypeDoc
0.3.0