Display multiple diagrams in single map using schematics js api

757
3
03-05-2013 12:33 AM
AbdulMateen
New Contributor
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...
;
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.
Tags (2)
0 Kudos
3 Replies
AbdulMateen
New Contributor
Anyone from ESRI  can support this thread?
0 Kudos
AbdulMateen
New Contributor
Hi Rick,

I tried all ways but no solution
its urgent can you suggest as soon as possible.
0 Kudos
AbdulMateen
New Contributor
It is solved ,

using custom methods, after generating the diagram just use the relative move method to repostion the features inside the diagram.
0 Kudos