Stroke color of line in LineChart

How to change the color of line in line chart, from
ActionScipt???
I've found an example of how to change the stroke of
horizontal or vertical axis, but I just can't find anything clear,
how to change the chart line!!!! There are many, many properties,
but none of them is right.

I want to change the areaStroke and areaFill of an AreaSeries
object, but maintaining the default assigned colors. I´ve
tried to the method getStyle("areaStroke") but it returns null.
Where Flex sets the default colors? Isn't there anyways to maintain
the default colors but change the style, gamma, weight, etc...
It would be great to do this with LineSeries and other types
of series.

Similar Messages

  • How can I apply a current fill color to a stroke, then adjust that stroke color's build?

    Hi all, I'm trying to figure out a way to automate a simple, yet repetative process I do countless times a day. Ideally, I'd like to tie it to a keystroke to speed up my workflow.
    I work on line art and colorways for footwear, so the way I'm coloring these shapes and strokes helps to break apart the different materials and pieces of the shoe.
    While coloring line art, I work with Pantone spot colors as fills for closed path objects. I then have to manually apply that same color to the stroke, set the stroke to 0.5px weight, convert that spot stroke color to CMYK, and add 15% to the K value.
    I found some code in an older post for applying the actively selected object's fill color to the stroke, but I'm having but I'm having trouble with the next step of figuring out how to take that spot stroke color and convert it to a CMYK build that I can then add 15% black to. Is this something that's even possible? I've spent about an hour playing with the script and have only had luck matching the fill color or turning the stroke white. Thanks for the help!

    ok try this one, I added the spot color option
    // make stroke color same as fill color + 15% black increase
    if ( app.documents.length > 0 && app.activeDocument.pathItems.length > 0) {
        for (var a=0; a<app.selection.length; a++) {
            try {
                    var sel = app.selection[a];
                    var fillcolor = sel.fillColor;
                    if (fillcolor.typename == "CMYKColor")
                        var cmkycolor = fillcolor;
                    else if (fillcolor.typename == "SpotColor")
                        var cmkycolor = fillcolor.spot.color;
                    var col = new CMYKColor;
                    col.cyan = cmkycolor.cyan;
                    col.magenta = cmkycolor.magenta;
                    col.yellow = cmkycolor.yellow;
                    var black = cmkycolor.black + cmkycolor.black +15;
                    col.black = black>100 ? 100 : black;
                    sel.strokeColor = col;
                    sel.strokeWidth = 0.5;
            catch (e){alert(e)

  • Need to change colors of lines in an Omniportlet Line Chart

    I am running Oracle Portal on a 10g Web server. I have created an Omniportlet and I am displaying data in a line chart. Is it possible for me to define the colours of the lines in the linechart?

    Hi I didn't changed colors in line chart but I managed to redesign lot of omniportlets.
    What you can do is to re-define CSS.
    Add an HTML portlet in your page with some CSS embedded.
    To catch wich class are to be re defined, I recommand you to use firefox with the extension Webdevelopper.
    Use the "Informations - display element information" functionnality to catch wich class are used for your chart.
    Then redefine those classes in your custom CSS.
    Hope that will help

  • How do I auto set stroke weight, stroke colors & fill color?

    Hi,
    I'd like to make it easier for our 100,000 designers to use AI to make custom products using a laser cutter.
    Current Practice
    Designers open our AI laser cutting design templates, add their designs using the AI settings our online pricing system can read, then upload their designs to our website for instant pricing, making and shipping.
    The Problem
    Designers have to manually setup AI with settings that can be read by our online pricing system. If they get these settings wrong, our system can not read their designs. So they are rejected and can not be priced or made. This happens more often that you'd imagine.
    The Solution
    Designers do not like design rejections. So I'd like to eradicate them by providing our designers with a version of AI that provides the following settings only:
    * Set document to RGB
    * Stroke weight = 0.01mm
    * Stroke colors = RGB 0, 0, 255 and 255, 0, 0
    * Fill color = RGB 0, 0, 0
    This will mean designers have a very limited number of AI choices, with nothing to distract them or to get wrong. Which will result in less (or zero?) design rejections. And products made faster than before. Rejoice!
    Question
    How do we program our AI laser cutting design templates so that when they are opened in AI, they auto set AI settings as defined above?
    Thanks so much.
    Derek

    Ponoko wrote:
    Your first point - yes, that's what our system does currently. As a result designers get lots of 'how to fix' messages as a result of design rejections. We wish to reduce these rejections and resulting 'how to fix' messages by limiting their choices in AI - because this is where the problems are created.
    Ok, yeah gotcha, so customers/designers think they do it right (cough/laugh) upload, then get surprised to find out they didn't by your upload system. That's kind of what I thought. I feel your pain. ;-) I sense you want to reduce this aspect to keep the customers/designers happy and thinking they do nothing but work magic all day right? ;-) So you don't want to lose customers in the midst of frustration of file rejection thinking there files are right and your system is certainly wrong, when in fact it's the opposite. Good luck explaining that to a designer however, right? ;-)
    Ponoko wrote:
    Your second point - You go on to talk about using a complex "action" we could distribute within the design templates. Although I suspect this is different, the path we're thinking is to include something in the templates that, when imported into AI, sets AI with the color palette we need, line weight we need. Possible?
    As Monika hinted at you can't rigidly restrict or control what a user is allowed to do and use in Illustrator. You can try to reduce the parameters by saving the file as a Template.ait file, but even then they can muck about all day until they mess things up again, plus you have no control whatsoever even then as to whether they use fills, the stroke weights, etc. That is why I mentioned various things to manipulate the file once they deem it completed and ready to submit/upload. Basically a method to fix what they messed up or did incorrectly and instead set things as they should be for submission as I previously mentioned. I mentioned you may be able to create a complex Illustrator "action" action.aia that they run to process these requirements. I am not sure if such an action could be accomplished as all inclusive (perhaps though) otherwise you could as stated do it through scripting and a script they run: script.jsx to prepare the requirements, or an actual standalone helper app you create and provide like I mentioned above as well.
    I see for CorelDRAW & Inkscape you require SVG, why not change that for Illustrator also so all your 2D app submissions are SVG based? Then manipulate the SVG server side, point out the changes and why and have the customer approve the new modified SVG Preview of the needed changes and move along with the process from there? Make all the requirement changes on the server by manipulating the SVG. You should have access to all of the requirements: RGB color model, stroke weight, stroke colors, fill colors, create font outlines, image tracing? I am just tossing out ideas here, get your programmers busy, tell them to stop playing video games and "make it so". ;-)
    But even so, this then begs the question: What are you doing to circumvent the same issues for inept CorelDraw and Inkscape users?
    Since, they have the same freedom to do things incorrectly and misaligned with the requirements, just as Illustrator users do.
    Regardless though of the approach customers/designers may not like seeing certain things changed even minutely in trivial amounts and thusly be just as upset or up in arms with the changes to their pretty design files that they think were not needed in the first place, how dare you undermine them ;-). Same as seeing the file rejection from your system upon upload. Again I feel your pain. You have your Application/File requirements requirements stated nicely and plainly, it should be pretty easy for most, but sadly I guess not.

  • Script to select same stroke color and apply a new swatch...

    I am trying to write a script that will select a line based on a swatch name, apply a new swatch, set the stroke, dash and miter of the line...and then create a new layer, change then name of the layer, and then move the selected items to the newly created layer.
    All I could seem to accomplish was renaming a swatch.
    var swatchName = app.activeDocument.swatches;
    if (swatchName.length > 0) {
        for (i=0; i < swatchName.length; i++){  
            changeName(swatchName[i]);
    function changeName(swatchObject){
                     if (swatchObject.name == "PANTONE Orange 021 C"){                     
                        swatchObject.name = "021 (Orange)";
                    if (swatchObject.name == "PANTONE Red 032 C"){                     
                        swatchObject.name = "032 (Red)";
    So the goal of what I would like it to do is look for all paths with the stroke color set to "PANTONE Orange 021 C" then have it change the swatch name to "021 (Orange)". After that apply the stroke, dash and miter. Create a new layer named "021 (Orange)". Then send all of the selected lines to that layer.
    PLEASE HELP AS I HAVE 200+ files to do this task to. Using a windows machine with CS3. Trying to write in javascript.

    This would be the way to rename 2 existing swatches… The GUI pallet can be a little sticky in updating but it works…
    #target illustrator
    var docRef = app.activeDocument;
    var a = docRef.swatches.getByName('PANTONE Orange 021 C');
    a.name = '021 (Orange)';
    var b = docRef.swatches.getByName('PANTONE Red 032 C');
    b.name = '032 (Red)';
    redraw();
    My mistake… Looks like this Jive stuff gave you an unwanted bump from nowhere? Didn't look at the date…

  • Help with stroke color

    I'm working with Sketchup exports and every time I export a model as a vector and import into Illustrator, all my lines show up different colors...
    OK so no problem, I should just be able to alter the stroke color of all these lines, right?
    So I select all the paths I want to change the stroke color of and the message in the stroke appearance box says "mixed appearances" and there doesn't appear to be any option to change stroke color, yet I can change corner types and stroke point size....
    Certainly there is a way to do this, without having to go through and select each and every single line!!
    Thanks

    acresofgreen wrote:
    I just noticed however, that in the screenshot you provided, the Fill Box was active and not the Stroke Box.  To my knowledge, you can't change the stroke color unless the Stroke Box is active.
    you're correct that is the only reason they cannot change the color of the strokes. If the use the appearance panel that might be a different story unless they select objects with the same appearance and not one that is mixed. Like apples and oranges the same but different.

  • How to color a line in ALV Dispaly

    Hi Abaper,
    As of my requirement i want to display output of the report for certain lines in a color iam using ALV method,
    Plz help me ASAP
    answer will be reward.
    Thanks in advance
    hema

    Hi Hema..
    this is The code for Applying the colors For Lines or Cells also..
    report  yacpr0007.
    This must be included in order to create the fieldcatalog.
    type-pools: slis.
    parameters: p_dummy type c.
    types: begin of ty_data,
             select type c,
             f1 type i,
             f2 type i,
             f3 type i,
             color_line(4) type c, " Line color
             color_cell type lvc_t_scol, " Cell color
           end of ty_data.
    constants: c_true  type boolean_flg value 'X',
               c_false type boolean_flg value space.
    data: i_data type table of ty_data,
          i_field_cat type slis_t_fieldcat_alv,
          s_layout    type slis_layout_alv.
    start-of-selection.
      perform f_create_field_cat.
      perform f_set_layout.
      perform f_create_data.
    end-of-selection.
      perform f_display_grid.
    *&      @FORMS
    *&      Form  f_create_data
    Create some sample data.
    form f_create_data.
      data: lw_data type ty_data,
            lw_color_cell like line of lw_data-color_cell.
      do 15 times.
        clear lw_data.
        lw_data-f1 = sy-index.
        case sy-index.
          when 3.
    **/ Set the row or cell to color
            lw_data-color_line = 'C410'.
          when 8.
            lw_color_cell-color-col = 6.
            lw_color_cell-fname = 'F1'.
            append lw_color_cell to lw_data-color_cell. "/ .
        endcase.
        lw_data-f2 = sy-index * 2.
        lw_data-f3 = lw_data-f1 + lw_data-f2.
        append lw_data to i_data.
      enddo.
    endform.                    "f_create_data
    *&      Form  f_create_field_cat
      Create the fieldcatalog.  This needs to contain a minimum of
      the names of the fields you wish to display.  However there are
      numerous other things which can be added such as position, colour etc.
    form f_create_field_cat.
    **/ Add data to the field catalog
      perform f_append_row using: 'F1' 'field one' 3,
                                  'F2' 'field two' 2,
                                  'F3' 'field three' 1.  "/ .
    endform.                    "f_create_field_cat
    *&      Form  f_append_row
    Append a single row to the field catalog.
         -->L_NAME     The name of the field to be added.
         -->L_DESC     The description for the column heading.
         -->L_POS      The column number for the field.
    form f_append_row using pv_name pv_desc pv_pos.
      data: lw_field_cat like line of i_field_cat.
    **/ Append the field catalog record.
      lw_field_cat-fieldname = pv_name.
      lw_field_cat-seltext_l = pv_desc.
      lw_field_cat-col_pos = pv_pos.
      append lw_field_cat to i_field_cat. "/ .
    endform.                    "f_append_row
    *&      Form  f_set_layout
    Set the layout including the field names used to indicate the
    cells or rows should be coloured.
    form f_set_layout.
      s_layout-colwidth_optimize = space.
      s_layout-no_colhead = space.
      s_layout-zebra = space.
      s_layout-no_vline = space.
    **/ Field that identify color line in internal table
      s_layout-info_fieldname = 'COLOR_LINE'.
    Field that identify cell color in inetrnal table
      s_layout-coltab_fieldname = 'COLOR_CELL'. "/ .
    endform.                    "f_create_layout
    *&      Form  f_display_grid
    Call the function to display the grid.
    form f_display_grid.
    **/ You need to pass in a minimum of the fieldcatalog and the table of data
      call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                = ' '
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
       is_layout                         = s_layout
    **/ the field catalog.  Tells SAP what to display
       it_fieldcat                       = i_field_cat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
    **/ The table of data and exceptions
        tables
          t_outtab                          = i_data
       exceptions
         program_error                     = 1
         others                            = 2
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    "f_display_grid
    <b>reward if Helpful</b>

  • How to find out the textframe contains "stroke color" (or) "fillcolor"?

    How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.

    I know, this post is quite a while ago, but: This simply does not work for me. Neither for simple PathItems, nor for the characters of a TextFrame.
    Working on: Illustrator CS5.5, Mac OS, Javascript
    Simple example:
    var numSelectedObjects = app.activeDocument.selection.length;
    // If any objects selected: Get fill and stroke color of the first one
    if(numSelectedObjects > 0){
    alert("Fill Color: " + app.activeDocument.selection[0].fillColor + " / Stroke Color: " + app.activeDocument.selection[0].fillColor);
    This returns always CMYKColor, RGBColor or GrayColor, even if there is no Color assigned to the objects stroke or fill!!
    For PathItems there is the attribute ".filled" or ".stroked", which returns "true" or "false" and is reliable.
    if(app.activeDocument.selection[i].filled){ // works fine with PathItems!
    Is there anything similar for Characters? I tried this one, but it does not work (because I think it does not exist):
    if(app.activeDocument.selection[i].textRange.filled){ // does not work!
    I just need to find out, if the characters in a textfield have got a fill or stroke color. Reliable.
    It would be very nice to get help from anybody!
    Thanks a lot in advance!

  • How I fixed the colored vertical lines on my Mac Powerbook G4 17"

    Hello all,
    I know that many people with a Powerbook G4 17" are suffering from the colored vertical line problem on their displays.  This is were a pixel wide vertical line of color (yellow, green, purple, red, and/or blue) randomly appears on the laptop's display, usually between 24-36 months after purchase.  This is also known on various internet forums as the "bridget riley effect" -- named after a painter whose art looks very similar to this effect.  Many, if not all, of the laptops that suffer from this defect are 17" displays and have a serial number that starts with W8.  Mine starts with W85; you can check yours by looking underneath the battery.  It usually starts off as just one line, then two, then a few months pass and before you know it your screen looks like this:
    This is my screen two years after the first line showed up, which was two and half years after getting it in December of 2005.  Not so pretty. And completely useless without an external display, kind of killing the purpose of a Laptop.  As a film editor I needed my screen to see the images and more importantly I needed it to be mobile.  There's not always a screen to plug into. 
    I tried getting Apple to fix the problem, but apparently they're just ignoring the fact that almost all the laptops that came from this certain factory in Thailand (indicated by the serial number starting with W8) have failing displays.  They delete threads and forums on their website, and try to censor and ignore the problem as much as they can.  Unless some huge media blitz happens, or there is some kind of legitimate lawsuit, I highly doubt they ever will do anything about it, and you can't really blame them.  They are a big business and addressing this problem with cost them potentially millions in repairs and tarnish their reputation as a quality manufacturer, and Apple's biggest commodity is its reputation.  It ***** that Apple allowed this kind of thing to happen, but as things stand right now, it would be a poor business decision to fix it.
    So, fellow vertical line sufferers, AKA the W8 club, my advice to you is stop holding out hope that they will pay for your screen to be fixed and get it done yourself!  If you do it right you can get it done for between $60-$99.  Here's how I did it. 
    First off, know that this is a hardware problem.  There is no setting in system preferences you can change that will make the lines go away.  There are failing physical parts in your computer to blame and they need to be replaced. 
    Second, in order to keep things as cheap as possible, you are going to replace the parts.  It's actually pretty easy.
    Thirdly, you are going to need a whole new display.  I thought maybe if I replaced the display data cable (the cable that runs from the computer under the key board to the back of the screen) it might solve the problem very cheaply, since a brand new one only costs about $9 online.  I took the computer apart, replaced the cable, but the display did not change at all.  So the problem is the screen, not the cable.  I needed a whole new screen, however, a brand spanking new one can cost between $350-$600.  So I went on eBay, typed in my computer, and looked for computers that were being sold for "parts" or "repair."  These are usually much cheaper because they are not working computers, but you don't need the computer to work, you just need the display to work.  If you do this, make sure you read the descriptions.  If there's any mention of display problems, move on and keep looking.  You don't want to replace the display only to have the lines show up all over again a few months down the line.  They wont always give you the serial number, but obviously try to stay away from serial numbers that start with W8.  I found a used Powerbook being sold for parts for $63.  It didn't have RAM, or a Hard-drive, or screws to keep the keyboard on, but the display apparently had no issues.  With shipping and handling it cost me $94 total and three days to get it.  The serial number started with V7.  I'm sure with a little patience and vigilance, you can find something just as cheap or even cheaper. 
    NOTE: Some powerbooks have High-Res display screens, so make sure you know which screen yours has so you know which to look for. 
    Now, how to actually replace the display.  I used an awesome website called ifixit.com.  They give you detailed easy-to-follow instructions with photographs.  I'll let them give you the nitty gritty of how to replace the display.  Here is the actual How-to guide I used:
    http://www.ifixit.com/Guide/Installing-PowerBook-G4-Aluminum-17-Inch-1-1-67-GHz- Display/258/1
    The only tools you really need are a small phillips head screwdriver and a T6 and T8 Torx screwdriver (they are starred on the end, as oppose to crossed like the end of a phillips head).  They say you need a "spudger" but I didn't.  You can get these at any hardware or auto-parts store.  Return them when your done if you are really on a budget, but you might want to take more part from this new computer in the future, so your call.  You'll need to print out the instructions first, or use another computer to follow them since you obviously can't use your Powerbook.  Find a flat, well-lit work space, preferably near a TV so you don't get bored while working, and use the how-to guide to switch the old display with the new one.  It only took me a couple of hours to finish the whole thing, and I didn't have to pay a repair man hundreds.  My display works perfectly now!  It's so nice to be have the mobility of a laptop again (especially since the computer i got off of eBay came with a battery that can actually hold a charge).
    NOTE: There are a bunch of screws and a few small parts that will need to be taken out while replacing the display, and its important they all go back in their proper spots.  So I highly recommend you take a long piece of tape, loop it, and stick it flat onto the side of your work space.  As you take out each screw or small part, stick them in order to the tape.  This way nothing gets lost and when you work backwards to put your computer back together you'll always know which screw or small part is next in line and which one the how-to guide is referring to.
    I really hope this helps people with this problem.  This seems to be the only solution.  And for less than $100 bucks, I think its worth it, especially since you now have back up parts for any other part of your computer that might fail in the future.  My disc drive stopped working recently so I'm replacing it with the one that came with the computer I got off eBay; a $90 part.  I tried to make this as easy-to-follow, practical, and comprehensive as I could -- for as cheap as I could.  GOOD LUCK!!!
    -R

    I suspect not. There are long threads with hundreds of reports, most with PowerBooks whose serial numbers began with W8 (or W85). Still there is no Repair Extension Program for this issue.
    At this point, your only recourse is to discuss the issue with Apple Consumer Relations at 1-800-767-2775, if you are in North America.

  • PS CS6: stroke color picker preview in real time not working

    re: NEW color picker stroke color not updating in real time (previewing).
    Is it me or has the stroke color preview been removed in CS6 or is there a setting that needs to be changed to enable it?
    The problem: When I create a shape layer, press enter and then chose a stroke color from the color picker, I select a color but it doesnt update the stroke color until I press enter. I'm sure it used to change in real time as you clicked on the color picker panel before accepting it.
    Any sugestions or ideas as to whats going on or am I going mad?
    Further update: This is when creating a shape but using the new stroke feature in the properties bar at the top (the one which gives you the new fancy options like having a dashed, transparent or gradiented stroke) and not the traditional method of adding it as an effect. This still shows a real time update, but the new method doesnt.

    Curt Y wrote:
    zarrdave wrote:
    You're then moving the colour picker dialogue box to one side so you can see he shape created, and you've then tried clicking on different colours and the border color has changed after each click (but before you press OK)?
    If thats working so the color changes in real time for you, then unfortunatley I've got a problem with my version.
    Using Win7 CS6 extended, and following your instructions it works for me.
    Border changes withn I click on color pallet with color picker.
    Odd, same version/ O.S. here, thanks for that though Curt Y. Are you sure you're not clicking on the preset colours and actually using the color picker dialogue box.
    I've been in a bit of a rush here at the office and appologise for not being clearer and posting a screencap earlier.
    To clarify, its the Cyan dialogue box not the orange box I'm talking about  (nice choice of colours I know ). The top right icon in the organge box with the colours in is how you get to it.

  • Can I color a line of "standard text" in adobe forms output?

    Simple question: Can I color a line of "standard text" in adobe forms output?
    My standard text (SO10) has multiple lines. 
    Can I make one of the lines red?
    Ollie

    Hi Oliver,
    I believe you standard text is a table type of TDLINES.
    On the form you would display it with a table of 1 column 1 row with repeat row ticked.
    Have the like below code on the fomr ready event of your table.
    for(var i =0; i<this.Row1.nodes.length;i++)
         if(i == 1){
         this.Row1.Cell1.font.fill.color.value = "255,0,0";
         this.Row1.xx.font.fill.color.value = "255,0,0";
    Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox,  & xx as text / label.
    If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
    If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
    Cheers,
    Sai

  • Changing color of lines in line chart

    Okay this is a dumb question but how do I change the color of
    lines in a line chart?

    "spacehog" <[email protected]> wrote in
    message
    news:g81g1a$eq4$[email protected]..
    > Okay this is a dumb question but how do I change the
    color of lines in a
    > line
    > chart?
    http://www.rphelan.com/2008/05/23/taking-control-of-flex-charting-styles/

  • CS4: Change color of line indicator/outline tool (not line itself)

    I couldn't find an answer in any of the resources - possibly because I don't know the right term.
    I am talking about the line that is displayed during the period that you draw a line - from the time you click the mouse, until you release it. There's a thin greyscale line indicating the outline of the item you are drawing.
    I'm working on ultrasound images, full of greyscale spots. In order to draw lines as precisely as possible, I would prefer that the outline that is displayed while I'm trying to draw my line as correctly as possible, has another color.
    I know how to change the color of lines that I have drawn, that are part of the image. What I need is to change the color of the line indicator/helper tool that ONLY shows WHEN I'm drawing a line, and is not really a part of the image.
    Hope you can help!

    It's a well-known shortcoming that the path that's drawn with the pen is hard to see under some circumstances.
    One thing:  Its appearance is a little different with OpenGL Drawing disabled vs. enabled.  What's your setting (Edit - Preferences - Performance)?
    If you're not in need of the OpenGL features, disabling OpenGL Drawing could be helpful in making your paths somewhat more visible.  Such a change is not without downsides, but perhaps it could serve as a workaround for you.
    -Noel

  • How to set fill, stroke & color to a group

    First of all, I must say I'm a complete beginner in Javascript so please have patience with me.
    What I'm trying to do is to set a lot of groups to specific fill, stroke & color using a function.
    var docRef = app.activeDocument;
    var Reg = docRef.swatches["[Registration]"].color;
    var mm = 2.834645;
    var lineWidth=0.12*mm;
    group1.stroked=true;
    group1.strokeColor = Reg;
    group1.filled = false;
    group1.strokeWidth = lineWidth;
    This works, but I have to this for every group and there are lots of them.
    So I tried to make a function:
    function setAttributes(temp)
    temp.stroked=true;
    temp.strokeColor = Reg;
    temp.filled = false;
    temp.strokeWidth = lineWidth;
    And then call that function for each group:
    setAttributes(group1);
    setAttributes(group2);
    setAttributes(group3);
    etc.
    Of course, this doesn't work since I have incredible programming skills
    Please help.
    Thanks!

    The script as it is should ONLY change the path items that are in your 'first level' of group items… If you need to change the properties of path items outside of the groups then you could add another loop… Heres one way you add the extra loop:
    var docRef = app.activeDocument;
    // Set variable to your color
    var reg = docRef.swatches.getByName("[Registration]");
    // Set a variable to the document path items collection
    var pathList = docRef.pathItems;
    // Loop through this list of objects
    for (var h = 0; h < pathList.length; h++)     {
         // Change the property values
         pathList[h].filled = false;
         pathList[h].stroked = true;
         pathList[h].strokeColor = reg.color;
         pathList[h].strokeWidth = 2;
    // Set a variable to the document groups collection
    var groupList = docRef.groupItems;
    // Loop through this list of objects
    for (var i = 0; i < groupList.length; i++)     {
         // Re-use variable for the groups path items collection
         pathList = groupList[i].pathItems;
         // Loop through this list of objects
         for (var j = 0; j < pathList.length; j++)     {
              // Change the property values
              pathList[j].filled = false;
              pathList[j].stroked = true;
              pathList[j].strokeColor = reg.color;
              pathList[j].strokeWidth = 2;
    app.redraw();

  • I have an iphone 4 and i'm having lot of problems: my back camera is blurred although my front camera is fine and working normal. my biggest problem is that the screen is showing colored horizontal lines

    I have an iphone 4 and i'm having lot of problems:
    _ my back camera is blurred although my front camera is fine and working normally
    _ my biggest problem is that the screen is showing colored horizontal lines(as perhaps electrical problems). The phone did fell and I already changed its back and front but everything was normal until these problems appeared suddenly
    Please can somebody help me to solve it and tell me what are the reasons?
    Thx

    you can try turning it off and on again, but i doubt that's gonna work, that sounds like more of a hardware issue. Your best bet may be to contact apple and seek service or replacement

Maybe you are looking for

  • Using "real instruments" - not showing up

    I'm very new to Mac and Garageband, so this may be simple. I'm using a Roland RD300sx as my keyboard. I loaded the driver. Followed all other directions provided by tutorial and manuals, but after 2 hours I can't get GB to recognize the input. I saw

  • Change the partition of an external drive using Disk Utility?

    I wish to change partition scheme, sizes, in an external drive. All the partitions are MacOS extended (Journaled) and they map, according to the layout in Disk Utility, as follows: Partion 1, 2, 3,4 where 1 is at the top and 4, the bottom. I want to

  • File in use when creating PDF

    I've been having this problem for years. When I export an indd file (fileA.indd) to PDF (fileA.pdf), attach that PDF in an email, go back to inDesign to make changes, then try to export again to the same PDF name (fileA.pdf), I get a file is in use m

  • Reg script condense prob?

    Hi iam trying to modify MEDRUCK for request for quotation printing.  in the standard script i was trying to print all variables in one line . for dng that i have to condense variable . how can i condense variables ? i tried with by giving &variable(c

  • HT1386 My notes aren't syncing from my iPad (iOS 6.1.3) to my Mac (OS 10.8.3, iTunes 11.0.2). HELP!

    Took some notes on my iPad in a meeting this morning, and they're refusing to sync to my Mac. Help! iPad iOS 6.1.3 Mac OS 10.8.3 iTunes 11.0.2 I have WiFi syncing on, and both devices are using the same