How to make a long Legend contained in multiple line
I have a PieChart needs legends. Some of them are very long.
Is it possible to make long legends written in
multiple lines? Here is the code for the PieChart and Legend:
<mx:PieChart id="byMake" height="325" width="100%"
dataProvider="{make.product}" showDataTips="true" >
<mx:series>
<mx:PieSeries field="quantity" nameField="brand"
startAngle="0" />
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{byMake}" horizontalAlign="left"
/>
"glen08" <[email protected]> wrote in
message
news:giem8i$e0j$[email protected]..
>I have a PieChart needs legends. Some of them are very
long. Is it possible
>to
> make long legends written in
> multiple lines? Here is the code for the PieChart and
Legend:
>
> <mx:PieChart id="byMake" height="325" width="100%"
> dataProvider="{make.product}" showDataTips="true" >
> <mx:series>
> <mx:PieSeries field="quantity" nameField="brand"
startAngle="0" />
> </mx:series>
> </mx:PieChart>
> <mx:Legend dataProvider="{byMake}"
horizontalAlign="left" />
Try this as your itemRenderer
package com.magnoliamultimedia.views
import flash.display.DisplayObject;
import mx.charts.LegendItem;
import mx.core.UITextField;
public class WrappingLegendItem extends LegendItem
public function WrappingLegendItem()
super();
override protected function createChildren():void{
super.createChildren();
for (var i:int=0;i<numChildren; i++){
var child:DisplayObject=getChildAt(i);
var txt:UITextField = child as UITextField;
if (!(txt==null)){
txt.wordWrap=true;
txt.invalidateSize();
Similar Messages
-
How to make an editable bulleted list with multiple lines and custom bullets?
How do I create an editable bulleted list in Acrobat Pro? I've figured out how to add text fields with multiple lines, and how to add a list box, but I don't see the check box for multiple lines in the list box or how to add bullet points. Can someone please give me step by step instructions? Also is it possible to use custom bullet points?
Is it a text field or a list box field? The two are not the same...
The bullets are something that the user will have to enter manually (into a text field, they can only select values in a list-box).
They can use any unicode character, or special characters if the font used for that field allows for it. You can't use images for the bullets, if that's what you mean. -
How to make 1sec long sequence out of 7 PS layers in CS5 at 7fps?
I can not make 1sec long clip containing lets say 7(or 14 or 28) frames only. It would be either 30 or 25 devided so that the number is even. Like 30fps=3;10;15 etc and 25fcp=5.
It works with CS3 as you see on the picture, but not with CS5. CS3 allow to change time Base when you change the Frame Rate. How can we make AE CS5 not to hang on the Base 25 or 30?Simply set the project time base setting to Auto in teh project settings - just like in CS3. This hasn't changed.
Mylenium -
How to make vibration longer in notification zone
Hi,
Please help me of how to make a longer vibration for notification on iphone. It seems too short for me to notice. Thank you.you can't.
-
How to make fields required in an updateble multi line form?
How to make fields required in an updateble multi line form?
You need to create a validation item that is triggered when the user clicks the submit button.
Set the validation type to "Function Returning Error Text".
Then add your validation into the "Validation Expression 1" field. Something like:
BEGIN
FOR I IN 1.. HTMLDB_APPLICATION.G_F02.COUNT LOOP
IF HTMLDB_APPLICATION.G_F02(I) IS NULL THEN
RETURN 'Please enter in a value for xxxxx on line ' || TO_CHAR(I,'0');
END IF;
END LOOP;
RETURN NULL;
END;
As long as the function returns a string, an error is generated - as there is no single field where this error can be displayed, it will need to be displayed "On Error Page".
If the return value is NULL, then the fields are valid and the submit process can continue.
Andy -
How Can I Create One Entry Sheet For Multiple Line Items of A PO
Please Tell Me How Can I Create One Entry Sheet For Multiple Line Items of A PO
hi,
It is not possible to create single Service Entry sheet for multiple PO line items. It is 1 to 1 relation.
you have to make different service entry sheets for different item of service master.
regards
Manish Joshi -
How to make a long animated button
Hello
Does anyone know how to make a animation on a button when you
put your curser over or click the button longer then just a few
frames. in other words to extend the over or down parts of the
button animation.
Thanks a lot.how about using attachMovie() to attach a bullet hole MC
onPress. Just draw a png image, convert to a MC and then attach it
at the mouse coordinates when clicked. although your 'can' should
also be a MC button. -
How to make narration longer than 30 seconds?
To whom it may concern,
I have a question about Adobe Premiere Elements 11. I want to record for more than 30 seconds, do you know if there is a way make narration longer than 30 seconds?
Thank you.
Adobe 206Adobe 206
Are you saying that you attach a microphone to your computer and run the Premiere Elements 11 narration feature and can get no more than a 30 second narration .wav file from the feature?
Please check out the following thread in which I was involved and let us know if any of its discussion applies ot your situation.
http://www.elementsvillage.com/forums/showthread.php?t=61237
Any questions about that thread, please ask me here in your thread.
Thanks
ATR -
How to make the LONG TEXT as mandatory
Hi,
In one tansaction, I need to make the LONG TEXT as mandatory.
or
I need to raise an Error message if the long text is empty.
ThanksI want to make the long text mandatory in the transaction F-66.
In this, long text field (text box) is not displaying directly for typing.
We need to click on the button LONG TEXT, then text box is opening for typing.
I need to make this as mandatory.
Thanks -
How to make plant in shipping cond tab for line item in sales doc mandatory
Hi
How to make plant as mandatory for a sales document say quotation mandatory ? I went to SPRO-> Basic Fucntion - > log of incomplete terms -> Define incomplete Groups -> B.selected sales -Item -> Created new procedure Z001 with fielda VBAP - WERKS ,selected screen name PDE2 and checked warning check box.
When i goto Assign incompleteness procedures I donot have option to assign it sales document item level procedure i will only get sales doc header procedure to assign it to document type quotation.
How to make plant as mandatory for each line item in quotation?
Thanks,
VaishnaviInclude: MV45AFZB
Form USEREXIT_CHECK_VBAP
In our business scenario, we have used the same ,But Plant is mandatory only for 1st line item-
source code:
IF vbak-vkorg = '1000' OR vbak-vkorg = '2000'.
IF sy-tcode = 'VA31' OR
sy-tcode = 'VA11' OR
sy-tcode = 'VA21' OR
sy-tcode = 'VA41' OR
sy-tcode = 'VA01' .
IF vbap-werks IS INITIAL AND
vbap-posnr EQ '000010'.
MESSAGE e398(00) WITH 'Please enter the plant for first line'.
ENDIF.
ENDIF.
ENDIF.
Help:
Through this form exit we are making the "plant' field (for the ist &*
& line item ) mandatory for the sales document . This interns helps us &
& to create the sales document numner according to the plant (Region) &
*& of the Plant
Hope it clears. take assistance of your ABAPer. -
How do I allow a user to enter multiple lines of text within a Text Entry Box?
I need a text entry box that allows for multiple lines to be inputted with in a Text Entry Box. How can I make this possible?
Go to the Options accordion and check 'Show scrollbar'.
Lilybiri -
How to use parallelism in RMAN script having multiple lines
Gurus,
Need your advice on using parallelism in 'BACKUP AS COPY DATAFILE' script having multiple lines.
I have a script like below:
CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA';
backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA';
backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA';
backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA'; and so on ......
If I run this script, it runs sequentially. How can I parallely copy the required data files ?
I have to selectively copy few files in ASM.
I want to use a single script.
Please advise.
Best regards,
Santosh
Edited by: 966454 on Oct 18, 2012 11:59 PM
Edited by: 966454 on Oct 18, 2012 11:59 PMUnfortunately, this will not help my case. It may not always be '+DATA'
I want to know if there is any way to parallelise the multiple statements.
Script may have :
CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA1';
backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA2';
backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA3';
backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA4'; ........
or
backup as copy datafile 1 as '/data1/oradata/PROD/data01.dbf' ;
backup as copy datafile 2 as '/data2/oradata/PROD/data02.dbf' ;
backup as copy datafile 3 as '/data3/oradata/PROD/data03.dbf' ; ........
Regards,
Santosh
Edited by: 966454 on Oct 19, 2012 12:33 AM -
How to Make an Expanding Text Container?
Is it possible to create a div tag (or some type of container
object) that can reference a large body of text (such as a long
article for example) and only show the first few paragraphs with a
link at the bottom to expand the container to show the entire
contents pushing any objects below it further down the page?
I'm using php to include a large html article inside of a div
tag on a newsletter page and would like to learn how to create a
partial display that can expand to show everything only if the user
decides to read more.
Could someone please point me in the right direction in order
to learn how to do this?
Thanks!
~GregHere is what you have in the onclick event :
if(document.getElementById('article_snippet').style.display
== 'block') {
document.getElementById('article_snippet').style.display =
'none';
document.getElementById('article').style.display = 'block';
}else{
document.getElementById('article').style.display = 'none';
document.getElementById('article_snippet').style.display =
'block'
On first click, you are checking 'article_snippet' for the
value of
.style.display However, the wayt it works is that .style
values are
NEVER the one in an external, or even an embedded style
sheet. They is
ONLY the ones in *inline* styling. And your div does not have
that
style inline initially.
So, on the first click, no such style is found, and the else
phrase is
run, setting an INLINE value for
article_snippet.style.display to 'block'.
Then on the second click the first condition is met because
the element
now has an inline style with display=block, And the script
now runs as
you thought it would on first click.
Does that make sense?
E. Michael Brandt
www.divaHTML.com
divaGPS | divaFAQ
www.valleywebdesigns.com
JustSo PictureWindow
Myrrhlin225 wrote:
> Hello Again,
> Well, I managed to get this to "almost" work based on
the resource posted
> above by Alec. However, given my limited experience with
javascript, I seem to
> have a slight problem in that the show/hide link must be
clicked TWICE (but
> only the first time) in order for everything to work
properly.
>
> Could someone who really knows javascript please have a
look at my source code
> and tell me what I might need to change in order to get
this toggling link to
> work when a user clicks on it for the first time? I just
don't want people to
> have to click twice in order to see the full article.
>
> Thanks!
> ~Greg
> -
Is there a tutorial on how to make a long press menu appear on a table item with storyboard?
Hi there!
I'm very new to app development and i've been playing around with designing a few. I wanted to know, how can you create a long press menu appear when pressing and holding on a table item. Id like it to pull up a menu with 3 options, each leading to its own view depending on what one is selected.
Is there a decent tutorial out there for a beginner? I'm using the newest xCode with storyboard and all the tutorials i found are for older xCode versions.Greg,
This topic is covered elegantly in an older book by Al Ward. The directions are too long to post here. The book is still available - at Amazon for $0.46 + postage!!
http://www.amazon.com/s/ref=nb_ss_b?url=search-alias%3Dstripbooks&field-keywords=photoshop +elements+2+special+effects&x=11&y=12
He wrote this for PEv.2, yet it requires only the basic tools which remain in the more recent versions of the program.
Ken -
How to make ? nr of container text fields
hi have this fla wich has 2 sets of containing text fields
after a php file gets the only two rows in a database, it puts the values in the textfields.
now what i want is
i want flash to put the instances of the textfields automatic on the stage
like when there are 8 rows, i want 8 sets of textcontainers.
how do i do thiss.
i have this really simpel fla file
wich can be downloaded here
http://www.flash-db.com/Tutorials/loadingAS3/loadingAS3_flash-db.rar
its in the BD folder, also the php file
would be so nice if someone could edit the fla file, so i can check out how this is done?
or maybe a tutorial on this or something?
thx so much in advanceHi Allice,
You can use this :-
for ( var i=0;i<8;i++)
var txt:TextField=new TextField();
txt.name="txt"+i
txt.x = 0
txt.y=i*10
addChild(txt)
Maybe you are looking for
-
I am connected to the computer with my phone and it says there are 0 photos to import, however I have over 200 on my phone to import. I am trying to figure out how to get itunes to recognize the photos on my phone. This has never happened before.
-
Existing state of packages has been discarded...
Hi all, I know this is a long shot and probably you need more details to help, but please take a look in case you've encountered something similar before... It is a pretty interesting problem. Ok, I have two packages, say, A and B. Package A is compo
-
Data source for deposit advice xml and check writer xml
Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look
-
Can't open projects or text template created in Ae cc with Pr cc
Hi. I am new to After Effects (and pretty new to Premiere after converting from FCP7). I have edited a project in Premiere, have exported it into After Effects, added some text animation and now want to bring it back into Premiere. I have exported a
-
Mac Pro 8 core 2.4 or 6 core 3.33?
Looking for a refurb or used Mac Pro and wondering which 2010 model will be best bang for buck. Immediate needs are for Windows emulation, Photoshop||Lightroom||Aperture (correction and light editing for product image batch production), scanning and