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 regionScoreRegionScore The RegionScore object containing score data.
logscaleboolean Whether to use logarithmic scale for the chart.