Skip to content

Commit 4147c3b

Browse files
authored
Merge pull request #57 from vizzuhq/0.4.0-RC
0.4.0
2 parents 749f996 + 58de6e5 commit 4147c3b

File tree

8 files changed

+16
-13
lines changed

8 files changed

+16
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [0.4.0]
44

55
### Added
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
</a>
55
<p align="center"><b>Vizzu</b> - Library for animated data visualizations and data stories.</p>
66
<p align="center">
7-
<a href="https://lib.vizzuhq.com/0.3.0/">Tutorial & Examples</a>
8-
· <a href="https://lib.vizzuhq.com/0.3.0/reference">Reference</a>
7+
<a href="https://lib.vizzuhq.com/0.4/">Tutorial & Examples</a>
8+
· <a href="https://lib.vizzuhq.com/0.4/reference">Reference</a>
99
· <a href="https://github.com/vizzuhq/vizzu-lib">Repository</a>
1010
</p>
1111
</p>

docs/content/reference/reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and its most important component is the [animate()](classes/default.html#animate
1515
* [Vizzu](classes/default.html) class
1616
* [constructor()](classes/default.html#constructor)
1717
* [animate](classes/default.html#animate) ( [AnimTarget](interfaces/AnimTarget.html) , [Anim.Options](interfaces/Anim.Options.html) )
18+
: [Anim.Control](interfaces/Anim.Control.html)
1819

1920
The animate() method's main parameter is the [AnimTarget](interfaces/AnimTarget.html)
2021
interface, which contains the configuration of the chart, the underlying data, and the chart's style settings:

docs/content/tutorial/0-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Import the library into a JavaScript file or script tag in your web page
1717
```html
1818
<script type="module">
1919
import Vizzu from
20-
'https://cdn.jsdelivr.net/npm/vizzu@0.3.1/dist/vizzu.min.js';
20+
'https://cdn.jsdelivr.net/npm/vizzu@0.4.0/dist/vizzu.min.js';
2121
</script>
2222
```
2323

docs/generator/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Example
6666
+ '</pre>';
6767
scriptElement.innerHTML += `
6868
<script type="module">
69-
import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@0.3.1/dist/vizzu.min.js';
69+
import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@0.4.0/dist/vizzu.min.js';
7070
${this.imports}
7171
7272
let chart = new Vizzu('vizzuCanvas');

docs/generator/examples.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ class Examples
8484
fs.mkdirSync(dirname, { recursive: true });
8585

8686
if (example.outputFolder === 'static')
87-
{
87+
{
8888
sharp(example.pngFilename)
8989
.resize(320)
90-
.toFile(thumbnail, (err, info) => { if(err) console.error(err); });
90+
.toFile(thumbnail, (err, info) => {
91+
if(err) console.error(example.pngFilename + ': ' + err);
92+
});
9193
}
9294
else
9395
{
@@ -110,8 +112,8 @@ class Examples
110112
let basename = path.basename(jsFilename, '.mjs');
111113

112114
let pngFilename = jsFilename
113-
.replace('test_cases', 'test_report')
114-
.replace('.mjs', `/${basename}_000_100.000%.png`);
115+
.replace('test_cases', 'test_report/results/test_cases')
116+
.replace('.mjs', `/${basename}_000_100.000%-1new.png`);
115117

116118
let webmFilename = jsFilename
117119
.replace('test_cases/web_content/templates/',

docs/generator/index.root.in.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset='utf-8'>
55
<title>Vizzu Library</title>
6-
<link rel="icon" href="0.3.0/images/favicon.svg">
6+
<link rel="icon" href="0.4/images/favicon.svg">
77
<meta name='viewport' content='width=device-width, initial-scale=1'>
8-
<link rel='stylesheet' type='text/css' media='screen' href='0.3.0/style/root.css'>
9-
<link rel='stylesheet' type='text/css' media='screen' href='0.3.0/style/highlight.css'>
8+
<link rel='stylesheet' type='text/css' media='screen' href='0.4/style/root.css'>
9+
<link rel='stylesheet' type='text/css' media='screen' href='0.4/style/highlight.css'>
1010
<meta content="Open-source JavaScript library designed to easily create animated data visualizations and data stories." name="description">
1111

1212
<meta property="og:site_name" content="Vizzu - Dialogue with Data">

docs/script/tutorial/vizzu-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@0.3.1/dist/vizzu.min.js';
1+
import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@0.4.0/dist/vizzu.min.js';
22
//import Vizzu from '/example/lib/vizzu.js';
33
import getBase from './base.js';
44
import data from './data.js'

0 commit comments

Comments
 (0)