Skip to content

Commit

Permalink
Pre-release para version 2.5.0 de TSExplorer
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeciavirella committed Sep 30, 2019
1 parent 8d22116 commit c2db0d7
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/reference/ts-components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Ver online: [https://jsfiddle.net/oz9ch2br/](https://jsfiddle.net/oz9ch2br/)
```

## Demo online
https://jsfiddle.net/oz9ch2br/
[https://jsfiddle.net/oz9ch2br/](https://jsfiddle.net/oz9ch2br/)

## Variantes de tarjetas

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ts-components/card/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ <h2 id="ejemplo-completo"><a class="toclink" href="#ejemplo-completo">Ejemplo co


<h2 id="demo-online"><a class="toclink" href="#demo-online">Demo online</a><a class="headerlink" href="#demo-online" title="Permanent link">&#128279;</a></h2>
<p>https://jsfiddle.net/oz9ch2br/</p>
<p><a href="https://jsfiddle.net/oz9ch2br/">https://jsfiddle.net/oz9ch2br/</a></p>
<h2 id="variantes-de-tarjetas"><a class="toclink" href="#variantes-de-tarjetas">Variantes de tarjetas</a><a class="headerlink" href="#variantes-de-tarjetas" title="Permanent link">&#128279;</a></h2>
<h3 id="card-default"><a class="toclink" href="#card-default">Card: default</a><a class="headerlink" href="#card-default" title="Permanent link">&#128279;</a></h3>
<div class="row">
Expand Down
26 changes: 21 additions & 5 deletions docs/reference/ts-explorer.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# TSExplorer

**Versión**: 2.4.12
**Versión**: 2.5.0

El objeto `TSExplorer` contiene una _one page application_ con un explorador de series de tiempo, que permite buscar y visualizar series de un catálogo de datos abiertos.

Está en el archivo llamado `main.js` y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js
Está en el archivo llamado `main.js` y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js

## ¿Cómo lo uso?

* Importar librería JS:

```html
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js'></script>
```

* Definir dónde se va a dibujar:
Expand All @@ -33,7 +33,7 @@ TSExplorer.render('explorer-container', {
```html
<html>
<body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js"></script>

<div id="explorer-container"></div>

Expand Down Expand Up @@ -125,7 +125,23 @@ TSExplorer.render('explorer-container', {
<td>"AR"</td>
<td>"AR" / "US"</td>
</tr>
<tr>
<td>maxDecimals</td>
<td>No</td>
<td>Cantidad máxima de cifras decimales a mostar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de búsqueda y notas (tooltips) de los gráficos.</td>
<td>int</td>
<td>2</td>
<td>0/4/1</td>
</tr>
<tr>
<td>heroImageUrl</td>
<td>No</td>
<td>URL de la imagen a mostrar de fondo en el banner del encabezado.</td>
<td>string</td>
<td>https://wallpaperplay.com/walls/full/c/5/f/375180.jpg</td>
<td>0/4/1</td>
</tr>
</table>

## Demo online
https://jsfiddle.net/4L6tgb79/
[https://jsfiddle.net/rh21gofc/](https://jsfiddle.net/rh21gofc/)
26 changes: 21 additions & 5 deletions docs/reference/ts-explorer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -595,14 +595,14 @@


<h1 id="tsexplorer"><a class="toclink" href="#tsexplorer">TSExplorer</a><a class="headerlink" href="#tsexplorer" title="Permanent link">&#128279;</a></h1>
<p><strong>Versión</strong>: 2.4.12</p>
<p><strong>Versión</strong>: 2.5.0</p>
<p>El objeto <code>TSExplorer</code> contiene una <em>one page application</em> con un explorador de series de tiempo, que permite buscar y visualizar series de un catálogo de datos abiertos.</p>
<p>Está en el archivo llamado <code>main.js</code> y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js</p>
<p>Está en el archivo llamado <code>main.js</code> y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js</p>
<h2 id="como-lo-uso"><a class="toclink" href="#como-lo-uso">¿Cómo lo uso?</a><a class="headerlink" href="#como-lo-uso" title="Permanent link">&#128279;</a></h2>
<ul>
<li>Importar librería JS:</li>
</ul>
<div class="codehilite"><pre><span></span><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&#39;text/javascript&#39;</span> <span class="na">src</span><span class="o">=</span><span class="s">&#39;https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js&#39;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>
<div class="codehilite"><pre><span></span><span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&#39;text/javascript&#39;</span> <span class="na">src</span><span class="o">=</span><span class="s">&#39;https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js&#39;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>
</pre></div>


Expand All @@ -625,7 +625,7 @@ <h2 id="como-lo-uso"><a class="toclink" href="#como-lo-uso">¿Cómo lo uso?</a><
<h2 id="ejemplo-de-uso"><a class="toclink" href="#ejemplo-de-uso">Ejemplo de uso</a><a class="headerlink" href="#ejemplo-de-uso" title="Permanent link">&#128279;</a></h2>
<div class="codehilite"><pre><span></span><span class="p">&lt;</span><span class="nt">html</span><span class="p">&gt;</span>
<span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
<span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.4.12/dist/js/main.js&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>
<span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">&quot;text/javascript&quot;</span> <span class="na">src</span><span class="o">=</span><span class="s">&quot;https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.0/dist/js/main.js&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>

<span class="p">&lt;</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;explorer-container&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">div</span><span class="p">&gt;</span>

Expand Down Expand Up @@ -717,10 +717,26 @@ <h2 id="tabla-de-parametros"><a class="toclink" href="#tabla-de-parametros">Tabl
<td>"AR"</td>
<td>"AR" / "US"</td>
</tr>
<tr>
<td>maxDecimals</td>
<td>No</td>
<td>Cantidad máxima de cifras decimales a mostar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de búsqueda y notas (tooltips) de los gráficos.</td>
<td>int</td>
<td>2</td>
<td>0/4/1</td>
</tr>
<tr>
<td>heroImageUrl</td>
<td>No</td>
<td>URL de la imagen a mostrar de fondo en el banner del encabezado.</td>
<td>string</td>
<td>https://wallpaperplay.com/walls/full/c/5/f/375180.jpg</td>
<td>0/4/1</td>
</tr>
</table>

<h2 id="demo-online"><a class="toclink" href="#demo-online">Demo online</a><a class="headerlink" href="#demo-online" title="Permanent link">&#128279;</a></h2>
<p>https://jsfiddle.net/4L6tgb79/</p>
<p><a href="https://jsfiddle.net/rh21gofc/">https://jsfiddle.net/rh21gofc/</a></p>



Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,42 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://datos.gob.ar/series/docs/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-explorer/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/graphic/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/card/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/examples/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/developers/install/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/developers/deploy/</loc>
<lastmod>2019-09-26</lastmod>
<lastmod>2019-09-30</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.

0 comments on commit c2db0d7

Please sign in to comment.