你能按行和列排列 Flexdashboard 吗?
Can you arrange a Flexdashboard by rows and columns?
我正在尝试为 65" 显示器创建一个大型仪表板。我的数据由每组不同的 (1-4) 个参数和 1 个主要参数组成。我想用一个主要参数显示这些组图表及其下方单独绘制的参数:
[MAIN------GRAPH1] [MAIN------GRAPH4]
[PAR1][PAR2][PAR3] [PAR1][PAR2][PAR3]
[MAIN------GRAPH2] [MAIN------GRAPH5]
[PAR---1][PAR---2] [PAR1][PAR2][PAR3]
[MAIN------GRAPH3] [MAIN------GRAPH6]
[PAR1][PAR2][PAR3] [PAR---1][PAR---2]
我试过按行排列 flexdashboard,但结果没有按预期工作。
这是我目前的情况:
---
title: "Dashboard"
output:
flexdashboard::flex_dashboard:
orientation: rows
source_code: embed
---
Row {data-height=650}
-------------------------------------
### Chart1
```{r setup, include=FALSE}
library(dygraphs)
library(flexdashboard)
library(readr)
library(xts)
```
```{r}
graph
```
Row {data-height=350}
-------------------------------------
### Chart1Par1
```{r}
first parameter
```
### Chart1Par2
```{r}
second parameter
```
Row {data-height=650}
-------------------------------------
### Chart2
```{r}
second chart main
```
Row {data-height=350}
-------------------------------------
### Chart2Par1
```{r}
```
### Chart2Par2
```{r}
```
我期待:
[MAIN------GRAPH1]
[PAR---1][PAR---2]
[MAIN-----------2]
[PAR2--1][PAR2--2]
我得到:
[MAIN-------GRAPH1]
[PAR1][PAR2][MAIN2]
[PAR2---1][PAR2--2]
这可能与您的间距有关 - 经过一些编辑后,我将其输出到您想要的布局:
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: rows
vertical_layout: scroll
---
Row {data-height=650}
-------------------------------------
### Chart1
```{r setup, include=TRUE}
library(dygraphs)
library(flexdashboard)
library(readr)
library(xts)
```
```{r}
#graph
```
Row {data-height=350}
-------------------------------------
### Chart1Par1
```{r}
#first parameter
```
### Chart1Par2
```{r}
#second parameter
```
Row {data-height=650}
-------------------------------------
### Chart2
```{r}
#second chart main
```
Row {data-height=350}
-------------------------------------
### Chart2Par1
```{r}
```
### Chart2Par2
```{r}
```
我正在尝试为 65" 显示器创建一个大型仪表板。我的数据由每组不同的 (1-4) 个参数和 1 个主要参数组成。我想用一个主要参数显示这些组图表及其下方单独绘制的参数:
[MAIN------GRAPH1] [MAIN------GRAPH4]
[PAR1][PAR2][PAR3] [PAR1][PAR2][PAR3]
[MAIN------GRAPH2] [MAIN------GRAPH5]
[PAR---1][PAR---2] [PAR1][PAR2][PAR3]
[MAIN------GRAPH3] [MAIN------GRAPH6]
[PAR1][PAR2][PAR3] [PAR---1][PAR---2]
我试过按行排列 flexdashboard,但结果没有按预期工作。
这是我目前的情况:
---
title: "Dashboard"
output:
flexdashboard::flex_dashboard:
orientation: rows
source_code: embed
---
Row {data-height=650}
-------------------------------------
### Chart1
```{r setup, include=FALSE}
library(dygraphs)
library(flexdashboard)
library(readr)
library(xts)
```
```{r}
graph
```
Row {data-height=350}
-------------------------------------
### Chart1Par1
```{r}
first parameter
```
### Chart1Par2
```{r}
second parameter
```
Row {data-height=650}
-------------------------------------
### Chart2
```{r}
second chart main
```
Row {data-height=350}
-------------------------------------
### Chart2Par1
```{r}
```
### Chart2Par2
```{r}
```
我期待:
[MAIN------GRAPH1]
[PAR---1][PAR---2]
[MAIN-----------2]
[PAR2--1][PAR2--2]
我得到:
[MAIN-------GRAPH1]
[PAR1][PAR2][MAIN2]
[PAR2---1][PAR2--2]
这可能与您的间距有关 - 经过一些编辑后,我将其输出到您想要的布局:
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: rows
vertical_layout: scroll
---
Row {data-height=650}
-------------------------------------
### Chart1
```{r setup, include=TRUE}
library(dygraphs)
library(flexdashboard)
library(readr)
library(xts)
```
```{r}
#graph
```
Row {data-height=350}
-------------------------------------
### Chart1Par1
```{r}
#first parameter
```
### Chart1Par2
```{r}
#second parameter
```
Row {data-height=650}
-------------------------------------
### Chart2
```{r}
#second chart main
```
Row {data-height=350}
-------------------------------------
### Chart2Par1
```{r}
```
### Chart2Par2
```{r}
```