Skip to content

Commit b91f364

Browse files
author
RotaruDan
committed
Adds ThomasKilmannClassificationPieChart and removes ThomasKilmannOverTimeLineChart(in favor of Swimline)
1 parent a1200ae commit b91f364

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

lib/kibana/defaultVisualizations.js

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,6 @@ var defaultVisualizations = [
4040
'isTeacher': false,
4141
'isDeveloper': false
4242
},
43-
{
44-
'title': 'ThomasKilmannOverTimeLineBar',
45-
'visState': '{"title":"ThomasKilmannOverTimeLineBar","type":"line","params":{"addLegend":true,' +
46-
'"addTimeMarker":false,' +
47-
'"addTooltip":true,"defaultYExtents":true,"drawLinesBetweenPoints":true,"interpolate":"linear","legendPosition":"bottom",' +
48-
'"radiusRatio":"79","scale":"linear","setYExtents":true,"shareYAxis":true,"showCircles":true,"smoothLines":false,' +
49-
'"times":[],"yAxis":{"max":5,"min":1}},"aggs":[{"id":"1","enabled":true,"type":"max","schema":"metric",' +
50-
'"params":{"field":"tkscripted","customLabel":"Thomas Kilmann"}},' +
51-
'{"id":"2","enabled":true,"type":"date_histogram","schema":"segment","params":{"field":"timestamp",' +
52-
'"interval":"s","customInterval":"5m","min_doc_count":1,"extended_bounds":{},"customLabel":"Time"}}],' +
53-
'"listeners":{}}',
54-
'uiStateJSON': '{"spy":{"mode":{"fill":false,"name":null}},"vis":{"colors":{"0":"#3F6833"}}}',
55-
'description': '',
56-
'version': 1,
57-
'kibanaSavedObjectMeta': {
58-
'searchSourceJSON': '{"index":"thomaskilmann-57d6db099348f3006efbdb7a","query":{"query_string":{"analyze_wildcard":true,' +
59-
'"query":"gameplayId:*DS* && event:selected"}},"filter":[]}'
60-
},
61-
'author': '_default_',
62-
'isTeacher': false,
63-
'isDeveloper': false
64-
},
6543
{
6644
'title': 'ThomasKilmannOverTimeSwimline',
6745
'visState': '{"title":"ThomasKilmannOverTimeSwimline","type":"prelert_swimlane","params":{"interval":' +
@@ -83,6 +61,24 @@ var defaultVisualizations = [
8361
'isTeacher': false,
8462
'isDeveloper': false
8563
},
64+
{
65+
title: 'ThomasKilmannClassificationPieChart',
66+
visState: '{"title":"ThomasKilmannClassificationPieChart","type":"pie","params":{"shareYAxis":true,"addTooltip":true,' +
67+
'"addLegend":true,"legendPosition":"right","isDonut":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric",' +
68+
'"params":{"customLabel":"Count/Percentage"}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params"' +
69+
':{"field":"ext.thomasKilmann.keyword","size":15,"order":"desc","orderBy":"1","customLabel":' +
70+
'"Thomas Kilmann Classification"}}],"listeners":{}}',
71+
uiStateJSON: '{"spy":{"mode":{"name":null,"fill":false}},"vis":{"legendOpen":true}}',
72+
description: '',
73+
version: 1,
74+
kibanaSavedObjectMeta: {
75+
searchSourceJSON: '{"index":"57d6db099348f3006efbdb7a","query":{"query_string":{"query":"*",' +
76+
'"analyze_wildcard":true}},"filter":[]}'
77+
},
78+
author: '_default_',
79+
isTeacher: false,
80+
isDeveloper: false
81+
},
8682
{
8783
title: 'AlternativeSelectedCorrectIncorrectPerQuestionId-Cmn',
8884
visState: '{"title":"Alternative Selected Correct Incorrect Per QuestionId","type":"histogram",' +

0 commit comments

Comments
 (0)