-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest2.dashboard.aml
More file actions
59 lines (53 loc) · 1.25 KB
/
Copy pathtest2.dashboard.aml
File metadata and controls
59 lines (53 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Dashboard test_2 {
title: 'Test 2'
description: ''''''
block text_block: TextBlock {
content: @md
# Heading 1
### Heading 3
This is a **dashboard** with _canvas layout_
;;
}
block text_filter: FilterBlock {
type: 'text' // or 'field'
label: 'Sample text filter'
// use the below source for 'field' filter
// source: FieldFilterSource {
// dataset: 'dataset'
// field: ref('data model', 'data field')
// }
default {
operator: 'is'
value: 'Default value'
}
}
// A sample viz block, commented since the dataset and model field references are not correct
// block bar_chart: VizBlock {
// label: 'A bar chart'
// viz: BarChart {
// dataset: 'dataset'
// x_axis: ref('data model', 'data field')
// y_axis {
// series {
// field {
// ref: ref('data model', 'data field')
// aggregation: 'avg'
// }
// }
// }
// }
// }
view: CanvasLayout {
width: 1200
height: 800
block text_block {
position: pos(0, 0, 1200, 150)
}
block text_filter {
position: pos(0, 150, 300, 100)
}
// block bar_chart {
// position: pos(0, 300, 300, 300)
// }
}
}