region_scoreboard~HistoryChart(svg)

Updates an SVG history chart for regional scores.

new HistoryChart(svg)

Parameters:
Name Type Description
svg SVGElement

The SVG element used to render the chart.

Methods

update(regionScore, logscale)

Replace the chart content for the supplied score data and scale.

Parameters:
Name Type Description
regionScore RegionScore

The RegionScore object containing score data.

logscale boolean

Whether to use logarithmic scale for the chart.