()
| 54 | * - A scatter plot that plots two timeseries against on another. |
| 55 | */ |
| 56 | export function plotData() { |
| 57 | logStatus('Rendering data plot...'); |
| 58 | const {timeSpan, series1, series2, normalize, scatter} = getDataVizOptions(); |
| 59 | |
| 60 | if (scatter && series1 !== 'None' && series2 !== 'None') { |
| 61 | // Plot the two series against each other. |
| 62 | makeTimeSeriesScatterPlot(series1, series2, timeSpan, normalize); |
| 63 | } else { |
| 64 | // Plot one or two series agains time. |
| 65 | makeTimeSeriesChart( |
| 66 | series1, series2, timeSpan, normalize, dataChartContainer); |
| 67 | } |
| 68 | |
| 69 | updateDateTimeRangeSpan(jenaWeatherData); |
| 70 | updateScatterCheckbox(); |
| 71 | logStatus('Done rendering chart.'); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Plot zero, one or two time series against time. |
no test coverage detected