You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: r/2021-08-03-horizontal-vertical-shapes.rmd
+62Lines changed: 62 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,68 @@ fig <- plot_ly(data = iris, x = ~Petal.Length, y = ~Petal.Width,
56
56
fig
57
57
```
58
58
59
+
### Horizontal and Vertical Lines in Dash
60
+
61
+
[Dash for R](https://dashr.plotly.com) is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.
62
+
63
+
Learn about how to install Dash for R at https://dashr.plot.ly/installation.
64
+
65
+
Everywhere in this page that you see fig, you can display the same figure in a Dash for R application by passing it to the figure argument.
After executing this code, give app$run_server() in the console to start the dash.
120
+
59
121
### Adding Text Annotations
60
122
61
123
[Text annotations](https://plotly.com/r/text-and-annotations/) can optionally be added to a shape using the `add_text` keyword argument, and positioned using the `x` and `y` arguments:
0 commit comments