Skip to content

Commit c8fe294

Browse files
author
Titouan Robert
committed
commit
1 parent 4040db1 commit c8fe294

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
pagetitle: rAmCharts - amStockMultiSet
3+
---
4+
5+
```{r,echo=FALSE, message=FALSE}
6+
require(package = "rAmCharts", quietly = TRUE)
7+
require(package = "pipeR", quietly = TRUE)
8+
```
9+
10+
<h1>rAmCharts - amStockMultiSet</h1>
11+
12+
13+
* __data__: a list, list of data.frame (same structure) first column is date, others are values.
14+
* __panelColumn__: a numeric, control panel adding for selected series.
15+
* __ZoomButton__: a data.frame, 3 columns : Unit, times unit. multiple : multiple*unit. label : button's label
16+
* __color__: a character, color of series (in hexadecimal).
17+
* __precision__: a numeric, digits precision.
18+
* __export__: a logical, default set to FALSE. TRUE to display export feature.
19+
* __percentHeightPanel__: a numeric, vector of size panel, same length than data.
20+
* __creditsPosition__: a character, credits position. Possible values are : "top-right", "top-left", "bottom-right", "bottom-left".
21+
* __...__: other first level attributes
22+
23+
## Reference example
24+
```{r}
25+
data(data_stock_3)
26+
amStockMultiSet(data = data_stock_3)
27+
```
28+
29+
## Multi pannels
30+
```{r}
31+
data(data_stock_3)
32+
amStockMultiSet(data = data_stock_3, panelColumn = c(1,2,1,1))
33+
```
34+
35+
## ZoomButton, export and pannel height
36+
```{r}
37+
data(data_stock_3)
38+
ZoomButton <- data.frame(Unit = c('DD', 'DD', 'MAX'), multiple = c(10, 15 ,1),
39+
label = c('10 days','15 days', 'MAX'))
40+
amStockMultiSet(data = data_stock_3, panelColumn = c(1,2,1,1), percentHeightPanel = c(3,1),
41+
ZoomButtonPosition = 'left', ZoomButton = ZoomButton, export = TRUE, precision = 0)
42+
```

0 commit comments

Comments
 (0)