You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "flex (JIRA)" <ji...@apache.org> on 2014/03/11 11:31:43 UTC

[jira] [Commented] (FLEX-34134) Flex piechart callout labelposition is not rendered prpperly when we have more dataPoints on the same value

    [ https://issues.apache.org/jira/browse/FLEX-34134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930195#comment-13930195 ] 

flex commented on FLEX-34134:
-----------------------------

Code Attached:

<?xml version="1.0"?>
<!-- charts/DoughnutPie.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
	<mx:Script><![CDATA[
		import mx.collections.ArrayCollection;
		[Bindable]
		public var expenses:ArrayCollection = new ArrayCollection([
			{Expense:"Taxes", Amount:2000},
			{Expense:"Rent", Amount:1000},
			{Expense:"Bills", Amount:100},
			{Expense:"Car", Amount:450},
			{Expense:"Gas", Amount:19.5},
			{Expense:"Food", Amount:22},
			{Expense:"Car1", Amount:21},
			{Expense:"Gas1", Amount:20},
			{Expense:"Food1", Amount:21},
			{Expense:"Gas", Amount:19.5},
			{Expense:"Food", Amount:19.6},
			{Expense:"Car1", Amount:19.7},
			{Expense:"Gas1", Amount:19.8},
			{Expense:"Food1", Amount:19.9},
			{Expense:"Gas1", Amount:19.8},
			{Expense:"Food1", Amount:19.9}
		]);
	]]></mx:Script>
	<mx:Panel title="Pie Chart" width="100%">
		<mx:HBox verticalAlign="middle" horizontalAlign="center" width="100%">
			<mx:PieChart id="myChart" 
						 dataProvider="{expenses}" 
						 showDataTips="true" 
						 innerRadius=".5"
						 >
				<mx:series>
					<mx:PieSeries 
						field="Amount"
						nameField="Expense" 
						labelPosition="callout"
						/>
				</mx:series>
			</mx:PieChart>
			<mx:Legend dataProvider="{myChart}"/>
		</mx:HBox>
		
	</mx:Panel>
</mx:Application>

> Flex piechart callout labelposition is not rendered prpperly when we have more dataPoints on the same value
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34134
>                 URL: https://issues.apache.org/jira/browse/FLEX-34134
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Charts
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>            Reporter: flex
>
> In Flex PieChart when we have more dataPoint with same value and labelPosition is callout the (spider legs) are not shown properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)