flex amcharts demo
发布时间:2020-12-15 03:32:33 所属栏目:百科 来源:网络整理
导读:水库:汛限水位;河道:警戒水位;s:BorderContainer x="1" y="32" id="teamArea" width="299" height="205" includeIn="teamstate" backgroundAlpha="1" borderAlpha="1" backgroundColor="#ffffff" borderVisible="false"amcharts:AmLegend x="-78" y="-2"
水库:汛限水位; 河道:警戒水位; <s:BorderContainer x="1" y="32" id="teamArea" width="299" height="205" includeIn="teamstate" backgroundAlpha="1" borderAlpha="1" backgroundColor="#ffffff" borderVisible="false"> <amcharts:AmLegend x="-78" y="-2" width="652" height="2" color="#666666" dataProvider="{riverChart}" fontSize="10" marginBottom="1" markerSize="8" textClickEnabled="false" textDecoration="none" valueText=""> </amcharts:AmLegend> <chart:SerialChart plotAreaFillAlphas="0" startDuration="0.3" id="riverChart" categoryField="tm" dataProvider="{dayRainArr}" width="299" height="170" y="33" x="0"> <!--曲线--> <chart:graphs> <amcharts:AmGraph valueAxis="{lAxisId}" title="水位过程线" valueField="drp" type="line" lineColor="#0000ff" lineAlpha="1" balloonText="水位: [[value]]m" lineThickness="2"/> <amcharts:AmGraph valueAxis="{rAxisId}" title="蓄水量" valueField="sw" type="line" lineColor="#00BB00" lineAlpha="1" balloonText="蓄水量: [[value]]万m3" lineThickness="2"/> <amcharts:AmGraph valueAxis="{lAxisId}" title="汛限水位" valueField="sw2" type="line" lineColor="#FFB3B3" lineAlpha="0.9" dashLength="5" balloonText="汛限水位: [[value]]m" lineThickness="0"/> </chart:graphs> <!--坐标轴--> <chart:valueAxes> <amcharts:ValueAxis gridAlpha="0" title="" position="left" id="lAxisId" ></amcharts:ValueAxis> <amcharts:ValueAxis gridAlpha="0" title="" position="right" id="rAxisId"></amcharts:ValueAxis> </chart:valueAxes> <chart:categoryAxis> <amcharts:CategoryAxis gridAlpha="0" startOnAxis="true"></amcharts:CategoryAxis> </chart:categoryAxis> <chart:chartCursor> <amcharts:ChartCursor/> </chart:chartCursor> </chart:SerialChart> <s:Label x="3" y="27" color="#666666" fontSize="11" text="水位(m)" fontFamily="微软雅黑"/> <s:Label x="233" y="173" color="#666666" fontSize="11" text="时间" fontFamily="微软雅黑"/> <s:Label x="231" y="27" color="#666666" fontSize="11" text="蓄水量(万m3)" fontFamily="微软雅黑"/> <s:Image x="125" y="27" source="assets/icon/tool.png" visible="false"/> <s:Label x="134" y="31" color="#FFFFFF" fontSize="11" text="汛限水位:121m" visible="false"/> </s:BorderContainer> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
热点阅读