StackedBarChart stacked bar corrupted when add negative and positive value.

When StackedBarChart series have (positive & negative) data stacked bar corrupted and loss data.
I have a chart with data stacked on (-,+)Y-Axis.
- With JfreeChart all this go rigth and data appear perfectly on each bar without loss.
- But when using javafx StackedBar Chart , when bar series have (positive & negative) data stacked bar corrupted and loss data.
Stackoverflow link : http://stackoverflow.com/questions/15410153/javafx-stackedbar-chart-issue .

As stated in your StackOverflow post, you should file this as a bug on Jira.
But I'd also point out that stacked bar charts with negative values are not a good idea. In a stacked bar chart, the highest point of the stack should represent the total of the individual bars. You lose this property if there are negative values, and the chart becomes misleading. (I'd bet that the cause of the bug is that the code assumes this property at some point.)

Similar Messages

  • BEx Analyzer - Aggregation of Negative and Positive Values

    Hello Gurus,
    I have a key figure 0Subtotal1. This KF contains both negative and positive figures.
    For eg; +10, -20, -30.
    In Query Analyzer, I need the column total as 60 and not
    -40.
    Can I use a formula and use the ABS function...
    Any clue....
    thanks in advance.

    hi BW,
    u can make -ve sign as positive in the query.
    Go to query properties in the query designer, then click on display tab->there u will find in the number format block settings for the display of -ve numbers....u can change them to positive there...
    reward if it helps,
    ajay

  • Validation of JTextField to accept negative and positive values

    Hi,
    I have a question. I have a jTable populated with the fieldname
    in the first column and datatype in the second column.
    I would like to place a JTextField component in the frame
    depending on the data type. So, if a row is selected in the table, the
    datatype of that fieldname is retrieved and depending on that data type
    I want a JTextField to be displayed.
    Now, if the data type is of Integer type, I want the JTextfield to
    accepts Integers only(positive). I have created a class that extends JTextfield.
    But, I want the text field to accept negative integers also. Can anyone please guide me ?

    Hi,
    I wrote an extension of JTable that provides better rendering and editing support for:
    Color
    Font
    Locale
    Integer
    int
    Long
    long
    Short
    short
    Byte
    byte
    BigInteger
    Double
    double
    Float
    float
    BigDecimal
    and some more
    To allow only positive values for the type integer you could use:
    JXTable myTable = new JXTable(...);
    myTable.setDefaultEditor(Integer.class, new IntegerCellEditor(0, Integer.MAX_VALUE, <some locale>));The number editors are based on JFormattedTextField.
    http://softsmithy.sourceforge.net/lib/docs/api/org/softsmithy/lib/swing/JXTable.html
    http://softsmithy.sourceforge.net/lib/docs/api/org/softsmithy/lib/swing/IntegerCellEditor.html
    Homepage:
    http://www.softsmithy.org
    Download:
    http://sourceforge.net/project/showfiles.php?group_id=64833
    Source:
    http://sourceforge.net/cvs/?group_id=64833
    For more information about the number fields have a look at he following thread:
    http://forum.java.sun.com/thread.jspa?threadID=718662
    -Puce

  • Negative  values in red and Positive values in black CONDITIONAL FORMATTING

    Hi ... Everyone
    I have to show Negative values in red and Positive values in black in one of my report.
    i tried these conditions
    1. <?if:GAIN<0.00?><?attribute@inlines:color;'red'?><?end if?>
    but it shows negative values only in red ,positive values in black are missing
    2. <?if:GAIN<0.00?><?attribute@incontext:color;'red'?><?end if?><?if:GAIN>0.00?><?attribute@incontext:color;'black'?><?end if?>
    This gives the exact result what i wanted ...but the problem is i have five tables in my report ... so the above condition only allow changes in ONE TABLE ONLY. :(
    Plzzzz anyone who can help me to sort out my problem or else SUGGEST ANOTHER WORKING CONDITION
    Regards
    Subham Mittal

    Subham,
    This should not be difficult and moreover the BI Publisher Desktop installation comes with a set of examples:
    Start -> Programs -> BI Publisher Desktop -> Samples -> RTF Templates -> Advanced -> Conditional
    There you can find two templates with the exact same situation like yours, highlighting either the foreground color or background color.
    regards
    Jorge

  • Wat should be data type for  negative and decimal values (eg: -1.2222)

    What should be data type for  negative and decimal values (eg: -1.2222)

    Hi
    U can use the data type DEC while creating the DOMAIN and in the domain u  have sign check box at the left corner of the screen, click that check box , u can assign negative values for the field which refers this domain.
    REWARD IF HELPFULL
    Anees.

  • Problems with stacked bar chart in Java SDK and CRDesigner

    Hi @ll,
    I have an issue with the rendering of stacked bar charts through the Java SDK and the CRDesigner. unfortunately, my research in this forum and with the help of aunt google didn't lead to success.
    These are my problems:
    I have a  stacked bar chart which, when datasets/stacks increase in number per bar, displays errors:
    1.)  the single stacks of the bar merge together randomly and form bigger stacks with the sum of the singles. the information of  single stacks gets lost in the bar.
    2.)  the total sum of all singles is bigger than the maximum value on the y-axis displays. thus, the scaling is wrong.
    1.) appears in the CRDesigner as well as in the Java SDK
    2.) only occurs in the Java SDK
    Is there any trick to turn the random merging of slices off?
    Is the false scaling a known issue and is there a bugfix/workaround?
    many thanks for all advice
    Tom

    hi folks,
    i found the answer to the above problems:
    when you specify the recordfields that are responsible for the change to the next stack or bar, the 'stack' fields have to be unique.
    in my case i evaluated durations in msec (as stacks) from different devices (as bars). randomly i had the same durations for one device. what happens is, that CR does not notice a change and accumulates to the first stack with the same duration.
    surprisingly this also seems to derange the axis scaling. fix the problem by simply using an overall unique recordfield like rownum or a formula that forms the current timestamp to text as identifier for the stacking.
    cheers
    .t

  • Object Size and Position values not being retained

    Hi,
           I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
    The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
    The size of the picture object should be 1.574 x 0.79 inches.
    I have ensured that File -> Page Setup -> dimensions are in INCHES.
    I right click the logo and select 'Size and Position'.
    I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
    Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
    The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
    0.79 becomes 0.810
    and
    0 become -0.010.
    What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are  retained.
    Thanks.

    Ensure File | Options | Layout tab has the following UNMARKED!!!!
    Design View
      Guidelines
      Grid
    Preview
      Guidelines
      Grid
    Ensure that "Snap to Grid" is turned off.
    Make your grid size larger (.5 inches for example)
    What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on.

  • Why Illustrator change entered size and position values?

    Hy All!
    Illustrator 5.5 always change my entered size or position values.
    (For example: I type 10mm, hit enter, and 10 changed to 10,231mm.)
    I checked again and again, but I have no any enabled snap function.
    I have Illustrator CS6 too, what works fine (but much slower).
    Checked all my setting about 5 times, still didn't find the solution...
    Thank you for your tips!
    (MBP 17", C2D 2,5GHz, 4Gb RAM, Mac OS X 10.6.8.)

    The measurement you type in defines the frame of your shape. The new measurement you see includes the width of the stroke.
    Under your Illustrator preferences, if you uncheck "use preview bounds", it will leave your measurements as you typed them, but it will not include the width of any stroke that is aligned to center or outside of your box.

  • Horizontal bar with red for negative and green for positive?

    I need to use CF9 to create horizontal bar chart where the intensity of the red (negative) is determined by the amount of negativity of the values and similarly the intensity of the green is based on the amount of positivity of the values.
    See attached snapshot. Ignore the value label.
    Can CF10 do this. I briefly looked but does not appear so.
    Any advice? THANKS!!

    Yes, with the new charting engine it is possible to do this with rules.  Check out my example at http://www.cfuser.com/library/demos/index.cfm?do=charting&get=bcr.  You have to set the threshholds and the colors.  The colors are two part to allow for gradients. I have also just posted a write-up at http://www.cfuser.com/rules-preview-zoom-and-flash/

  • Patches become corrupted when i close and reopen a concert

    I can't figure out why after creating a concert and getting sounds all tweaked that when i close it out and open it back up all my patches get corrupted. ie: 'Classic Trance' now sounds like a rhodes. This has happened randomly multiple times. some when I close out and open back up normally other times when Mainstage quit on me. I always save before closing out a concert. Can anyone help me?

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    *http://kb.mozillazine.org/Session_Restore

  • Tried suggestion to no avail. Scroll bar disappears when pressing up and down since v32.0.0

    Tried suggestion to no avail.

    please continue in your original thread and don't open new questions for the same issue: https://support.mozilla.org/en-US/questions/1020966

  • Vram upgraded when updating mavericks and positively affects bootcamp

    I have a mid 2012 macbook pro with dual core i7 8gb of ram and originally 512 mb of vram. When I updated to mavericks my vram went from 512mb to 1gb on mac os but on my bootcamp partition it went to 1.5gb. Why did my mac os update affect windows?

    Hello Phil... I got nothing from the Apple Communities.   May have been very hard to diagnose via my description - or hard to resolve given many possible solutions.  
    The perpetually updating scroll-bar-of-death continued for about a week.
    I DID (finally) get resolution from the Genius Bar in my local Apple Store.   They deleted all prior "local" calendar back-ups and content - as I had my Calendar up on iCloud - which essentially "reset" the calendar function... and then reloaded the calendar, and then pulled in my calendar data from iCloud.  
    They twisted and tweaked a few more things that I was not able to follow (sorry I cannot offer more assistance on these other things).
    They also reloaded Mavericks.  
    Everything seems to be working well now.
    Apple Community... any more guidance for Phil - and others???
    Good luck, Phil.

  • Grid Y negative and positive chaged in CS5

    I know there is another thread with discussion on why different programs have the y axis inverted, which is fine.  The problem is that all previous versions of Illustrator have your zero point as it would be on a normal mathmatical grid.  Why now after 7 years of using Illustrator must I "rethink" how I am moving objects.  We create dielines and now if I am placing my measurement text and callouts on the top and bottom, we have to do the opposite of what we did for all of these years.  Not to mention artwork placement.  Why is there not an option?  This is pathetic on Adobe's part.  Someone please tell me there is an option to invert the now inverted Y axis.

    What Monika said.
    Here it is:
    To change the ruler origin in CS5 to be the same as in CS4 and earlier, you may:
    1)  Find and open the AIPrefs (Win speak) or Adobe Illustrator Prefs (Mac  speak) file; it is a hidden file in the hidden folder Adobe Illustrator  CS5 Settings
    2): Find and change the following two bits of code:
    /isRulerOriginTopLeft 1 >>> /isRulerOriginTopLeft 0 (change 1 to 0)
    /isRulerIn4thQuad 1 >>> /isRulerIn4thQuad 0 (change 1 to 0)
    Note: This is a global change.

  • Send email notification when the baseline and actual values are different in project

    Hi
    I am working with MS Project 2013 and Project Server 2013.
    I need to the send email notification to the program manager (or to a user) whenever the project manager changes the task finish date for a task. Comparison should happen with the baseline finish and the difference needs to be updated to the Program Manager
    over mail.
    How to configure/customize email notification for changes in MPP.
    Please suggest.
    Regards,
    Sudhir

    If you are not having developer skills it will be complicated for you.
    You need to create event handler by code, as in the below link:
    http://msdn.microsoft.com/en-us/library/office/gg615466%28v=office.14%29.aspx
    Then compare your values and finally send email by code.
    Twitter : @MShoubaki | http://jo.linkedin.com/in/mshoubaki

  • Stacked bars and negatives

    hello all,
    I'm having an issue with stacked bars.
    When a value in negative it actually treats it as a positive when drawing the graph!
    As an example:
    1
    2
    5
    -4
    Will bring the bar up to 12 instead of 4.
    Any ideas?
    Thanks,

    I usually put a 30sec black slug after the tone and bars. Any idea how to do that? I can insert a gap ok but can't seem to set it's end point to 30sec duration.
    Ooops - sorry Frank - I went to Mark's Rippletraining site and thought it was he who'd posted the link . Thanks for that pointer! Looks like an interesting resource.

Maybe you are looking for

  • Package body error

    Hi With the following line of code i am having problems with the following line of code ... sql := ( ' IF INSERTING THEN '||CHR(10)|| ' v_operation := ''INSERT''; '||CHR(10)|| ' ELSIF UPDATING THEN '||CHR(10)|| ' v_operation := ''UPDATE''; '||CHR(10)

  • Create new table on new tablespace

    new (downloaded - non-licensed) 8i install. create new database connect to new database (as both sys,system, and new user with just connect priv - as both normal and sysdba) create new tablespace create new table - schema is the new user, tablespace

  • Crash using Bridge

    Again problem with camera raw in Bridge. Many times, clicking on done after some modifications on RAW files, the system crash.

  • Mic recording volume too high

    Even with the lowest input volume setting in System Preferences / Sound, the mic recording volume is too high and I'm getting clipping. I'm using an MXL Desktop Recording Kit from Marshall Electronics, with a Griffin iMic USB interface, and recording

  • Displaying Word documents on web using IFS

    I am trying to display word documents stored in IFS on the web using the IFS Java API. The process we are currently using is outlined as follows : 1. Connect to IFS using the connect() method of LibraryService class. 2. Obtain references to IfsFileSy