Class: MetricsChartView

MetricsChartView()

The MetricsChartView will render an SVG times-series chart using D3 that shows the number of metrics over time.

Screenshot

Constructor

new MetricsChartView()

Source:

Extends

  • Backbone.View

Methods

listenToWindowResize()

Adds a listener so when the window is resized, the chart is redrawn
Source:

onClose()

Cleans up listeners and other artifacts from this view
Source:

render()

Renders this Metric Chart view.
Source:

stopListenToWindowResize()

Removes the window resize listener set in MetricsChartView#listenToWindowResize
Source: