abdul.mateenesrisaudiarabia-esridist

Display multiple diagrams in single map using schematics js api

Discussion created by abdul.mateenesrisaudiarabia-esridist Employee on Mar 5, 2013
Latest reply on Mar 18, 2013 by abdul.mateenesrisaudiarabia-esridist
i have multiple diagrams generated ,how to display all diagrams in one map,?
or as user generates new diagram immediatly the new diagram must append to previous diagram side by side

i can display single diagram using
following

var diagUrl=http://testserver/arcgis/rest/services/elecDataKma/MapServer/exts/SchematicsServer/diagrams/0-030015/map
;
var myDynamicMapServiceLayer = new esri.layers.ArcGISDynamicMapServiceLayer(diagUrl);
  map.addLayer(myDynamicMapServiceLayer);

Note: I tried by two methods but could not get

1. added multiple diagurl  to map but the diagrams are overlapping
2.i tried to use definiation query on mxd  also the diagrams are overlapping

your suggestions are higly appreciated.

Outcomes