arcgis server flex 实现在地图上绘制折线图,效果图:
代码:利用arcgis的infosysbol 用LineChart来渲染,数据从Graphic的attributes来进行传递
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:esri="http://www.esri.com/2008/ags"
pageTitle="infosymbol" creationComplete="application1_creationCompleteHandler(event)" xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Style>
.RightStyle
{
borderThickness: 1;
info-placement:center;
borderColor: #000005;
backgroundColor: #fffff