JavaFX 2: How to style an series of multiple AreaCharts

Hello -
I want to display 3 AreaCharts on one scene, each chart containing 1 series. And I want to assign a different color to each of these series. Whats the best way to do it without a performance hit?
I know the standard way to change the series style from css for an areachart - But that will apply to all 1st series of all the 3 AreaCharts
I also know that I can use chart.lookup() and loop through the nodes and set style on each node. But my series keeps changing every 2 secs, with additional data attached. I would like to avoid looking up the nodes and changing their style each time. Isnt there a way to just onetime set the style for each of the series in each of the AreaCharts?
Thanks
Amit

Why not define three styles in css, each with different colors for their series, and apply one style to each AreaChart?
.topleft-areachart .default-color0.chart-series-area-fill { -fx-fill: white; }
.topleft-areachart .default-color1.chart-series-area-fill { -fx-fill: gray; }
.topleft-areachart .default-color2.chart-series-area-fill { -fx-fill: black; }
.center-areachart .default-color0.chart-series-area-fill { -fx-fill: yellow; }
.center-areachart .default-color1.chart-series-area-fill { -fx-fill: purple; }
.center-areachart .default-color2.chart-series-area-fill { -fx-fill: cyan; }
.topright-areachart .default-color0.chart-series-area-fill { -fx-fill: red; }
.topright-areachart .default-color1.chart-series-area-fill { -fx-fill: green; }
.topright-areachart .default-color2.chart-series-area-fill { -fx-fill: blue; }

Similar Messages

  • I found how to delete a series from my ipad, but it still won't download the last episode of the new series I am trying to have.  What have I done wrong?

    I found how to delete a series from my ipad, but it still won't download the last episode of the new series I am trying to have.  What have I done wrong?

    What is the GarageBand version that your friend is using?
    If it is GarageBand '11, version 6.0.5, you can buy GarageBand '11 as a boxed retail version with the iLIfe '11 bundle, e.g. from Amazon.
    Then you can upgrade GarageBand '11 to 6.0.5, using this upgrader from the Support page:
                     GarageBand 6.0.5
    GarageBand 6.0.5 will work well with your system.  But if your friend is using the newest GarageBand 10, this will not help. Then ask your friend to send you audio files for each track, so you can recreate the project from the audio.  Or your friend could also use GarageBand '11 for the projects you want to share, that will run well in all newer MacOS X versions, even with GarageBand 10.0 installed on the same system.
    -- Leonie

  • How to recognize s-series daq card in DAQmx Base 2.0

    I installed the "DAQmx BASE 2.0", and then installed 3 PCI DAQ boards.  It can recognize PCI-6024E and PCI-6713, but not PCI-6133.
    I followed exactly the same procedure as in the document called "How do I use NI-DAQmx Base with PCI/PXI Devices on Windows?"
    http://digital.ni.com/public.nsf/websearch/9C4E9FD0C7469BC286256F100074EADC?OpenDocument
    However, there is a web page (the link below) having labview example programs using DAQmx Base for "NI 6110 S Series Multifunction DAQ". So I think probably there is a way to recognize the S-series devices in DAQmx base.
    http://digital.ni.com/public.nsf/allkb/722DDAB4E914073D8625708100773677
    Does anybody know how to recognize S-series device in DAQmx Base 2.0?
    Thanks

    Alan,
    Thank you very much for the quick response.
    The reason I explored DAQmx: I want to do RLP and DAQmx Base has a simpler interface and more examples for RLP.
    The reason I want to go RLP instead of DAQmx is a long story.
    Summary of my applications:
    I need to read 4 input voltage (using PCI-6133) and then generate 12 voltages (using two PCI-6713 each has 8 outputs). Since the 12 generated voltages are related to the 4 input voltages, single sample /N channel AD/DA is required. The speed for the overall control loop has to be >100 kHz.
    Summary of my configurations:
    PIII, 700 MHz CPU, 512 MB RAM
    PCI-6133 and PCI 6713, LabVIEW 7.0, and DAQmx 8.0
    I also have PCI-6110 and PCI-6024E cards for comparison
    Summary for 4 channel single point acquisition (See the table below, AD only)
    1) The difference between P3/700MHz computer and P4/3GHz computer is very small
    2) The S-series performed worse than E- and M- Series
         Spec (kS/s)   Tested by me(700MHz P3)   by NI engineer (3GHz P4)
    6024E   200/4            15.7 kHz                    17.36 kHz
    6040E   250/4                                        18.9 kHz
    6251   1000/4                                        23.0 kHz
    6133   2500/1            13.8 kHz
    Summary for single channel single point acquisition (See the table below, AD only)
    1) The S-series performed much worse than E- and M- Series (simultaneous sampling is worse?)
         Spec (kS/s)    Tested by me (700MHz P3)
    6024E    200/1           54.8 kHz
    6110    5000/1           19.4 kHz
    6133    2500/1           14.5 kHz
    Simulated device          135 kHz
    Summary for single channel single point AO (See the table below, DA only)
    The spec of 6024E is only 10kS/s, but the loop can run at 132 kHz (the output from the port was not correct for sure). Using a simulated device (either 6024E or 6713), the loop rate is ~ 134 kHz (probably due to my low speed computer). This means the latency from 6024E devices is virtually zero. However, the latency from 6713 is way too much.
          Spec (kS/s)   tested by me (700MHz P3)
    6024E    10/1             132 kHz
    6713   1000/1              38 kHz
    Simulated device          134 kHz
    From all the above tests, it seems that s-series device (6133) and AO device (6713) perform much poorly in single point mode compared to E-series device (6024E).  I thought the difference might be due to the driver in DAQmx.  So, I want to try RLP to see whether I can gain up control loop speed to 100 kHz for my applications.
    Your suggestions and advices are appreciated.
    Thanks
    Jin-Xing

  • How to upload podcast series artwork?

    I'm building my website with iWeb, hosting on my .mac account. I have a podcast on that site, which was approved by the iTunes store today. With that setup, how do I submit series artwork to the iTunes store? Thanks very much in advance!!

    There's an intriguing possible answer in another forum... here's the thread:
    http://discussions.apple.com/thread.jspa?threadID=1480877&tstart=0
    Basically, the person responding ("Certified" is the screen name) has made a tool that apparently posts your cover art to the iTunes store. I'm about to try it and see if it works. If so, then I'll post the news here.

  • How to validate the Series Expresion in Demantra Business Modelor

    Hi,
    Is there any one having idea about how to fix the series expression in Demantra Business Modeler. Below is the
    expression "if( sum ( req_plan_ovr_percent ) >100 ,1,0)" that is invalid and i want to fix it.
    It will be helpfull if you provide some pointer on this.

    Hi,
    I presume that the series expression you are trying to define is a Client Expression.
    I checked the expression and it's valid but with another series other than "req_plan_ovr_percent", so you may check the series settings and that it exists in the "Client Expression Editor's" Series list.
    Thank you.

  • How  do u maintain series group?

    how  do u maintain series group?

    Maintain Series Groups
    Use
    In this IMG activity, you define the different excise series groups within your company. Series groups allow you to maintain multiple number ranges for the outgoing excise documents.
    Based on excise regulations and exemptions from the authorities you can maintain multiple number series for outgoing documents. But each of these series has to be declared to the excise authorities.
    Activities
    • Define excise series groups based on type of outgoing document
    • Assign series group to excise registration ID
    • If no financial postings are required for an Excise invoice in this seris group then you tick the 'No utilization' indicator.
    • If the CENVAT has to be paid immediately and you need not wait for the Fort nightly payment then mark the 'Immediate Utilization' indicator.
    Example
    You could define two series groups, group 001 for excise invoices, and group 002 for 57 F4 documents.
    No account postings for CENVAT in sales cycle
    No utilization Flag
    If you do not need any CENVAT utilization for an excise invoice but would like to just generate an excise invoice then you need to mark this indicator.
    IF the flag is checked then system will create an Excise invoice in the given Series group but there will not be any account postings or Part2 postings.
    Immediate Utilization of CENVAT
    Specifies that when you create an excise invoice, the system immediately pays the amount from CENVAT and creates the Part II entry. Such invoices will not be listed for fortnightly utilization.
    If you have both fortnightly and immediate utilization for the same excise group, the account determination within CIN IMG should point to the ED interim account.
    Account determination for immediate payment will be done exactly the same as being done for fortnightly utilization program.
    Regards,
    Rajesh Banka

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • In ADF how can i insert data in multiple table if they have foreign key

    I have started working on ADF and can anybody inform me in ADF how can i insert data in multiple table if they have foreign key,please?
    Thnak you very much.

    Hello,
    Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
    1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
    2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
    3> i made that association composite by clicking the checkbox
    4> i created 2 VO from 2 EO.
    5> put those VO in Application Module.
    6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
    Now what to do please?

  • How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    Try this general troubleshooting procedure:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder: User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks and Yosemite,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

  • How to FaceTime and iMessage on multiple apple devices with one iTunes account

    We recently received iPad 2's for Christmas and was looking for some advice on how to FaceTime and iMessage on multiple apple devices with One iTunes Account (Apple Id).  I have created or attached other e-mail addresses to our apple id but do not know how to use them on the new devices.  Our home MacBook Pro uses our main apple id for FaceTime.  The iPads have been setup with the main apple id w/o being able to use FaceTime and iMessage.
    Please Help...
    I appreciate the help and support.

    P and V-
    If you are trying to connect to someone with a different Apple ID, I think all the devices should work, but one at a time.
    The problem is when you try to connect between two with the same Apple ID.  Once the calling device tries to make the connection, it finds the second device to be "busy".  That is where each needs to use a different E-Mail address when setting it up.
    On iOS devices, when you press the Home button to exit an App, the App may still be active in the background, even when the device is sleeping.  If FaceTime or iMessage is merely being active that way, it may be enough to "tie up" the E-Mail address.
    From the Home screen, double click your Home button.  You will see a list of recent Apps along the bottom of the screen.  Press and hold on one of them until they start to wiggle.  You will then see a red minus sign on each.  Pressing the minus sign will remove an App from the list, and stop it from working in the background.  (Click the Home button to stop the wiggling, and again to hide the recent Apps.)
    Fred

  • How do I share iTunes with multiple users on Mac mini?

    How do I share iTunes with multiple users on Mac mini?

    You have to turn on Sharing and then Authenticate Sharing on the other devices. You can have up to 5.

  • How to set up  Planning on Multiple Servers

    Hi,
    1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
    2) May be unrelated question:
    HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
    Here are the "few lines" from install.pdf:
    Perform the same installation and configuration process on your secondary servers, making sure to choose
    Planning Web Server component for any secondary server.
    Make sure you select Reuse existing tables when prompted during the Configure a Database task
    in the Configuration utility.

    Tomcat.
    But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning.

  • How to create one TO for multiple TRs

    Dear All,
    how to create one TO for multiple TRs, kindly suggest me
    Regards,
    balu

    As for your question: it is discussed in sAP online help:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f841f24afa11d182b90000e829fbfe/frameset.htm
    Sorry I misunderstood your question.
    The above mentioned solution won't create one single TO from multiple TR.
    Edited by: Csaba Szommer on Aug 11, 2010 9:46 AM

  • How can I get rid of multiple pictures at the same time?

    how can I get rid of multiple pictures at the same time?

    Adobe Bridge, lightroom and your file browser (windows explorer or Mac Finder) can select multiple pictures at once and then delete. If you are looking for more than that for information, you will need to be more specific at what your doing, what OS you have, and version of software your using. If necessary post screen shots so we can see what your doing. The more information we have the more detailed of an explaination can can give back to you.

Maybe you are looking for

  • Enahncements for free goods

    Hi Experts We have a requirement of having free goods based on a spend level say 50 pounds get A,B or C free of the same value from a campaign. We have carried out an enhancement using Z-Table. Is there any other (better) way of handling this require

  • What is required userexit or badi or enhacement for material number ??

    HI Sir, Issue, In MM01  TCODE when we are entering the material number   it should be the  12digit  otherwise it has to give the error message. so plz help what is the exact exit and the code . thanks and regards syed

  • Lead time Report

    Hi, Would like to have a report on Lead time between PO Date & GR date. Ideally the report should show the PO Number, Date,Material, Mat. Doc Number & GR Date. Though ME80FN shows by clicking the PO history, But our user would like to have in a singl

  • How to create index on xmltype column

    I have a table having only one column xmlcontent (xmltype). This table stores xml data of about 10GB size. I'm using extract value to move the data to staging tables. How can I create index on xmltype column? Create index indexname on table (column)

  • Slow xorg startup

    hello. i'll be quick. i've just installed xorg and it works fine....but  i've noticed that the startup ($ startx) is very slow if i run xorg when my internet connection is up. i've got also some warning message concerning the ipv6 protocol....so i've