Skip to content

Commit c4caca2

Browse files
authored
Merge pull request #57 from cpsievert/drill_down
moar on drill-down
2 parents cd95b45 + 44249d8 commit c4caca2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+679
-67
lines changed

docs/animating-views.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/arranging-views.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/bars-histograms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/boxplots.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/client-side-linking.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/client-side.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/control-modebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/controlling-tooltips.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

docs/custom-geoms.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -347,7 +347,7 @@ <h1><span class="header-section-number">34</span> Translating custom ggplot2 geo
347347
<span class="co">#&gt; data &lt;- data[order(data[[&quot;x&quot;]]), ]</span>
348348
<span class="co">#&gt; prefix_class(data, &quot;GeomPath&quot;)</span>
349349
<span class="co">#&gt; }</span>
350-
<span class="co">#&gt; &lt;bytecode: 0x7f9f8f3051f8&gt;</span>
350+
<span class="co">#&gt; &lt;bytecode: 0x7feb00cc4390&gt;</span>
351351
<span class="co">#&gt; &lt;environment: namespace:plotly&gt;</span></code></pre>
352352
<p>If you have implemented a custom geom, say <code>GeomCustom</code>, rest assured that the data passed to <code>to_basic()</code> will be of class <code>GeomCustom</code> when <code>ggplotly()</code> is called on a plot with your geom. And assuming <code>GeomCustom</code> may be reduced to another lower-level geom support by plotly, a <code>to_basic.GeomCustom()</code> method that transforms the data into a form suitable for that lower-level geom is sufficient for adding support. Moreover, note that the data passed to <code>to_basic()</code> is essentially the last form of the data <em>before</em> the render stage and <em>after</em> statistics have been performed. This makes it trivial to add support for geoms like <code>GeomXspline</code> from the <strong>ggalt</strong> package.</p>
353353
<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(ggalt)
@@ -357,7 +357,7 @@ <h1><span class="header-section-number">34</span> Translating custom ggplot2 geo
357357
<span class="co">#&gt; data &lt;- data[order(data[[&quot;x&quot;]]), ]</span>
358358
<span class="co">#&gt; prefix_class(data, &quot;GeomPath&quot;)</span>
359359
<span class="co">#&gt; }</span>
360-
<span class="co">#&gt; &lt;bytecode: 0x7f9f8536df90&gt;</span>
360+
<span class="co">#&gt; &lt;bytecode: 0x7feb01a9e120&gt;</span>
361361
<span class="co">#&gt; &lt;environment: namespace:plotly&gt;</span></code></pre>
362362
<p>As shown in Figure <a href="custom-geoms.html#fig:xspline">34.1</a>, once the conversion has been provided. Users can call <code>ggplotly()</code> on the ggplot object containing the custom geom just like any other ggplot object.</p>
363363
<pre class="sourceCode r"><code class="sourceCode r"><span class="co"># example from `help(geom_xspline)`</span>

docs/d-charts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<meta name="author" content="Carson Sievert">
2626

2727

28-
<meta name="date" content="2019-04-05">
28+
<meta name="date" content="2019-04-06">
2929

3030
<meta name="viewport" content="width=device-width, initial-scale=1">
3131
<meta name="apple-mobile-web-app-capable" content="yes">

0 commit comments

Comments
 (0)