jofaichow commited on
Commit
d624c41
1 Parent(s): c15f45f

0.2.2 - toWebGL

Browse files
Files changed (1) hide show
  1. app/app.R +10 -9
app/app.R CHANGED
@@ -670,8 +670,9 @@ ui <- shinydashboardPlus::dashboardPage(
670
  - #### **0.1.7** — Added CoE Meetup GitHub page to `Community`
671
  - #### **0.1.8** — Various improvements in `Payout Summary`
672
  - #### **0.1.9** — Added `Payout Sim` based on new Corr and TC multipier settings
673
- - #### **0.2.0** — Replaced `Payout Summary` with `Performance Summary`. Added KPIs summary.
674
- - #### **0.2.1** — Added `KPI (All)` (work in progress).
 
675
  "),
676
 
677
  br(),
@@ -690,7 +691,7 @@ ui <- shinydashboardPlus::dashboardPage(
690
 
691
  footer = shinydashboardPlus::dashboardFooter(
692
  left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
693
- right = paste0("Version 0.2.1"))
694
 
695
  )
696
 
@@ -1326,7 +1327,7 @@ server <- function(input, output) {
1326
  ylab("Round Payout (NMR)")
1327
 
1328
  # Generate plotly
1329
- ggplotly(p, height = 500, tooltip = "text")
1330
 
1331
  })
1332
 
@@ -1376,7 +1377,7 @@ server <- function(input, output) {
1376
  ylab("Round Payout (NMR)")
1377
 
1378
  # Generate plotly
1379
- ggplotly(p, height = 500, tooltip = "text")
1380
 
1381
  })
1382
 
@@ -1448,7 +1449,7 @@ server <- function(input, output) {
1448
  if (n_model >= 65) height = 3000
1449
 
1450
  # Generate plotly
1451
- ggplotly(p, height = height, tooltip = "text")
1452
 
1453
  })
1454
 
@@ -1490,7 +1491,7 @@ server <- function(input, output) {
1490
  if (min(d_pref$avg_tc) <0) p_avg <- p_avg + geom_vline(aes(xintercept = 0), linewidth = 0.25, color = "grey", linetype = "dashed")
1491
 
1492
  # Convert to Plotly
1493
- ggplotly(p_avg, tooltip = "text")
1494
 
1495
  })
1496
 
@@ -1532,7 +1533,7 @@ server <- function(input, output) {
1532
  if (min(d_pref$sharpe_tc) <0) p_sharpe <- p_sharpe + geom_vline(aes(xintercept = 0), linewidth = 0.25, color = "grey", linetype = "dashed")
1533
 
1534
  # Convert to Plotly
1535
- ggplotly(p_sharpe, tooltip = "text")
1536
 
1537
  })
1538
 
@@ -1623,7 +1624,7 @@ server <- function(input, output) {
1623
  }
1624
 
1625
  # Convert to Plotly
1626
- ggplotly(p, height = height)
1627
 
1628
 
1629
  })
 
670
  - #### **0.1.7** — Added CoE Meetup GitHub page to `Community`
671
  - #### **0.1.8** — Various improvements in `Payout Summary`
672
  - #### **0.1.9** — Added `Payout Sim` based on new Corr and TC multipier settings
673
+ - #### **0.2.0** — Replaced `Payout Summary` with `Performance Summary`. Added KPIs summary
674
+ - #### **0.2.1** — Added `KPI (All)`
675
+ - #### **0.2.2** — Sped up chart rendering with `toWebGL()`
676
  "),
677
 
678
  br(),
 
691
 
692
  footer = shinydashboardPlus::dashboardFooter(
693
  left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
694
+ right = paste0("Version 0.2.2"))
695
 
696
  )
697
 
 
1327
  ylab("Round Payout (NMR)")
1328
 
1329
  # Generate plotly
1330
+ ggplotly(p, height = 500, tooltip = "text") |> toWebGL()
1331
 
1332
  })
1333
 
 
1377
  ylab("Round Payout (NMR)")
1378
 
1379
  # Generate plotly
1380
+ ggplotly(p, height = 500, tooltip = "text") |> toWebGL()
1381
 
1382
  })
1383
 
 
1449
  if (n_model >= 65) height = 3000
1450
 
1451
  # Generate plotly
1452
+ ggplotly(p, height = height, tooltip = "text") |> toWebGL()
1453
 
1454
  })
1455
 
 
1491
  if (min(d_pref$avg_tc) <0) p_avg <- p_avg + geom_vline(aes(xintercept = 0), linewidth = 0.25, color = "grey", linetype = "dashed")
1492
 
1493
  # Convert to Plotly
1494
+ ggplotly(p_avg, tooltip = "text") |> toWebGL()
1495
 
1496
  })
1497
 
 
1533
  if (min(d_pref$sharpe_tc) <0) p_sharpe <- p_sharpe + geom_vline(aes(xintercept = 0), linewidth = 0.25, color = "grey", linetype = "dashed")
1534
 
1535
  # Convert to Plotly
1536
+ ggplotly(p_sharpe, tooltip = "text") |> toWebGL()
1537
 
1538
  })
1539
 
 
1624
  }
1625
 
1626
  # Convert to Plotly
1627
+ ggplotly(p, height = height) |> toWebGL()
1628
 
1629
 
1630
  })