Skip to content

Commit b025315

Browse files
committed
Merge branch 'main' of https://github.com/vizzuhq/vizzu-lib into main
2 parents 4a2bd94 + 844aca6 commit b025315

37 files changed

+64
-65
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://github.com/vizzuhq/vizzu-lib">
3-
<img src="/docs/images/logo-bg-white.svg" alt="Vizzu" />
3+
<img src="https://vizzuhq.github.io/vizzu-lib-doc/readme/logo-bg-white.svg" alt="Vizzu" />
44
</a>
55
<p align="center">Library for animated data visualizations and data stories.</p>
66
<p align="center">
@@ -36,7 +36,7 @@ Or use it from CDN:
3636

3737
```html
3838
<script type="module">
39-
import Vizzu from 'https://cdn.jsdelivr.net/npm/[email protected]/vizzu.js';
39+
import Vizzu from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/vizzu.min.js';
4040
</script>
4141
```
4242

@@ -51,7 +51,7 @@ Create a placeholder element that will contain the rendered chart:
5151
Create a simple bar chart:
5252

5353
```javascript
54-
import Vizzu from 'https://vizzu-lib-main.storage.googleapis.com/lib/vizzu.js';
54+
import Vizzu from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/vizzu.min.js';
5555

5656
let data = {
5757
series: [
@@ -80,7 +80,7 @@ chart.animate({
8080
geometry: 'circle'
8181
});
8282
```
83-
[Try it!](https://jsfiddle.net/VizzuHQ/dk7b86vc/19/)
83+
[Try it!](https://jsfiddle.net/VizzuHQ/dk7b86vc/29/)
8484

8585
![Example chart](https://vizzuhq.github.io/vizzu-lib-doc/readme/example.gif)
8686

docs/generator/genroot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ class Generator
2929
const hljs = require('highlight.js');
3030
const language = hljs.getLanguage(lang) ? lang : 'plaintext';
3131
return hljs.highlight(code, { language }).value;
32-
}
32+
},
3333
});
3434

3535
let defaultRender = new marked.Renderer();
3636

3737
marked.use({
3838
renderer: {
3939
link: function (href, title, string) {
40-
if (!href.startsWith('http'))
40+
if (!href.startsWith('http') && !href.startsWith('mailto'))
4141
href = 'https://github.com/vizzuhq/vizzu-lib/blob/main/'+href;
4242
return defaultRender.link(href, title, string);
4343
}

docs/generator/index.root.in.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<title>Vizzu Library</title>
66
<link rel="icon" href="0.3.0/images/favicon.svg">
77
<meta name='viewport' content='width=device-width, initial-scale=1'>
8-
<link rel='stylesheet' type='text/css' media='screen' href='docs/style/root.css'>
9-
<link rel='stylesheet' type='text/css' media='screen' href='docs/style/highlight.css'>
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'>
1010
</head>
1111
<body>
1212
<div id="content"></div>

test/integration/test_cases.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@
796796
},
797797
"web_content/sample_static/polar/NO_spiderweb_line_2dis_1con": {
798798
"refs": {
799-
"ubuntu_focal_chrome_headless": "da5026b"
799+
"ubuntu_focal_chrome_headless": "44c4971"
800800
}
801801
},
802802
"web_content/sample_static/polar/coxcomb_stacked_rectangle_2dis_1con": {
@@ -826,12 +826,12 @@
826826
},
827827
"web_content/sample_static/polar/spiderweb_area_1dis_1con": {
828828
"refs": {
829-
"ubuntu_focal_chrome_headless": "c86ac90"
829+
"ubuntu_focal_chrome_headless": "403e997"
830830
}
831831
},
832832
"web_content/sample_static/polar/spiderweb_line_1dis_1con": {
833833
"refs": {
834-
"ubuntu_focal_chrome_headless": "d699f0e"
834+
"ubuntu_focal_chrome_headless": "22fd6d6"
835835
}
836836
},
837837
"web_content/sample_static/without/bubble_circle_1dis_2con": {
@@ -856,7 +856,7 @@
856856
},
857857
"web_content/templates/composition_comparison_pie_coxcomb_column_2dis_2con": {
858858
"refs": {
859-
"ubuntu_focal_chrome_headless": "5365092"
859+
"ubuntu_focal_chrome_headless": "469b9e8"
860860
}
861861
},
862862
"web_content/templates/composition_comparison_waterfall_column_2dis_1con": {
@@ -866,7 +866,7 @@
866866
},
867867
"web_content/templates/composition_percentage_area_stream_3dis_1con": {
868868
"refs": {
869-
"ubuntu_focal_chrome_headless": "49d38a0"
869+
"ubuntu_focal_chrome_headless": "5e30e2e"
870870
}
871871
},
872872
"web_content/templates/composition_percentage_column_3dis_1con": {

test/integration/test_cases/web_content/sample_static/cartesian/column_grouped_rectangle_negative_2dis_1con.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const testSteps = [
1212
},
1313
title: 'Grouped Column Chart'
1414
},
15-
style: { // This chart type needs special angle for small labels.
15+
style: { // Labels have to be rotated on this chart.
1616
plot: {
1717
marker: {
1818
label: {

test/integration/test_cases/web_content/sample_static/cartesian/column_stacked_rectangle_negative_2dis_1con.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const testSteps = [
1212
},
1313
title: 'Stacked Column Chart'
1414
},
15-
style: { // This chart type needs special angle for small labels.
15+
style: { // Labels have to be rotated on this chart.
1616
plot: {
1717
xAxis: {
1818
label: {

test/integration/test_cases/web_content/sample_static/cartesian/histogram_rectangle_negative_1dis_1con.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const testSteps = [
1212
title: 'Histogram',
1313
align: 'none'
1414
},
15-
style: { // This chart type no needs space between markes.
15+
style: { // Spaces between markers should be eliminated on this chart.
1616
'plot.marker.rectangleSpacing': 0.07
1717
}
1818
})

test/integration/test_cases/web_content/sample_static/cartesian/waterfall_rectangle_negative_1dis_1con.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const testSteps = [
66
config: {
77
channels: {
88
x: { set: ['Year'] },
9-
y: { set: ['Year', 'Value 5 (+/-)'] }, // Repeated data series (Year) on both axles builds up waterfall positions of the markers.
9+
y: { set: ['Year', 'Value 5 (+/-)'] }, // Adding the same dimension (Year) on both axes is how you create a Waterfall Chart in Vizzu.
1010
label: { set: ['Value 5 (+/-)'] }
1111
},
1212
title: 'Waterfall Chart',

test/integration/test_cases/web_content/sample_static/polar/coxcomb_stacked_rectangle_2dis_1con.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const testSteps = [
1212
title: 'Nightingale (Coxcomb) Chart',
1313
coordSystem: 'polar'
1414
},
15-
style: { // This chart type no needs yAxis and yAxis-labels.
15+
style: { // y-axis and its labels are unnecessary on these types of charts.
1616
plot: {
1717
yAxis: {
1818
title: {

test/integration/test_cases/web_content/sample_static/polar/donut_rectangle_1dis_1con.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ const testSteps = [
66
config: {
77
channels: {
88
x: { set: ['Joy factors', 'Value 2 (+)'] },
9-
y: { range: { min: '-200%' } }, // Set the radius of the empty center-circle.
9+
y: { range: { min: '-200%' } }, // Setting the radius of the empty circle in the centre.
1010
color: { set: ['Joy factors'] },
1111
label: { set: ['Value 2 (+)'] }
1212
},
1313
title: 'Donut Chart',
1414
coordSystem: 'polar'
1515
},
16-
style: { // This chart type no needs axles and axis labels, except bigger size marker-labels.
16+
style: { // All axes and axis labels are unnecessary on these types of charts. Meanwhile the marker labels are enlarged.
1717
plot: {
1818
marker: {
1919
label: {

0 commit comments

Comments
 (0)