Skip to content

Commit b4ba7cf

Browse files
kvdesaiKalpit DesaiHammadTheOne
authored
Adding time series page (plotly#81)
* Adding time series page * Removing dash snippet and fixing tags * Fixed tag * Updating permalink/ adding databreak example Co-authored-by: Kalpit Desai <kalpit@datakalp.com> Co-authored-by: Hammad Khan <hammadtheone@gmail.com>
1 parent 3e0da9b commit b4ba7cf

6 files changed

+858
-234
lines changed

r/2015-07-30-time-series.Rmd

Lines changed: 0 additions & 106 deletions
This file was deleted.

r/2021-08-18-discrete-colors.Rmd

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -451,34 +451,3 @@ fig <- plot_ly(wind, r = ~r, theta = ~t, type="barpolar", color = ~nms,
451451
fig
452452
453453
```
454-
455-
### What About Dash?
456-
457-
Dash is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.
458-
459-
Learn about how to install Dash at https://dashr.plot.ly/installation.
460-
461-
Everywhere in this page that you see fig, you can display the same figure in a Dash application by passing it to the figure argument of the Graph component from the built-in dash_core_components package like this:
462-
463-
```{r eval=FALSE}
464-
library(dash)
465-
library(dashCoreComponents)
466-
library(dashHtmlComponents)
467-
library(plotly)
468-
469-
fig <- plot_ly()
470-
# fig <- fig%>%add_trace( ... )
471-
# fig <- fig%>%layout( ... )
472-
app <- Dash$new()
473-
474-
app$layout(
475-
htmlDiv(
476-
list(
477-
dccGraph(id = 'graph', figure = fig)
478-
)
479-
)
480-
)
481-
482-
#app$run_server()
483-
```
484-
Use app$run_server() to run the dash app.

r/2021-08-21-map-configuration.Rmd

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -267,36 +267,3 @@ fig
267267
### Reference
268268

269269
See https://plotly.com/r/reference/layout/geo/ for more information and chart attribute options!
270-
271-
### What About Dash?
272-
273-
Dash is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.
274-
275-
Learn about how to install Dash at https://dashr.plot.ly/installation.
276-
277-
Everywhere in this page that you see fig, you can display the same figure in a Dash application by passing it to the figure argument of the Graph component from the built-in dash_core_components package like this:
278-
279-
```{r eval=FALSE}
280-
281-
library(dash)
282-
library(dashCoreComponents)
283-
library(dashHtmlComponents)
284-
library(plotly)
285-
286-
fig <- plot_ly()
287-
# fig <- fig%>%add_trace( ... )
288-
# fig <- fig%>%layout( ... )
289-
app <- Dash$new()
290-
291-
app$layout(
292-
htmlDiv(
293-
list(
294-
dccGraph(id = 'graph', figure = fig)
295-
)
296-
)
297-
)
298-
299-
#app$run_server()
300-
```
301-
302-
Use `app$run_server()` to run the dash app.

r/2021-08-25-troubleshooting.Rmd

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -68,35 +68,3 @@ Use `app$run_server()` to run the dash app.
6868
### Orca Problems
6969

7070
If you get an error message stating that the `orca` executable that was found is not valid, this may be because another executable with the same name was found on your system. Please specify the complete path to the Plotly-Orca binary that you downloaded.
71-
72-
### What About Dash?
73-
74-
[Dash](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.
75-
76-
Learn about how to install Dash at https://dashr.plot.ly/installation.
77-
78-
Everywhere in this page that you see fig, you can display the same figure in a Dash application by passing it to the figure argument of the Graph component from the built-in dash_core_components package like this:
79-
80-
```{r eval=FALSE}
81-
library(dash)
82-
library(dashCoreComponents)
83-
library(dashHtmlComponents)
84-
library(plotly)
85-
86-
fig <- plot_ly()
87-
# fig <- fig%>%add_trace( ... )
88-
# fig <- fig%>%layout( ... )
89-
app <- Dash$new()
90-
91-
app$layout(
92-
htmlDiv(
93-
list(
94-
dccGraph(id = 'graph', figure = fig)
95-
)
96-
)
97-
)
98-
99-
#app$run_server()
100-
```
101-
102-
Use `app$run_server()` to run the dash app.

0 commit comments

Comments
 (0)