Two problems : areaChart along with Line and double y-axis in LineChart

Hi Friends,
This forum is very useful as we are getting lots of help from people who are trying out this new technology and giving/using help to/from others.I am developing a real time application in JavaFx in which I need to implement Charts using dynamic data coming from a server.
Now I am facing two types of problem which may be interrelated in some way.
Problem 1 :
I need to combine an areachart along with a line Chart.There is nothing in JavaFx like area-line Chart so should i go with all area charts and make the fill-color of area series transparent(is it possible to have transparent fill in area-chart ? by css ?) OR i should stack two charts one area and one line on top of one another making the background of either transparent(once again is it possible to have transparent background for a chart so that background chart/series is visible ?) OR any other suggestion ? Anyways I tried stacking using stackPane and it turned out to be ugly combination of misaligned charts :-(
Problem 2 :
I need to put two y-axis(i.e secondary axis) on the same chart but i am unable to find such feature with my best efforts.I know I can set the side of Axis using setSide method of Axis class but how can i put it both side simultaneously.Also is there a way to put different scales on these axis ? I mean is it possible to have two different series with drastic difference in bounds(data range) to be put on same chart by attaching them to different Y-axis on the same chart ?

I don't think there is anything in the JavaFX library which matches exactly what you need.
You might be able to use some tips from the 3d pie chart I created at: https://gist.github.com/1485144. This demonstrates stacking multiple charts on top of each other, whilst removing rendundant details so it doesn't end up a jumbled mess and looking up items by their css tags and modifying them.
There is now excellent documentation on chart css at http://docs.oracle.com/javafx/2.0/charts/css-styles.htm#CIHGIAGE. If this doesn't get you all of the css hooks you need to dig out the details required from the chart, then you can unpack jfxrt.jar and search for caspian.css or you can recursively print the nodes in the chart which will tell you the type and style of each node. Armed with this information you could should then be able to stack the two charts you created on top of each other, align them correctly and strip away the info you don't need. To get the second y axis to the other side of the chart you could look it up by css in code, then do a translateX on it to so that it is translated by a bind to the width of the x axis. Seems doable, if a little fiddly.
You might be tempted to directly create an Axis yourself by creating an instance of http://docs.oracle.com/javafx/2.0/api/javafx/scene/chart/NumberAxis.html and laying it over your chart, but I was unable to get that to work (http://javafx-jira.kenai.com/browse/RT-18270) - even if you did so, you would have to manually set up the ranges and ticks as the chart library wouldn't handle that for you. Another way to create a Axis like thing is by creating a http://docs.oracle.com/javafx/2.0/api/javafx/scene/control/Slider.html, disabling user input on it and removing it's thumb via css.
My efforts at answering chart questions in the past sometimes ended up as "That's not what I need": Re: How to create PieChart like this?
Questions about charts are hard to answer without a link to an exact image of what the required chart is expected to look like.

Similar Messages

  • I have two problems. One with LTE and another with iCloud terms and conditions.

    I haven't had some of the bigger problems with the 6 as some. But I am having two issues that are getting annoying. One is a pop up every 5-10 minutes that says I cannot use icloud without accepting terms and conditions. However it won't let me accept any. The other is lte is not working on my phone, but is fine with my husbands. Any ideas? Thanks!

    klawson88 wrote:
    I have 3 classes fully defined: GameWindow(extends JFrame...parameter: FileLoader f) NumberOfPlayersDialog (extends JDialog and implements ActionListener...parameter: GameWindow g), PlayerRollDialog(extends JDialog and implements ActionListener...parameters: GameWindow g and NumberOfPlayersDialog n).Word of advice: avoid having your GUI classes implement Listener interfaces as this makes for the creation of [low cohesion classes,|http://en.wikipedia.org/wiki/Cohesion_%28computer_science%29] and this is a "Bad Thing".
    PlayerRollDialog has one button that has an action listener. The user rolls dice for several player objects by pressing the button and the result (which player object has the highest roll) is displayed on the screen. At that point, the button text changes to "Start Game!". What I WANT to do is have a subsequent click on the button close the dialog (to reveal the gameWin underneath). Is it possible to do this? Wouldn't this require two actionPerformed for one event? No, you could do this with a single ActionListener. You will change the button's text and possibly its actionCommand String. Simply query the button for its text and perform the appropriate action based on this.
    How can I implement a second actionPerformed for the same event?Again, you don't need to do this.
    My second problem is that I want to be able to close the entire program if the user exits out of either dialog without performing an action (clicking on the X button). I try specifying EXIT_ON_CLOSE as their default close operations, but it can't compile. It gives me:Yeah, you can't do that. You can give the classes that hold the dialog a state, say exitOK, and initialize it to false. If the proper buttons were pressed you would change exitOK to true. Then after the dialogs have closed you could then use a public getter, isExitOK(), to check this state and then have your GUI behave accordingly. These dialogs are model, correct?

  • Opening Balance to be displayed along with line items

    Dear Experts,
    Is there any way to display Opening Balance for a particular GL along with LIne Items. FS10N only provides Period wise opening balance and line items. If I have to select the line items for a GL in the middle of the period and see the opening balance, how is it possible. In FBL3N i am able to see only line items and no opening balance.
    Any suggestions.......................
    Raj.

    Hello,
    FS10N you will see the balance and then double click on that to see line item. Again at line items you will not see the opening balance. There is no such facility.
    If you want period wise balances, then go with
    S_ALR_87012172 report.
    Regards,
    Ravi

  • Hard currency is not valuated in FAGL_FC_VAL along with local and group currency

    Hi All,
    I have the below system settings for FOREX revaluation. The revaluation is not happening for Hard currency along with local and group currency. The test data and other settings seams to be fine as the below mentioned workaround works perfectly for hard currency revaluation.
    I would like to take your expert feedback on this issue to confirm whether this is how SAP works or its an issue with FAGL_FC_VAL program.
    System Settings:
    Currencies in company code
    local currency      group currency      hard currency
    10                             30                         40
    USD                          USD                    UYU
    FOREX settings:
    Work around found:
    Define two Valuation area, say
    1. Valuation Area: A1 which will have currency type 10 and 30.
    2. Valuation Area: A2 which will have only the currency type 40.
    3. Run FAGL_FC_VAL twice for these area.
    Issue with this work around:
    1. The valuation area is assigned to one accounting principle (which is in turn assigned to a specific ledger).
    2. Thus, if I have different accounting FOREX process to be followed in different ledgers (say IFRS ledger, Local Ledger, Tax ledger) then I need to create 2 valuation area (as per above workaround) for each ledgers and run FAGL_FC_VAL for each of these valuation areas.
    Thanks & Regards
    Nikhil Kothari

    Hi Experts,
    Any views on the above issue?
    Thanks & Regards
    Nikhil Kothari

  • Can we add button in query region  along with go and clear

    Hi Friends,
    i have a requirement as below steps-
    1)i have developed search pgae by using query regiion
    2) in pgae,first we have search items,go and clear(submit buttons), table region.
    3)here go and clear buttons came automatically.
    4) i can able to add button in front of the page and end of the page.
    4) my requirement is i need to add one more button along with go and clear(here go and clear button are in between search items and table region) .
    5)i am not able to add button along with go and clear.
    Can any one know how to do this--
    Thanks in Advance
    vamshi

    Hi Vamshi,
    You can not create extra buttons in Standard Query region.
    Alternatively you can create your custom region for the search and there you can add a button. If you don't need advanced region, you can create the custom region in place of standard one.
    Anoop

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • LR 4 RC2 ...vexing problem, 3 sessions with support and still not able to find? With all settings re

    LR 4 RC2 ...vexing problem, 3 sessions with support and still not able to find? With all settings reset and running a test catalog a raw image when opened in develop will when imediately going back to library view show a significant color shift in red, orange and purple but only in images with significant content in those colors. at first the culprit appeared to be camera calibration default but not reproducable. The problem exists even when opening older images from months ago?  Also if second screen running in loupe mode the image is not shifted.
    Any ideas please
    Dave

    Jim01403, Geoff and others...I'm new here so I'll need a little time The thread is very interesting, populated by serious mature people, how refreshing! It clearly is part of what i'm experiencing and is answered answered here...thank you. My main problem is still the significant color shift between develope and library modules. I'll attach one from each so you and others can see. Unfortunately the library version is the bad one so printing is now very problematic...Note, this occurs in either single or with second monitor on the library version is displayed. I have reset virtually everything and wonder if a cache is not updating or color space is not matching? A symptom/detail worth noting, when switching to library mode, the correct image is displayed for about a second then it jumps to what you see in the examples. As if the library module starts to rendering from develope settings then jumps tback to the original inedited preview??
    Maybe just go back to 3.6 and tread water till 4.1 is fixed?
    Dave

  • I've been having trouble with in getting iMessage to send messages. I decided to connect to my VPN (along with wifi) and it worked. Why won't it work via my wifi connection alone?

    I've been having trouble with in getting iMessage to send messages. I decided to connect to my VPN (along with wifi) and it worked. Why won't it work via my wifi connection alone?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How to email purchase order along with body and subject line

    hi experts,
           i have to email the purchase order along with the body and subject line. I am able to send the purchase order as a pdf attachment, but i have still not got a solution how to add body and subject line to this mail.
    plz help me out.

    Hi Santosh,
    if you investigate a little bit the PO output, you can find following information in SRM output customizing:
    POs are edited by methode PROCESS_BBP_PO_MAI from class CL_PD_PO_PROCESSING_BBP.
    Subject, body and attachments are handled here.
    So create your own class and method, and assign them in this customizing point (SRM Server --> Cross-Application Basic Settings --> Set Output Actions and Output Format --> Define Actions for Purchase Order Output).
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Problems with convertNumber and Double values

    I've serious troubles using convertNumber with Double data in input fields.
    While output formatting works fine, the outputted string fails to be converted back - I get conversion errors.
    So the value that is written to the input field generates a conversion error being submitted! This is not good practice!
    I've found out the following: (I use german locale, so following examples containing ',' means decimal point)
    <f:convertNumber pattern="##0.00" />generates the right output, eg. for Double(20.50) - "20,50", but this value ("20,50") will not be parsed using the above pattern! Only values with non zero last minimum fractional digit (eg "20,51", "20,59", ... ) will be parsed!
    In addition, the above pattern doesn't parse numberstrings that don't contain all significant digits.
    For example an input of "20" will not be parsed to "20.00"!
    Maybe this is not the right forum for that problem, since i think this is a general java formatting problem (?).
    But as the problem arised by using the convertNumber tag and acting like this on numeric input fields is not very comfortable, I liked to post this here. Maybe someone can give me some advice?

    I also have found this problem, except that in my experience it is the decimal part that must be non-zero, not just the last digit of the decimal part. So with a pattern of "0.00" the string "1.50" (one and a half) will be accepted whereas the string "1.00" will not.
    My guess (just a guess) is that it is related to the documented behaviour of the DecimalFormat object when it parses a number. According to the documentation:
    The most economical subclass that can represent the number given by the string is chosen. Most integer values are returned as Long objects, no matter how they are written: "17" and "17.000" both parse to Long(17). Values that cannot fit into a Long are returned as Doubles. This includes values with a fractional part, infinite values, NaN, and the value -0.0. DecimalFormat does not decide whether to return a Double or a Long based on the presence of a decimal separator in the source string. Doing so would prevent integers that overflow the mantissa of a double, such as "10,000,000,000,000,000.00", from being parsed accurately. Currently, the only classes that parse returns are Long and Double, but callers should not rely on this. Callers may use the Number methods doubleValue, longValue, etc., to obtain the type they want.
    Which means that "1.50" will be returned as a Double while "1.00" will be returned as a Long. Perhaps there is then a class-cast exception whie trying to use this value?
    If this is indeed the problem, the solution is to use the getDouble() method of the parsed Number to create the Double to be returned, but this is for the implementer to do - not the user!

  • 3 and 4 finger swipes no longer working along with pinch and rotate gesture

    Hi, thanks in advance for your help.
    I have the new aluminum unibody macbook pro. It has had absolutely no problems until now the 3 and 4 finger swipe gestures no longer work on the trackpad, as well as pinching to resize photos in Preview or the two finger rotate gesture.
    I have tried unchecking all of the trackpad gestures that were not working then restarting and rechecking them, as well as unchecking all of them, restarting, and rechecking all.
    The only gestures working right now are the two finger scroll and two finger double click tap.
    These problems are in all of my applications, including Safari, Preview, and Finder as well as Firefox and Chrome. They just don't work anymore, system-wide.
    Any guidance on what to do would be most appreciated. I really miss using the gestures to go backward and forward on webpages.

    Hi demondragon6,
    have a look at http://reviews.cnet.com/8301-13727_7-10423187-263.html for a useful "trackpad issue how-to".
    Several people with this problem appear to have resolved your particular issue by removing the .GlobalPreferences.USER-UUID.plist file - see the link for instructions.
    It is certainly worth trying a PRAM and SMC reset, as Roger suggests, first though.
    Cheers
    Rod

  • How can I merge two iTunes folder, one with music and the other without?

    Two years ago Apple support suggested moving my iTunes folder out of my Home folder to the HD level in order to share it across users. This is no longer necessary. How do I move my music back to my Home folder since now I have an Itunes folder at the HD level (along with application, library, system, users folders) and an Itunes folder under Music in my Home folder. For example both those itunes folders have a mobile application, album artwork, and previous itunes library subfolder as well as itunes library extras.itdb and itunes library genius.itdb. How do I merge them or which ones do I delete? The files in the mobile app folder in my Home folder have a newer "last modified" date. Currenty under Itunes-->Preferences-->Advanced, it says Itunes media location is /itunes/itunes media/ music. I assumes that is the HD level folder. What happens if I hit reset?
    I am using Itunes 10.6.3.
    Any help tailored to a novice would be great. Thanks.

    Thanks for the links, Limnos.
    If you are willing to continue helping, here's what I found.
    Just to clarify the two iTunes folders I am refering to are:
    username-->Music-->iTunes
    HD-->iTunes
    I am presuming each location has a full set of files as outlined in the above links?
    Not all the files are in both locations. Most are.
    - The Itunes folder in my home folder does not have itunes library.xml.
    - The Itunes folder in my home folder has a subfolder called Mobile Applications (username-->Music-->iTunes--> Mobile application). The Itunes folder at the HD level also has a Mobile Application folder but it is a subfolder of Itunes Media folder (HD-->iTunes--> iTunes Media-->Mobile applications) and has no files in it.
    - I do not have an iTunes Media in the iTunes folder in my home folder.
    - also the Itunes media folder (HD-->iTunes--> iTunes Media) has subfolders by type (books, movies, itunes u, music etc...) but the iTunes Media-->Music also has some of the same subfolders ( iTunes Media-->Music-->books, iTunes Media-->Music-->Movies, iTunes Media-->Music-->iTunes U). Is this normal repetition?
    You say:
    /itunes/itunes media/ music
    but it is important to note what comes before all that.
    There is nothing as far as I can tell before that first forward slash. Since the only iTunes Media folder I have is in the iTunes folder that resides at the HD level (HD-->iTunes--> iTunes Media folder) not the iTunes folder in my home folder (username-->Music-->iTunes) , I assume that's the one that holds the music.
    Keep iTunes media folder organized and Copy files to iTunes Media folder when adding to library are both checked on
    Does that give more clarity into my problem?

  • Two problems: hiding key-switch notes and messages to effect-plugins

    Hello,
    first please apologize my bad (school-) English, which I haven‘t much practiced sind I left school more than 30 yeras ago.
    I have got two problems, and I should be grateful, if somebody could give me a hint.
    1. I am using sample libraries, which I load in a sampler (Kontakt 2 of Native Instruments) in the instrument slot of Logic. These libraries work with key switches to choose between various articulations of an instrument. Unfortunately these key switching notes appear in the outprints (although the note, good so, does not sound – and isn‘t intended to sound).
    Do you know a possibility to set a key switch and let the note hide in the outprint?
    (I have also sent a fearture request to apple: creating an additional note line to an instrument, reserved for key switching commands.)
    2. I am using Guitar Rig 2 as an effect-plugin in Logic. Guitar Rig is (regarding my puspose) organised in banks which contain various presets (settings of amplifiers, boxes, micros, effects and so on).
    Is there in Logic a possibilities to send to effect-plugins commands which choose firstly a bank and secondly a preset in a bank of an effect-plugin in effect-slot?
    Thank you for your answer in advance.
    Yours sincerely Norbert
    iMac Intel, 2GHz   Mac OS X (10.4.8)  

    One method:
    Let's say you have a flute sound from Kontakt 2...
    1. Create a duplicate track for the Kontakt flute instrument in the Arrange window, just below the original track
    2. Open your flute region in score or matrix, select the keyswitch notes and CUT them. Then exit the editor
    3. Click on the duplicate track in the Arrange window and then use "paste at original position", (not regular CMD-V paste). Now your keyswitch notes are placed on the duplicate track in the exact location they were originally recorded at.
    (Note: if this doesn't seem to paste anything (sometimes it happens), hit Undo. Then use the pencil tool to draw a blank region on your duplicate track. With that new region selected, use "paste at original position again" and it will work.)
    4. With the new region selected, choose Options > Extended Parameters... a floating window will appear. Look for "Score:" at the bottom of the window. Click to the right of "Score:" so that it now says "Score: Off" for that region. This function works per region. Your keyswitches will still play but they won't be shown in the score. You can even hide this track if you want.
    5. Repeat this process for all of your tracks with keyswitch notes in them.

  • Problems in Dreamweaver with cut-and-paste

    Hi there.
    I wondered if someone could help with a small problem within
    Dreamweaver CS4. If I have two different CSS style sheets open, and
    I highlight a certain section of one CSS stylesheet to take the
    rule to another CSS stylesheet, for some unknown reason as soon as
    I do "copy" the whole of the stylesheet is highlighted, the only
    way I can stop this from happening is to double-click on the "code"
    button at the top left-hand side of the Dreamweaver window. Is
    there any other way to stop this from happening. I am running
    Dreamweaver CS4 on the windows Vista platform.
    Thank you for reading this post and for any help you may be
    able to give.
    Regards, John.

    Hoorah!
    At last - someone else with the same problem!
    I have been leaving messages on here for ages to try to get some response from Adobe. Someone kindly suggested getting rid of the preferences folder, but that didn't solve the problem.
    I think its something wrong with Dreamweaver CS4. I have reverted back to CS3 until they come up with an upgrade!
    Out of interest does this happen straight away or after a period of time? I found if you quit Dreamweaver and restart it usually its ok for a while.
    Do you also have the same problem editing the code? I find I can't put the cursor anywhere WITHIN a chunk of PHP. The cursor highlights the whole lot. I have to click all over the place until it eventually works as normal - or I have to quit Dreamweaver and start again.
    Are you using a Mac too?
    Regards
    Colin

  • How to reconcile 2 lightroom catalogs in separate locations along with images and metadata?

    I split my time between two locations where I need access to all of my images and lightroom catalog...  I've been trying to keep everything in sync by transporting new images on hard drives, exporting new updates to a "migration" catalog and then importing that along with the images when I travel back to the other location.  This works as long a I don't get lazy, or in a hurry...  which I have, of course and now I need to get everything back in order--as best as can be expected.
    What would be the best way to do this?  I need to migrate changes in both directions...  If it was just location A to B, or B to A, then that's not much of a problem.  unfortunately, i need to reconcile changes from A to B and B to A... 
    I learned my lesson, but I still need to resolve this mess.
    Any tips appreciated.
    Thanks.
    kb

    Try using the keyer and see if you can pull the blown sky. You should be able to get something acceptable,

Maybe you are looking for

  • Changing the default meeting time in Outlook 2010 to 50 minutes

    Is there a way to change the default time for a meeting to 50 minutes.  I can go to Calendar, View, View Settings, Other Settings, and change to 15, 30 or 60 minutes.  What about 50?  Any ideas or suggestion?  Thanks

  • How do i transfer album art to new computer?

    I am in the process of adding a larger hard drive to my Mac Pro and did not want to do a complete transfer of the entire OS with all files to new hard drive. I am installing the OS and then installing each program and there are a few things I would l

  • Arch Live CD x64 hanging during boot at "triggering uevents"

    Hello! I recently was recommended Arch by a friend, and after I followed the 'Newbies Guide' and burning a live CD to install Arch with, it appears to hang during Live CD boot at "installing uevents." I am trying to install Arch as a dual boot on a l

  • Automatic payment run F110

    Dear SAP GURU, When i Run F110 with selection all parameter , that time sys given the error , -Payment proposal could not be carried out In detail description Overlap with payment run 15.01.2009 OTV01 Message no. FZ358 Diagnosis Accounts to be proces

  • How to saves electricity on the computer using Windows 8.1

    Hello guys! I have a problem with save on electricity. The advance in the cost of living was not followed by higher wages, included electric. I never have enough money to pay my bills every month. I'm always in the red. I'm using Windows 8.1. I use i