⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lineform.mxml

📁 chart应用蛮广泛的
💻 MXML
字号:
<?xml version="1.0" encoding="utf-8"?>
<ex:ExampleBase  xmlns:ex="examples.*" xmlns="http://www.adobe.com/2006/mxml">

	<Script>
		<![CDATA[

			override public function get descriptions():Array {
				return ["browse the different forms a line series can take. A ghost of the line is always displayed in segment" +
						"form to show what the original data looks like."];
			}

		]]>
	</Script>

	<ex:controls>
		<Label text="form:" />
		<ComboBox id="lineForm" selectedItem="segment" dataProvider="{['segment','curve','horizontal','vertical','step','reverseStep']}" />
	</ex:controls>

	<Model id="dataSet" source="/data/sampleData.xml" />

	<LineChart id="chart" width="100%" height="100%" dataProvider="{dataSet.Sample}">
		<series>
			<LineSeries yField="revenue" alpha=".2" />
			<LineSeries yField="revenue" form="{lineForm.selectedItem}" />
		</series>
		<horizontalAxis>
			<CategoryAxis categoryField="month" />
		</horizontalAxis>
	</LineChart>

</ex:ExampleBase>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -