Skip to content

Commit

Permalink
Pre-release para version 2.8.1 del Explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeciavirella committed Nov 27, 2019
1 parent 57e504a commit 284a95a
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions dist/js/main.js

Large diffs are not rendered by default.

10 changes: 5 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.8.0
**Versión**: 2.8.1

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/[email protected].0/dist/js/main.js
Está en el archivo llamado `main.js` y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/[email protected].1/dist/js/main.js

## ¿Cómo lo uso?

* Importar librería JS:

```html
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/[email protected].0/dist/js/main.js'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/[email protected].1/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/[email protected].0/dist/js/main.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/datosgobar/[email protected].1/dist/js/main.js"></script>

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

Expand Down Expand Up @@ -178,4 +178,4 @@ Si se habilita la abreviatura y formateo de números grandes, encendiendo el fla
* En caso de abreviar, la cantidad de decimales que son tenidos en cuenta del cociente obtenido al dividir el valor original de la serie por el divisor apropiado depende de los valores (por defecto o especificados) de las cantidades de los parámetros `decimalsBillion` y `decimalsMillion` (según corresponda).

## Demo online
[https://jsfiddle.net/yne4v8r7/](https://jsfiddle.net/yne4v8r7/)
[https://jsfiddle.net/u7y3q9e2/](https://jsfiddle.net/u7y3q9e2/)
10 changes: 5 additions & 5 deletions docs/reference/ts-explorer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -621,14 +621,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.8.0</p>
<p><strong>Versión</strong>: 2.8.1</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/[email protected].0/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/[email protected].1/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/[email protected].0/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/[email protected].1/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 @@ -651,7 +651,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/[email protected].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">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/[email protected].1/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 @@ -795,7 +795,7 @@ <h2 id="abreviatura"><a class="toclink" href="#abreviatura">Abreviatura</a><a cl
<li>En caso de abreviar, la cantidad de decimales que son tenidos en cuenta del cociente obtenido al dividir el valor original de la serie por el divisor apropiado depende de los valores (por defecto o especificados) de las cantidades de los parámetros <code>decimalsBillion</code> y <code>decimalsMillion</code> (según corresponda).</li>
</ul>
<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><a href="https://jsfiddle.net/yne4v8r7/">https://jsfiddle.net/yne4v8r7/</a></p>
<p><a href="https://jsfiddle.net/u7y3q9e2/">https://jsfiddle.net/u7y3q9e2/</a></p>



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

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,47 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://datos.gob.ar/series/docs/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-explorer/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/graphic/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/card/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/examples/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/reference/ts-components/layout/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/developers/install/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://datos.gob.ar/series/developers/deploy/</loc>
<lastmod>2019-11-12</lastmod>
<lastmod>2019-11-27</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions src/helpers/common/webCodeBuilders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export function graphicWebCode(url: string, series: ISerie[]): string {
const source = calculateChartSource(series);
const chartType = calculateChartType(url);

let htmlScript = `<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.10/dist/js/components.js'></script>
<link rel='stylesheet' type='text/css' href='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.10/dist/css/components.css'/>
let htmlScript = `<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.8.0/dist/js/components.js'></script>
<link rel='stylesheet' type='text/css' href='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.8.0/dist/css/components.css'/>
<div id=\"root\"></div>
<script>
window.onload = function() {
Expand Down

0 comments on commit 284a95a

Please sign in to comment.