diff --git a/src/components/charts/HourlyChart.vue b/src/components/charts/HourlyChart.vue index 753bf25c..a1663909 100644 --- a/src/components/charts/HourlyChart.vue +++ b/src/components/charts/HourlyChart.vue @@ -52,6 +52,7 @@ const CHART_TRADE_COUNT = 'Trade Count'; }, }) export default class HourlyChart extends Vue { + // TODO: This chart is not used at the moment! @Prop({ required: true }) trades!: Trade[]; @Prop({ default: true, type: Boolean }) showTitle!: boolean; diff --git a/src/store/modules/layout.ts b/src/store/modules/layout.ts index 8cf55b08..eb21203c 100644 --- a/src/store/modules/layout.ts +++ b/src/store/modules/layout.ts @@ -13,10 +13,10 @@ export enum TradeLayout { export enum DashboardLayout { KPI = 'g-kpi', dailyChart = 'g-dailyChart', - hourlyChart = 'g-hourlyChart', + botComparison = 'g-botComparison', + allOpenTrades = 'g-allOpenTrades', cumChartChart = 'g-cumChartChart', tradesLogChart = 'g-TradesLogChart', - allOpenTrades = 'g-allOpenTrades', } export enum LayoutGetters { @@ -53,7 +53,7 @@ const DEFAULT_TRADING_LAYOUT: GridItemData[] = [ const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [ { i: DashboardLayout.KPI, x: 0, y: 0, w: 4, h: 6 }, { i: DashboardLayout.dailyChart, x: 4, y: 0, w: 4, h: 6 }, - { i: DashboardLayout.hourlyChart, x: 0, y: 6, w: 6, h: 4 } /* Bot Comparison */, + { i: DashboardLayout.botComparison, x: 0, y: 6, w: 6, h: 4 } /* Bot Comparison */, { i: DashboardLayout.allOpenTrades, x: 6, y: 6, w: 6, h: 4 }, { i: DashboardLayout.cumChartChart, x: 8, y: 0, w: 4, h: 6 }, { i: DashboardLayout.tradesLogChart, x: 0, y: 12, w: 12, h: 4 }, @@ -61,7 +61,7 @@ const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [ const DEFAULT_DASHBOARD_LAYOUT_SM: GridItemData[] = [ { i: DashboardLayout.KPI, x: 0, y: 0, w: 12, h: 6 }, - { i: DashboardLayout.hourlyChart, x: 0, y: 6, w: 12, h: 6 } /* Bot Comparison */, + { i: DashboardLayout.botComparison, x: 0, y: 6, w: 12, h: 6 } /* Bot Comparison */, { i: DashboardLayout.allOpenTrades, x: 0, y: 12, w: 12, h: 8 }, { i: DashboardLayout.dailyChart, x: 0, y: 20, w: 12, h: 6 }, { i: DashboardLayout.cumChartChart, x: 0, y: 26, w: 12, h: 6 }, diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index cc133129..3a57deec 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -77,17 +77,31 @@ - - + + + + + + +