Set decimal tick label for number axis

Hi everyone,
In my chart, the number axis tick label is always like float number. I need an decimal number tick label. Because I use auto-range on this axis, i think this
NumberAxis(double lowerBound, double upperBound, double tickUnit) is not good for me.
Also, I have try setTickLabelFormatter on FX example, but for me, it seems like useful for set prefix and suffix. Can someone give me solution for this problem
Edited by: pirent420 on 19:08 17-09-2012: add tag

It doesn't work properly.
You can look the link here:
Before I use yours: before
After I use yours: After
It convert all number object to integer. So if my chart has 4 tick label like: 1.0, 1.25, 1.5 and 1.75, it conver to 1, 1, 1 and 1. It not what I looking for. If axis has 3 value: 1,2 and 3, I just want it present only 3 tick labels, not expand more tick label like 1.25, 1.5, 1.75 ....

Similar Messages

  • Decimal points appearing for number in flat file upload

    Hello
    I am trying to upload a .csv file to a datasource. It is a number but when I see it in preview I am getting a decimal number with 3 points.
    Can you tell me what I am doing wrong?
    Thank you
    Ravi

    Hello Durgesh
    Thank you for the reply.
    I am new to BI. I am just trying to upload a flatfile to Datasouce.
    I have created InfoObject with NUMC 4. The thing I am not able to get is, when we are uploading a file from source system to datasouce, I am at an understanding that there is no link between the field type we are using for the infoObject and the .csv file data in the data source. Please correct me if I am wrong.
    So even before creating the transformation, by just loading and looking at the preview of data in datasouce itself, I am seeing decimals for number. I even tried to make the data file in notepad and save as .csv inorder to avoid any cimplications with excel.
    Please advice.
    Thanks
    Ravi

  • Document set change field label for "Name"

    Hi,
    is it possible to change the field names without changing the NewDocSet.aspx form?
    I'm want to change the field "Name" to something else.
    Thanks,
    Peter

    This is a very common question, and generally addressed by core ECM/Governance, where the users will view the name of Content Type and accept that the Name is the name of the content.
    In undertaking split testing for multiple clients, I found that an overwhelming number of users easily accepted and preferred that the field was left as Name since the Content Type provided the context (Ex. if the Content Type is named Matter,
    implicitly you would not need to repeat by having a field named Matter Name since the user knew that they were providing the name of the Matter).
    This is a similiar situation as "Title" for a document. If I upload a document and select the appropriate Content Type such as "Summons", I know that I am providing the title of a summons document.
    The challenge is not so much technical, but one of core ECM principles for context. I would flush out your Content Types so that they provide the description (ex. Matter, Summon, Pleading, Memo, etc.) and then the "Name" or "Title" fields do not become
    a barrier since the user knows that when they select "Matter" as their Content Type, they are entering the "Name" for that "Matter File".
    Personal Blog: http://thebitsthatbyte.com

  • How to set a report culture for number and date

    Hi,
    Is there a way to change the report locale for the number and date?
    I've tried using both CrystalDecisions.Share.SharedUtils.RequestLCID and CrystalReportViewer.SetProductLocale and neither work
    The only one that work is to use the Thread.Culture. But that also change the application culture, not just the report.
    Anyone have a solution?
    Thank

    Hi Michel,
    I don't believe you can do this within just the report itself but I haven't played with this very much. Because the App hosts the Viewer it's based on it's culture.
    You should be able to mix if you create a separate thread for each report job that way they are in their own space.
    Search the Object browser on celocale and you'll find more info. Also the SDK help file should have examples.
    No API's to use the Engine, had to use RAS.
    Need to know what version you are using also and WEB or Windows app?
    Here are some samples using RAS:
    rpt1.ReportClientDocument.LocaleID = CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleGerman;
    CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameFormula, CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
    And using this way you may have to alter every object in the report.
    Thanks
    Don

  • Set decimal in my floating number

    hi, I need little help. here i have value of have long number after decimal. Now, I want to control in 3 digit after decimal. How could i do
    Ex:
    Problem = 9.982540214587
    Want = 9.982
    Thanks

    var num = 9.982540214587;
    trace( num.toFixed(3) );
    walllah....
    thelegendaryghost

  • Charts: Sets whether last label of an axis is visible

    In my chart the last label is not showed, is this a bug i have to do something to became visible?
    Tanks

    In my chart the last label is not showed, is this a bug i have to do something to became visible?
    Tanks

  • Different labels for a textview based on component usage

    Hi,
    We are on SAP E-Recruiting EHP5 and we have a requirement wherein the label of a textview in a view needs to be dynamicaly controlled. The candidates personal data page (view VW_PERSONALDATA of component HRRCF_C_PERSONL_DATA_UI) gets displayed both:
    1) When the candidate is signing up on the portal to create his profile
    2) On the application page while the candidate is applying against a particular position
    Now case 1 is a straightforward one. I set the label to a OTR and it just works fine. Case 2 is where the problem occurs. When the candidate applies against a particular position the standard SAP roadmap comes up with the view VW_PERSONALDATA of component HRRCF_C_PERSONL_DATA_UI as its 1st step. So now how can I set a different label for the textview in this particular case coz the navigation happens dynamically through prepare_dynamic_navigation( ). Appreciate your inputs on this one.
    Regards,
    Uday
    Edited by: Uday Mr on Feb 29, 2012 3:36 PM

    Hi Uday,
    Please try to create it dynamically.
    Example:
    METHOD wddomodifyview.
    *-Data declaration
      DATA: root        TYPE REF TO cl_wd_uielement_container,
            page_header TYPE REF TO cl_wd_page_header.
    *-Get reference to Root UI Element Container
      root ?= view->get_element('ROOTUIELEMENTCONTAINER').
    *-Creating page header
      page_header = cl_wd_page_header=>new_page_header( title = 'Page Header' ).
      cl_wd_flow_data=>new_flow_data( element = page_header ).
    *-Add new page header to ROOT Element Container
      root->add_child( page_header ).
    ENDMETHOD.

  • OBIEE 11G: Can I set limit on number of ticks only on horizontal axis and zoom in if I want to?

    Hello
    Is there a way I can restrict the total number of ticks on horizontal axis only? Say I want to set it to show only 24 ticks on horizontal axis. I am putting date and hour on the horizontal axis, if I take 3 dates of data, I will have 3X24 = 72 ticks on the chart, but I want the chart to show only 24 ticks. So it's pretty much ticks for 3 hours on the horizontal chart in this case.
    Can this be done?
    Second, if the first can be done, then can I then zoom in to any ticks on the horizontal axis, and it would show be the break down of this ticks, which is made up with 3 hour's performance separately?
    Thanks

    The zooming feature was ok, but what if I want to zoom in on just a specific area between the ticks when only 1 click?
    Any thoughts?

  • How to Axis labels for Line charts in Business Graphics

    Hi
    I am planning to do the Business Graphic example using Line chart.As part of this
    i didn't clearly understand what is the perpose of Series,Points,categorys?
    if i want to set the Labels at X-axis and y axis ,then how to do that?Baiscally i want to put time related data as X-axis label(20min,30min,60 min etc).Please help.
    is there any good example to understand the concept?
    Thanks
    Prasad

    Hi Bachier
    Thanks for your repsonce.I had seen the example you suggested.but there is no answer for my question.How to set the x-Axis,Y-axis Labels.I had done example for "line chart".But i have same problem:
    Hi
    I am trying to do example on "line chart" using Business graphics in my webdynpro application.
    In the Context i created Node "A" under which i created "B".then it has  value attributes xValue,yValue.Then in View i created BG UI element >Series>point-->NumericValue(for xValue) ,NumericaValue(yValue).Now in view init() method i had initialized values to x and y. some output is coming.but i want to know how to set the X-Axis Label,y-Axis Labels.in X-Aix Label i want to mention time in hrs i.e 8.00,8.30AM,9.00AM,9.30AM etc.as part of y-axis labels i want to mention numeric values( .2,.4,.8,2.0 etc). Please tell me how to set this X-Axis,y-Axis labels.at every 30min(8.00Am,8.30AM etc) user enter quality data(i.e .2 etc) then i want to generate chart.Please help in this regard.i will give very good points
    Thanks
    Prasad

  • How to add "Done" button on Number pad? And how to set 00.00 format for UITextField?

    1.) I am new to iPhone development. I have a small application & for that I need to add number pad but there is no "Done" button. I know we can get rid of that keyboard by clinking UIView but I want a separate button for this.
    2.) My second question is how to set 00.00 format for UITextField as there is no decimal point available on number pad?

    As to #1, you should study the iOS HIG - doing what you have in mind might be a good way to risk rejection and not have your app make it into the store.
    #2:
    On devices running iOS v4.1 and greater  you can use the following:
    myTextField.keyboardType = UIKeyboardTypeDecimalPad;
    It is tricky (and perhaps not worth the trouble) if you are trying to support older iOS versions.  Here is a link to the most popular solution.

  • HT201328 I have been given permission for unlocking my iphone 3 GS from Orange. I want to set up the phone for my wife to use with a new number and carrier. Do I unlock under my itunes account first or set one up for her and then unlock the phone.

    I have been given permission for unlocking my iphone 3 GS from Orange. I want to set up the phone for my wife to use with a new number and carrier. Do I unlock under my itunes account first ( I now have a new iphone on this account) or set one up for her and then unlock the phone. I am worried about upsetting the new phone.

    I would complete unlocking as is and then
    restore as new once you know the iPhone is unlocked
    Be aware Orange will process the request at their speed
    one of the reasons they usually reside at bottom of User Sat surveys
    will likely take weeks
    This may also help
    http://support.apple.com/kb/HT5014

  • How do I set up a new phone number for messaging and facetime on my iPad?

    My iPad has it's own phone number through Verizon.  Before I knew this, I had already set up messages to use my iPhone number.  Now I can't figure out how to set up the iPad phone number for messages and facetime on the iPad.

    Are you trying to message another Apple device?
    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
    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/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    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/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • How to get the number of decimal places configured for a site column

    Hi,
    I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
    The column conatins a value, but when retrieved programatically is displayed as 5.00000000  instead of 5.00.
    I am retrieving this column using listitem.Properties[field.InternalName].
    I need to trim the decimals based on  number of decimal places configured for the site column.
    How to get the number of decimal places configured for a site column?
    Thanks in advance,
    dhijit

    Get the field as SPFieldNumber and then check DisplayFormat which returns
    SPNumberFormatTypes
    SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
    SPNumberFormatTypes numFormatType = numberField.DisplayFormat;

  • Reminders are not appearing in Mail - and its the only way to set labels for flags.

    Every place I look for information about how to set the labels for flags in Mountain Lion Mail shows that they're editable once you click "show" next to "REMINDERS" in the sidebar. However, my sidebar has no "REMINDERS" heading, and there seems to be no preference or option anywhere related to this. I upgraded from Snow Leopard today; I had reminders showing (as "To Do's"). I really really want to change the labels on the flags because they're useless otherwise.
    Am I the only one with this problem?

    Flags and reminders are no longer coupled in Mountain Lion.  So I'll try to explain how to see your flagged messages.
    You can see a sidebar in Mail that looks like this.  Yours may not display the "Flagged" row yet.  I'll explain that in a minute,  If you don't see this sidebar, make it visible by clicking that arrow on top that would say "Show" if the sidebar were invisible (it says "Hide" here):
    You can flag a message by clicking the "Flag Selected Message" in your favorites bar, which should appear just above the screenshot.  Once you have at least one flagged message, the "Flagged" row shown above will appear.
    I hope this helps.

  • Break for Horizontal Axis Labels in OBIEE 11g Bar Chart

    Hi all,
    I have a vertical bar chart created in OBIEE 11g. The horizontal axis (x-axis) is a compound of Scenario, Year, and Month. The chart width is already long enough so it cannot be made any longer.
    The chart looks like this (the label of horizontal axis is staggered):
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    Actual Feb 2012____________Actual Apr 2012
    ___________Actual Mar 2012_____________Actual May 2012
    How can I force the labels for the horizontal axis to be broken into 2 lines (or even 3 lines), so that it will look like this:
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___Actual________Actual________Actual________Actual
    __Feb 2012_____Mar 2012_____Apr 2012______May 2012
    Any advice? Thanks a lot!

    Hi Stewart,
    I could not try this yet, but how about 'Enabling the Contains HTML Markup' for the columns for Heading and including a '</br>' tag at the end of the name.
    Ex: Column - >Properties -> column Format -> Column Heading -> Enable Contains HTML Markup -> Column Heading's suffix =less than symbol /br greater than symbol (Oracle forums is even break the line too!! ;) So included the text)
    Hope this helps.
    Thank you,
    Dhar
    Edited by: Dhar on 15-May-2012 20:11
    Edited by: Dhar on 15-May-2012 20:12

Maybe you are looking for

  • Multiple Users, Multiple iPods sync problem

    At home my iMac is set up with multiple accounts for my family members, 2 have iPod Nano's and I've an iPhone. Each of us has our own iTunes library. Now, a lot of the time I will stay logged in and just return to the log in window. Same goes with th

  • Index Name Exceeds Maximum Allowed

    I'm using the IKM Oracle Incremental Update and it creates a unique index on my interface table. The problem is that the interface table is i$_<Table Name>. The index is then created as i$_<Table Name>_idx.  The table I am working with is already 25

  • ITunes & Windows Live Messenger (MSN) - Now Playing Feature.

    Hey Guys! I'm a lover of iTunes over Windows Media Player and made the switch approximately a year and a half ago when I bought my iPod. At first I was upset I would lose the "Now Playing" feature of my Messenger and said the pros were far more benef

  • Parse rss issue

    I've been trying to parse this rss feed http://www.economicnews.ca/cepnews/wire/rss/custom?u=camagazine&p=39d7g7d9 Here is the code I'm using: <!--- Retrieve the RSS document ---> <cfhttp url=" http://www.economicnews.ca/cepnews/wire/rss/custom?u=cam

  • SELECT FROM WHERE fileName = args[0]

    I'm trying to select with the args[0] parameter. 1. Here's the problem code: ResultSet tt = statement.executeQuery("SELECT * FROM tblSite WHERE tblSite.chrFileName = '" & args[0] & "'"); 2. If I try the following, it works: ResultSet tt = statement.e