How do I change the default colors used by Flex charts controls?

Default 28 colors in mx.charts.styles.HaloDefaults.
I want to add some colors, How should I do?

I'm tryint to solve the same problem. There is a solution to reset the array (or to change in your case) HaloDefaults.defaultColors on the preinitialize event for example for Application.
<s:Application ... preinitialize="onPreinitialize()">
<fx:Script>
        <![CDATA[
     import mx.charts.styles.HaloDefaults;
     use namespace mx_internal;
     import mx.core.mx_internal;           
     public static const myDefaultColors:Array = [ 0xff000b, 0xc87eb];
     private function onPreinitialize():void{
          HaloDefaults.defaultColors = myDefaultColors;
     ]]>
</fx:Script>
<!-- Some chart -->
</s:Application>

Similar Messages

  • How do I change the default color in pages.

    How do I change the default color in pages.  Everytime I try to copy and paste a passage, I am unable to do so because it seems that the ink is always white on white.  Sometimes I am lucky and can change it using the color box in the format bar, but it's a rarity when I'm able to do it.

    What version of Pages & what version of OS X are you using?
    A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
    If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • How can I change the default color (Blue color)?

    Hi,
    I use JDev 11g last version
    when I use decorativeBox or panelStretchLayout I use (dark - light - medium) in theme but by default it be in blue color can I change this blue color to any other color?
    I don't want to use an image or change background color using css file I want bu easy way to change the theme with any color except blue.
    Thank You...
    Sameh Nassar

    Hi John,
    Thank You for your reply
    I know that can be solved by using skin.
    but when I use (dark - medium - light ) the appearance change without using skins.
    I ask is there any way to change the default color (blue) with any other color.
    - It means when I write a dark in decorativeBox theme I found the decorativeBox in red color (or any other color) instead of blue color.
    - Where can I find the place which say the blue is the default color?
    Thank You..
    Sameh Nassar

  • How do I change the default color (gray) that 'Edit - Find' uses?

    When I search for a key word in a PDF file viewed in Safari web page using Edit -> Find 
    It defaults to highlighting the text it finds in light gray which is very hard to see. I would like to change the highlight color to something much easier to see on the page - like red for instance.

    What version of Pages & what version of OS X are you using?
    A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
    If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • How can I change the default colors swatches?

    Too many CMYK colors for the Print Profile.
    How to I make it that only 3 colors show up?

    Open one of the actual default profiles change the colors save the document close now go to FileNew and choose that profile and ityou open asthe you lastto saved it withwould colors you selected.-

  • How do I change the default color scheme in Dreamweaver CS6?

    Hi All
    I just updated to CS6 on my work computer from CS5 on my personal computer (preferences and stuff were not transferred), and I'm trying to figure out how I can import my custom color scheme that I was using in CS5. In CS5 I was able to replace the Colors.xml file instead of going through each individual color option. I haven't had the same success with CS6.
    In CS5 the Colors.xml file was located at this path (Mac)
    /Users/%name%/Library/Application Support/Adobe/Dreamweaver CS5/%localization(en_US)%/Configuration/CodeColoring
    The problem with CS6 is that there is no Dreamweaver CS6 folder at that path after "Adobe/"
    Has anyone else encountered this problem? Any solutions? Looking at code on a white background is hurting my eyes!

    Do you think this maybe has to do with Mountain Lion?
    Here's a screenshot of no Dreamweaver CS6 folder in Library/../..
    And no, it's not in the "Adobe Creative Suite 6 Design and Web Premium" folder either. I keep going through all of the folders hoping the Dreamweaver cs6 folder will show up, but nothing! Thanks for your help guys. If you think of anything else, please respond!

  • CR XI R2 Sp6 - How do you change the default printer used by the Viewer?

    CR XI R2 Sp6
    .NET
    VS2005, C++
    The app selects printer for the job as m_Report->PrintOptions->PrinterName = ss_Device;
    This works nicely for printouts to the printer, but is ignored by the viewer. There, the machine default printer is always selected when I hit the print button.
    Found this which is sortof similar:
    http://forums.sdn.sap.com/thread.jspa?threadID=1275149
    Is there any way to fix this? If no, then is it fixed in more recent versions of CR?

    All of that above can be changed at runtime, but you'd somehow need to figure out what the default printer driver is on each machine and then assign it to the report.
    Yes,but that is exactly what I do. The app normally uses the Windows default printer just as any C++/MFC app will do. On the file menu there is an option to select printer which calls CWinApp::OnFilePrintSetup(); which sets the application default printer setup.
    In the app there is a function to retrieve the default printer:
    CString CLpApp::GetDefaultPrinter()
         PRINTDLG     pd ;
         CString          printer("Failed") ;
         pd.lStructSize = (DWORD)sizeof(PRINTDLG) ;
         BOOL bRet = GetPrinterDeviceDefaults(&pd) ;
         if (bRet)
              // protect memory handle with ::GlobalLock and ::GlobalUnlock
              DEVMODE *pDevMode = (DEVMODE*)::GlobalLock(m_hDevMode) ;
              printer = pDevMode->dmDeviceName ;
              ::GlobalUnlock(m_hDevMode) ;
         return printer ;
    When I print, I do:
    void CSkrivDlg::StartReport(CLpReportJob^ jobb)
         jobb->SelectPrinter("",theApp.GetDefaultPrinter(),"");
         if(m_tillSkrivare)
              jobb->OutputToPrinter(1);
         else
              jobb->OutputToWindow("Fönsternamn", 0, 0, 200, 200, 0, NULL, NULL);
    This works correctly for OutputToPrinter(1);, but not for OutputToWindow() which are simply wrappers for the CR functions:
    bool CReportJob::OutputToPrinter(int nCopies)
         bool rc = true;
         try
              m_Report->PrintToPrinter(nCopies,true,0,0);
         catch (Exception ^e)
              TRACE("
    %s",e->Message);
              m_LastError = e->Message;
              rc = false;
         return rc;
    // OutputToWindow()
    // a,b,c,d = Fönsterkoordinater eller noll för default
    // style = flaggor för fönsterposition
    // window = fönster efter vilket vi dyker upp
    // child = rapportfönstrets handle om vi vill ha den
    bool CReportJob::OutputToWindow(CString Namn, int a, int b, int c, int d, int style, CWnd* window, CWnd **child)
         bool rc = 0;
         CString title="Dummy1";
         title = m_Report->SummaryInfo->ReportTitle;
         CFloaterDlg *Floater = new CFloaterDlg(NULL);               // TODO: Get window
         Floater->Create(IDD_FLOATER_DLG, NULL);
         if(Floater != NULL)
              m_Report->ExportOptions->ExportFormatType = CrystalDecisions::Shared::ExportFormatType::PortableDocFormat;
              Floater->m_Viewer->ReportSource = m_Report;
              Floater->m_Viewer->Zoom(theApp.m_ScreenZoom);
              // Sätt fönsterrubrik från rapporten
              Floater->SetWindowText(title);
              // Puffa på så att den kan ändra storlek på Crystal-kontrollen
              Floater->Size();
              // Visa fönstret om det är stängt
              if(!Floater->IsWindowVisible())
                   Floater->ShowWindow(SW_SHOW);
              rc = true;
              if (child!=NULL) *child=Floater;
         else
              AfxMessageBox("Kunde inte skapa fönster för utskrift",MB_OK);
              rc = false;
         return rc;
    Floater is simply a dialog that holds the Viewer control.
    For some reason does the Viewer not obey the printer selection done in the report

  • How do I change the background color of a poster in pages?

    How do I change the background color using pages for ipad?  I am working with a poster template.

    I have done this before by using a for loop to change the active cell of a row in order to give the appearance that the whole row is turning the color at once.
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • How do I change the default window color?

    Having white screens is too bright for my eyes!! I always change the default window color in Windows (hiss hiss) to a light shade of gray and that setting carries thru to all windows (i.e. Word, Excel, notepad....). Is it possible to do a similar thing with Tiger? I see that I can choose between a couple of "schemes" from a "Desktop and Dashboard Settings" area (or similar - i don't have my mac here now so can't look to see the proper name) but I see no way to alter colors within those schemes. If you can tell me how to change the default color for my windows I will be awfully happy. thanks.

    Personally, I wouldn't trust it, and I don't hesitate to try these things most of the time even though they sometimes cause problems. But I've used Unsanity products before and they all require installing a preference pane called APE; Application Enhancement module, and that thing caused me lots of problems for my system, lots of crashes and flakiness. I won't use it again.
    But I'm sure there are lots of people using it happily, but if you don't feel confident in dealing with system problems stay away from anything that adds a system preference pane or goes up in the top menu bar at the top (Apple icons excepted) or has to start up with the system.

  • How can I change the default text color (black to blue) in Mail on Mountain Lion

    How can I change the default text color (black to blue) in Mail on out going email with Mountain Lion

    There really aren't default outgoing font settings. They are only there for viewing. A workaround I have seen mentioned is to start you signature with the font style you want to use. When you start your message, click in that first part of your signature.
    Something like
    defaults
    Signature

  • How can I change the default fill and stroke colors for new shapes?

    As you can see in the following screen recording, after I change the stroke and fill color, all my subsequent rectangles are created respecting these new colors. But then when I delete all the rectangles, choose the rectangle shape tool once again, and start creating new rectangles, they start getting created with another color I had used some time ago (and I don't know how did it become the default color).
    http://tinypic.com/r/64jrwp/6
    So how can I change the defaults, so that the fill color is say #ddd, and the shape has no stroke at all?
    Thanks.

    When you have the shape tool selected you will see in the tool bar below - file edit etc a fill and stroke. This is where you can change the colours.
    You can keep drawing your shapes like you did in the video but then select the rectangle and change the colour from this tool bar. The reason it changes will be because you changed the colours you were using (foreground / background) that display in the left side tool bar.

  • How to change the default color of the selected row

    hi all,
    I need to know how to change the default color(yellow) of the selected row in a table component.whether i need to change anything in the stylesheet.If so, where should i make the changes in the stylesheet.
    thanks and regards,
    rpk

    The chart colors are being referred to *'palette.cxml'* file in these directories
    BI_HOME\web\app\res\s_oracle10\chartsupport
    BI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\chartsupport
    you can change to your custom colors.
    Restart OC4J and PS to make the new ones work..
    Regards,
    Raghu

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • I'm using bridge cc2014 on my mac and when I go to open photos, it opens on PS6 even though I have PS CC.  How do I change the default?

    I'm using bridge cc2014 on my mac and when I go to open photos, it opens on PS6 even though I have PS CC.  How do I change the default?

    Change File Associations in Mac OS X

Maybe you are looking for