From 8485d45debf569c906554a76a80ff06dbb4362d4 Mon Sep 17 00:00:00 2001 From: Billy Charlton Date: Wed, 22 Dec 2021 15:00:43 +0100 Subject: [PATCH] feat(aggregate-od): Aggregate O/D Spider diagrams learned to be in dashboards - chart type "aggregate" - Also learned English! --- src/charts/aggregate.vue | 48 +++++ src/charts/allCharts.ts | 3 +- src/plugins/aggregate-od/AggregateOd.vue | 234 +++++++++++++---------- src/plugins/aggregate-od/LegendBoxOD.vue | 10 +- src/plugins/aggregate-od/ScaleBoxOD.vue | 13 +- src/plugins/aggregate-od/TimeSlider.vue | 9 +- 6 files changed, 207 insertions(+), 110 deletions(-) create mode 100644 src/charts/aggregate.vue diff --git a/src/charts/aggregate.vue b/src/charts/aggregate.vue new file mode 100644 index 00000000..e7b18487 --- /dev/null +++ b/src/charts/aggregate.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/src/charts/allCharts.ts b/src/charts/allCharts.ts index 84bc13eb..822d9d3c 100644 --- a/src/charts/allCharts.ts +++ b/src/charts/allCharts.ts @@ -15,6 +15,7 @@ import transit from './transit.vue' import vega from './vega.vue' // full-screen map visualizations: +import aggregate from './aggregate.vue' import carriers from './carriers.vue' import flowmap from './flowmap.vue' import links from './links.vue' @@ -37,7 +38,7 @@ export const plotlyCharts = { } // export all remaining charts/maps here: -export default Object.assign({ carriers, flowmap, links, map }, plotlyCharts) +export default Object.assign({ aggregate, carriers, flowmap, links, map }, plotlyCharts) // ----- HELPER FUNCTIONS ----------------------------------------------------- diff --git a/src/plugins/aggregate-od/AggregateOd.vue b/src/plugins/aggregate-od/AggregateOd.vue index 93ac9d16..c3e671ef 100644 --- a/src/plugins/aggregate-od/AggregateOd.vue +++ b/src/plugins/aggregate-od/AggregateOd.vue @@ -1,18 +1,29 @@ -