1.激发我解决饼图图例灵感的一个图例解释:
LEGEND can be used in a GET_IMAGE request to include a legend for the requested map. The legend is an additional image in the same format as the map: JPG, PNG, or GIF. DRAW can be used to request only a legend rather than both a legend and a map.
The following GET_IMAGE request includes a default LEGEND since no attributes are used. DRAW has the attribute map set to "false" so that only a legend is returned
由此我就可以推出只让其返回一个图例用来配对饼图。
2.有关GroupRenderer在ArcXML的一个解释。仔细阅读之后,你会发现它的妙处。
Groups two or more renderers together. Common uses are to group feature rendering and labeling, to use multiple scale-dependent renderers on the same layer, and to create complex symbology
对一个图层,可以采用多种渲染方式,同时渲染。那么要出图例的话,是不是就可以给两个Render对象,一个是SimpleLableRenderer,另一个是你专门处理图例的Render对象(它的专题图设置为没有效果)。这个GroupRenderer的渲染效果会怎么样?
渲染结果是饼图与一个图例(你设置的相应图例)。达到目的了。哈哈。。。。