Professional Web Applications Themes

Pie chart call outs uneven - Macromedia Flex General Discussion

Hi All, Ok this is wired, I have a pie chart width 600, with call outs, however my callout stroke lengths are really long. The corner vector break is high in the sample below they corners are close to the pie chart. My chart becomes to small and unreadable. any thoughts [url]http://demo.quietlyscheming.com/ChartSampler/app.html[/url] Goto Pie Series, Pie labels and increase data still looks neat. I can not link to mine requires authorization...

  1. #1

    Default Pie chart call outs uneven

    Hi All,

    Ok this is wired, I have a pie chart width 600, with call outs, however my
    callout stroke lengths are really long.
    The corner vector break is high in the sample below they corners are close to
    the pie chart. My chart becomes to small and unreadable.

    any thoughts

    [url]http://demo.quietlyscheming.com/ChartSampler/app.html[/url]

    Goto Pie Series, Pie labels and increase data still looks neat.

    I can not link to mine requires authorization

    flashharry! Guest

  2. #2

    Default Re: Pie chart call outs uneven

    Hi,
    even i am facing the same problem. I have two pie charts embedded on a
    single jsp page. Both the charts receive data as XML. When, one of the chart
    have only one series & the other having more than 4. The chart having more
    series shrink. Also the 'callout' label fontsize decreases too.

    Due to this reason i had to decrease lengths of labels & display the labels as
    'inside'.

    Can any one please help me out to solve this issue

    Thank's !

    Pankaj

    pjtiwari Guest

  3. #3

    Default Re: Pie chart call outs uneven

    I could not solve the issue with the labels its self. I approached in a
    different manor.

    I create a HBox, with two h-sliders and a combo box.

    I tied the combo box to the label function:

    in the pie series set this

    labelPosition="{labelComboBox.selectedItem.label}
    startAngle="{pieChartRotate.value}


    Then add these
    <Array id="labelPositionArr">
    <Object label="callout" />
    <Object label="inside" />
    <Object label="insideWithCallout" />
    <Object label="none" />
    <Object label="outside" /></Array>

    <ComboBox y="10" id="labelComboBox" dataProvider="{labelPositionArr}"
    width="110" height="10"
    styleName="myCombox" toolTip="Change label position"/>


    Now a user can select the label positions they like.
    The two sliders I tied to zoom and rotation.

    <HSlider id="pieChartRotate" minimum="-720" maximum="720" value="0"
    snapInterval="5" liveDragging="true"
    toolTip="Rotate Pie Chart" showDataTip="false"/>

    The other Hslider is tied to the width of the chat and can shrink or enlarge.
    I gave the whole HBox a low alpha and a made a mouse in and mouse out affect
    with fade. So the panel fades in and fades out like a video control.
    You can make the user selection persistent with shard objects.
    I also extended the legend control so when you hovered over a mark it extended
    that peace of the pie a minute amount.

    I hope that helps

    flashharry! Guest

Similar Threads

  1. cfform SWF Time Outs
    By Sir Monkey in forum Macromedia ColdFusion
    Replies: 2
    Last Post: July 11th, 10:00 PM
  2. Session time outs
    By dawils in forum Macromedia ColdFusion
    Replies: 1
    Last Post: April 23rd, 05:23 AM
  3. Please help: Prevent time-outs
    By Jerry in forum PHP Development
    Replies: 2
    Last Post: June 6th, 03:42 PM
  4. uneven spacinf when using form field
    By JR_McKinley@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 1
    Last Post: April 12th, 01:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139