flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From crikos <christ...@kostenzer.net>
Subject LineChart in 4.12
Date Thu, 12 Jun 2014 07:56:00 GMT
Since 4.12 my LineChart Component doesn't work anymore. Here is the Code:

<mx:LineChart id="ekVkChart"  dataProvider="{detailDP}"  showDataTips="true"
width="100%" height="250" seriesFilters="[]"  >
				<mx:horizontalAxis>
					<mx:CategoryAxis categoryField="datumBeleg" />
				</mx:horizontalAxis>
				<mx:series>
					<mx:LineSeries yField="preisEk" displayName="EK-Preis" />
					<mx:LineSeries yField="preisVk" displayName="VK-Preis" />
				</mx:series>
			</mx:LineChart>
			<mx:Legend dataProvider="{ekVkChart}" labelPlacement="bottom"
width="100%" height="25" />

This is the Console Output:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
	at
mx.charts::AxisRenderer/drawLabels()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/charts/src/mx/charts/AxisRenderer.as:2901]
	at
mx.charts::AxisRenderer/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/charts/src/mx/charts/AxisRenderer.as:1305]
	at
mx.core::UIComponent/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:9262]
	at
mx.managers::LayoutManager/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:744]
	at
mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:809]
	at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]





--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/LineChart-in-4-12-tp6820.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message