Skip to content

Commit 14a2322

Browse files
committed
Merge branch 'veghdev' of github.com:vizzuhq/vizzu-lib into veghdev
2 parents 3323f77 + 04c7c68 commit 14a2322

Some content is hidden

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

52 files changed

+532
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { data } from "/test/integration/test_options/style/plot/backgroundColor/static/data.js";
2+
3+
4+
export var chart = chart => chart.animate(
5+
{
6+
data: data,
7+
config : {
8+
channels: {
9+
x: { attach: [ "Foo"] },
10+
y: { attach: [ "Bar"] }
11+
},
12+
title: null,
13+
legend: null,
14+
},
15+
style: {
16+
plot: { backgroundColor: window.color }
17+
}
18+
})
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export var data = {
2+
series: [
3+
{
4+
name: "Foo",
5+
type: "dimension",
6+
values: ["Baz"]
7+
},
8+
{
9+
name: "Bar",
10+
type: "measure",
11+
values: [42]
12+
}
13+
]
14+
};
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.color = "#" + new URL(import.meta.url).pathname.split("/").pop().split(".").shift();
2+
import { chart } from "/test/integration/test_options/style/plot/backgroundColor/static/chart.js";
3+
4+
5+
const testSteps = [
6+
chart
7+
]
8+
9+
10+
export default testSteps

0 commit comments

Comments
 (0)