diff -r 6397a2ca3a67 -r 33a5d5882be4 test/integration/polemic.htm --- a/test/integration/polemic.htm Fri Mar 09 18:11:42 2012 +0100 +++ b/test/integration/polemic.htm Fri Mar 16 19:31:26 2012 +0100 @@ -25,7 +25,7 @@ var file = "polemic_fr.json"; var config = { gui:{ - width:650, + width:640, height:800, container:'LdtPlayer', default_options: { @@ -36,28 +36,49 @@ }, css:'../../src/css/LdtPlayer.css', widgets: [ - {type: "PolemicWidget", - width: 640, /* required for this widget */ + /* {type: "PolemicWidget", + width: 640, height: 50, requires: [{ type: "TooltipWidget", width: 180, height: 160, }], + }, */ + {type: "StackGraphWidget", + height: 150, + streamgraph: true, +/* tags : [ + { + "keywords" : [ "#ilReste" ], + "description" : "#ilReste", + "color" : "#1D973D" + }, + { + "keywords" : [ "#ilPart" ], + "description" : "#ilPart", + "color" : "#CE0A15" + }, + { + "keywords" : [ "#change2ton" ], + "description" : "#change2ton", + "color" : "#C5A62D" + }, + { + "keywords" : [ "#cQui" ], + "description" : "#cQui", + "color" : "#036AAE" + } + ],*/ + requires: [{ + type: "TooltipWidget", + width: 180, + height: 160, + }], }, - {type: "StackGraphWidget", - width: 640, /* required for this widget */ - height: 50, - streamgraph: true, - requires: [{ - type: "TooltipWidget", - width: 180, - height: 160, - }], - }, - {type: "SparklineWidget", - width: 640, /* required for this widget */ - height: 50}, + /* {type: "SparklineWidget", + width: 640, + height: 50}, */ {type: "SliderWidget"}, {type: "PlayerWidget"}, {type: "SegmentsWidget", @@ -74,8 +95,10 @@ {type: "createAnnotationWidget"}, {type: "TagCloudWidget", excludeWords: ['#museoweb']}, - {type: "AnnotationsListWidget"}, - {type: "TraceWidget"} + {type: "AnnotationsListWidget", + container: "AnnotationsListContainer", + ajax_mode: false}, +// {type: "TraceWidget"} ] }, player:{ @@ -95,7 +118,7 @@ }; - IriSP.initPlayer(config, "polemic_fr.json"); + IriSP.initPlayer(config, file);