Chart options: Y axis scale

Hi,
I created a bar chart for a report that simly displays the count for each distinct value of a field.  I would want the Y scale (which displays the count) to only present integer values (its a count, so it's obvious there can't be any non-integer values).  Currently it's set to auto select the range and the number of divisions, for which the range it's ok but the divisions don't always come out as all integers.  From what I can see, the only way to do this would be to set the min to 0, max to the max count on the report (which is normaly what the auto range does), and the number of divisions as the max count minus one.  I don't really see any other way.  Apparently there's no way to do this dynamically (like in a formula), and I don't think I can use static range values.  Is there any way to do this?  I just want to confirm what I know and see if there is any other way to do it.
Also, this is probably not the forum to post this, but just in case, is there any way to do this programatically in code without needing extra libraries or extra tools?
Thanks,
Diego

First of all, by static and dynamic data, do you mean the options for the chart?
Also, I don't want to display the max count on the chart.  I would just like to use it on the options for the chart's Y axis as the max value, although I don't think I need to, since the auto scale already does that.  I think the only thing I should need is set the number of divisions to display on the Y axis.  For example, if the chart has two bars, one for lets say color red, and one for color yellow, and lets say on the data there were 4 red and 6 yellow.  So the chart will have two vertical bars, one for red going from 0 up to 4, and one for yellow, going from 0 up to 6.  The chart will automatically make the range on the Y scale go from 0 up to 6, but it might make the divisions at say 1.5, 3, and 4.5.  But I would like it to not use decimal values for those divisions, instead only divide the axis on integer values, like on 1, 2, 3, 4, 5.  To do that, from the options the chart gives me, I can do it by setting a specific number of divisions on the axis (in this case it would be 5 divisions).  I just want to know if there is any way I can set that in a formula or something, of if it just has to be the same value for every report (without having to change it directly on the Crystal Reports editor, because the reports get generated automatically with different sets of data).
Thanks,
Diego

Similar Messages

  • How to display a fixed min and open max Y axis scale on obiee 11g

    Hi,
    I am stuck with an issue.
    Obiee by default is plotting my bar chart with Y axis scale from -50 to 850 with and interval of 100.
    In the graph non of the value is negative of below zero. The graph too plots all the points above 0, even then it starts the Y scale from -50, not sure why?
    I wanted to know whether we can by anyway limit the y axis scale with lower limit to 0 and still keep the upper limit open or undefined.
    Please let me know if any of you have come across such scenarios?
    Thanks

    > I want to plot log(log(y)) vs x. On the y-axis of the graph I need to
    > display 'y', NOT log(y) or log(log(y)). How do I adjust the scale to
    > allow for this?
    >
    > {I do realize that I can plot log(y) vs x and display 'y' by using the
    > Logarithmic scale option.}
    Not being that familiar with the typical labeling on log(log) plots, you
    may be able to do this using two scales. Make a graph that contains two
    scales. One will be plotted against, the other will be just for labeling.
    You can now transform your diagram data, which will change how the mapped
    scale is labeled, but the other scale can show whatever you like in linear
    or log form.
    In otherwords, on the diagram, perform log10 on your data, then display on
    a log scale that is hidden. Make another scale vi
    sible with linear or log
    data. Or perform log10(log10) on your data, display on a hidden linear
    scale.
    I'm not sure how well this will work. If it is insufficient, you can submit
    a feature request on the web site.
    Greg McKaskle

  • Apex Chart - Y Axis Scale customization

    Hi all,
    For a chart in Apex, is it possible to have the Y-Axis scale customized? (Let's say to present all values form 2 and 2 units for instance).
    Thank you,
    Ana-Maria

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Combo chart- left right y-axis scale are not the same scale

    http://img20.imageshack.us/img20/6264/questionk.png
    the left and right axis scale are not the same.
    how to set it?
    Thank you very much!

    Hi,
    Try this
    In Chart, Goto Advanced properties -> check Synchronize Line and Bar Axis
    This will make both scale values same.
    Thanks,
    Vino

  • Change minor chart axis scale markers to multiples of six

    I have a chart whose y-axis goes from 0 to 36.  For some reason, when I choose uniform marker spacing, I get markers at 0, 5, 10 , 15 , 20, 25, 30, 35 and 36.  This is, by the way, NOT uniform marker spacing.  Uniform spacing would be equal increments between spaces.  What I want is multiples of six:  0, 6, 12, 18, 24 and 36.  I have been through all the menus associated with this chart and there appears to be no way to make this simple change.
    Am I really forced to do this programmatically, even though it will never change?
    Solved!
    Go to Solution.

    Hi Wildcatherder,
    You should be able to set any axis markers you want by double-clicking on the marker and editing the number. Whatever value you specify in this manner will set the spacing on your chart. In your case, I would try changing the "5" marker to "6."   You can also choose "Arbitrary" marker spacing and assign whatever markers you want, uniform or otherwise.
    I've actually run into the same problem before, and the answer isn't readily apparent - thanks for asking here, hopefully someone else with this problem will be able to search for the solution more easily.
    Tom L.

  • X-Axis Scales and Dates Issue

    Hello, really hoping that someone can help me.
    I have a crystal reports report with a chart. The chart uses dates as the x-axis and numeric values on the y-axis.
    All I want to do is change the x-axis sacle to be 14 day intervals.
    Seems simple enough. I go into group(x) axis options, click the scales tab and try to chage the values (after unticking auto scale). Crystal will not let me change it to be 14 days, and it ignores the remove autoscale. It just constantly sets it back to autoscale everytime.
    I tried the exact same thing but with numbers on the x-axis, and it worked fine, no problem at all with setting the scale to whatever I wanted. But when the x-axis is dates, it doesn't work.
    I have been on for 3 whole weeks trying to find a solution to this.
    If anybody can help me I would be very grateful
    Thank you

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • How to change the Y-axis scale for 100% stacked column to percentage ?

    Hi,
    I add a 100% stacked column chart to a report in Crystal Report for Enterprise. As default, the Y-axis scale shows value from 0 to 1 and the data labels display absoluted data value. Now I want the Y-axis scale to show value from 0% to 100% and the data labels to display percentage value.
    Please tell me which option of the chart to adjust ?
    Thanks
    Mau Vu Huu
    The default is like screenshot below:
    I want it to display as screenshot below:
    thanks
    Mau Vu Huu

    Looks like a bug in CR for Enterprise.
    The same chart shows a scale from 0% to 100% in the CR 2011 designer whereas CR for Enterprise seems to show a number range from 0 to 1.
    Here's a workaround:
    1) Insert a Crosstab. 'Column' should be the field you wish to show on the 'X-axis'. 'Row' should be the field that you wish to stack up on the bars. Summary should be the measure field
    2) Next, right-click one of the summary cells on the Crosstab > Select Format Total > Total > Check 'Show as Percentage of' > Grand Total > Row
    3) Right-click the Crosstab > Select Create Chart from Crosstab Data
    4) Suppress the section that holds the Crosstab
    5) Right-click the chart > Edit Chart Type > Choose 'Stacked Column'
    6) Highlight one of the numbers of the Y-axis > Select Format Total (Y) axis > Format > Currency > Choose 'Fixed' under 'Symbol Format' > Replace '$' under Symbol to '%' > Change Symbol Position to '-123$'.
    -Abhilash

  • Y Axis scale issue

    Hi there,
    I've a dynamically driven (through XML) column chart. everything works just fine except the Y axis scale. depending on the data it changes the divisions and some times it looks very odd.
    I tried with Auto (Y) axis option then tried giving manual values by determining the MIN and MAX values through XL formulas, but no luck.
    Also tried setting the number of divisions to say 6 - unfortunately, it doesn't seem be listening to any of these settings.
    Is there any other better way to control this?
    please advice
    Malik

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How do you extend a chart's x-axis range?

    Hello,
    Is it possible to extend a chart's x-axis range to ten seconds, rather than the default five seconds?
    I've attached a simplified portion of my code, which contains a DAQ Assistant connected to a chart. I've played around with the chart history length, sampling frequency, and sample numbers; however the chart's x-axis range remains a constant five seconds. I feel this is a relatively fundamental concept, but it eludes me.
    Settings currently set to:
    Sampling Frequency: 2k Hz
    Samples Read: 200
    Acquisition Mode: Continuous sampling
    Chart Update Mode: Strip
    Chart History Length: 1024
    Solved!
    Go to Solution.
    Attachments:
    sampling test.vi ‏73 KB

    Thank you. I feel foolish as this was trivial:
    For those who don't know:
    Right-click the chart
    Select X-Scale->Properties
    Under the Scales tab, enter your time range in the minimum and maximum boxes.

  • AnyChart DateTime axis scale

    I'm trying to display the x-axis for a chart with a "fixed" scale of months within a given period, using a Line Series chart.
    My query is like
    select null link,
    to_char(sample_date, 'DD/MM/YYYY') label,
    water_temp value
    from my_table
    I've followed the documentation here: http://www.anychart.com/products/anychart/docs/users-guide/DateTime-Axes.html
    Sadly the markup in this guide vs the source displayed is different..ie, when you go to open the first bar chart there, the xml that is showed on the pop-up doesn't match the code in the main section, and it's missing the min/max values.
    I've set up the <locale> tag as follows:
    <locale>
               <date_time_format>
                 <format><![CDATA[%MM/%dd/%yyyy]]></format>
               </date_time_format>
          </locale>I've modified the x-axis <scale> tag
    <x_axis>
                <scale type="DateTime"  major_interval_unit="Month" minimum="01/01/1999" maximum="06/01/2012"/>
    </x_axis>But I can't seem to get the chart to pick up the min's and max. From what I can get from the docs, I should be able to set the scale up on the x-axis somewhat independently from the actual data points themselves.
    Is this supported and has anyone done this successfully?
    Thanks in advance.
    Edited by: jholoman on May 18, 2011 10:56 AM

    Hi Folks
    I'd like to ask if anyone has managed to get an AnyChart gauge working with date & time based axes and data values.
    My development colleagues have scoured the documentation and tried several times to get this to work without any success.
    The AnyChart documentation suggest that date & time based axes and data values can be used with certain chart types but is then vague about their use with the Gauge chart type.
    Any tips on how to make this work would be very welcome - and if it's simply not possible, we'd like to stop chasing this particular rainbow ;-)
    Many thanks
    Andy
    Edited by: Andy Smith on Jun 14, 2011 5:14 PM

  • How to put percentage sign on the Y-axis scale

    Hi all,
    I want to draw a column chart to show the percentage share. And I want my Y-axis scale has '%' ended, like "10%, 20%, 30%..up to 100%". In my test, it seems that only numerical text can be shown on the Y-axis scale.
    Are there any ways to implement what I want?
    Thanks & regards,
    Dicky

    I just saw that this message is posted in the SAP NetWeaver Visual Composer area. VC does not use IGS charts. If you would use IGS charts my answer would be:
    Hi Dicky,
    in the Chart Designer go to the Value Axis Line properties and set the Format to "00 %". This should show what you are expecting.
    Best regards
    Matthias
    Message was edited by:
            Matthias Gemmel

  • Force Y-Axis scale to be whole numbers

    Does anyone know how to force the y-axis scale of a bar chart to be use whole numbers when you are doing automatic ranging?  I am using a bar chart to show counts by categories.  I know you can do this if the range is static, but I don't know for sure what the maximum counts are going to be, so I need automatic ranging.  When we have values of say 10 or more for each category, the chart looks reasonable, but if we only have a values of 2 or 3 for the categories, the chart y-axis might have a scale of .4, .8, 1.2, 1.6 etc.  This looks goofy when we are graphing counts, which can only be whole numbers.  Can I force automatic ranging to use integers?  I am using Crystal 2008.
    Thanks for any help you can give me.

    If all else fails, this is a feature in our CRChart add-on library for Crystal Reports.
    Macro @SCALE_INTERVAL would do exactly what you want. It's a new feature in the soon-to-be-released version 3.6 however, so you'll need to contact us directly to get an advance copy of the 30day free demo of 3.6  (3.52 is version on our website).
    -Dan
    DISCLAIMER: I work for the company, threedgraphics.com, that makes this product. This product costs money.

  • Modify chart options at run time?

    Post Author: davestewart
    CA Forum: .NET
    I am trying to create a bar chart that shows a custom grid line, or a reference line across the chart. I can set this manually in chart options using the 'Draw custom line at:' setting in the grids tab of the data axis in chart options. There must be a way to set this programatically at run time as this value will change based on the dataset passed to teh report each time. How could I accomplish this report?
    If there is some other way to show a horizontal reference line on my bar chart, and have it match up with the scaling, that would be fine too. Any method of getting this on there would be great.
    Thanks for any help you may be able to lend!

    Hi ,
    this will work..ut after you enter the p1 , you atleast have to hit enter key to get the value automatically in p2.
    this is because you have to have atleast one screen refresh.
    handle the eventy at selection screen output....
    this is called just before the screen is dispalyed.
    may be something like this.
    p_matnr  material
    p_maktx  description of material
    But the value will not appear as soon as you enter the p1 , you have to..
    1)enter p1
    2)press enter
    3)now p2 will appear automatically since at selection screen output would have processed in between.
    AT SELECTION-SCREEN OUTPUT.
      IF NOT p_matnr IS INITIAL.
        SELECT SINGLE
        maktx FROM makt INTO p_maktx WHERE matnr = p_matnr AND spras = 'EN'.
      ENDIF.
    please reward if useful.
    Edited by: santosh sarda on Mar 8, 2008 11:51 AM

  • How to use the chart option in bex analyzer

    Hi Expert
    i want to know how to use the Chart in Bex Analyzer.
    Next week i hve End user Training. my user wanthow to use the chart option in Analyzer.
    plz let me know how to use chart & any Document on that plz reply me.
    Reagards
    siva
    Edited by: patel siva on Sep 16, 2008 4:34 PM

    Check here:
    https://reporting.uky.edu/BWBExContextMenu.pdf
    http://help.sap.com/saphelp_nw70/helpdata/EN/8b/4ffd9b07474279b3bbee75a60db41f/content.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
    Thanks..
    Shambhu

  • How to get chart option in Test tab with TFS 2013 update 4?

    Hello, 
    I have installed Visual studio ultimate - TFS 2013 update4, but I do not see "chart" option in Test plan.
    What are the steps to enable this feature in TFS web client?

    Hi Malvip,  
    Thanks for your post.
    Please ensure you’re using TFS 2013 Update 4, open your TFS Admin Console to confirm that.
    If you can ensure you’re using TFS 2013 Update 4, but still cannot see the Chart in Test plan, please create a new team project using your default TFS 2013 Update 4 process template, the check the Chart in this new team project Web Access.
    https://msdn.microsoft.com/en-us/library/dn282443.aspx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do I keep my new finder window preference set to open a certain folder on the server?

    Since switching to Lion, my new finder window preference keeps resetting itself to default. When I open a new finder window I want it to be a certain folder on our server. This setting was persistent in Snow Leopard. Now I have to keep setting it bac

  • MBPr or iMac 21.5?

    Trying to figure out which base model - the macbook pro retina or imac - is faster. I know that the iMac has quad-core processing, but I also know the mbpr has apparently much-needed flash storage. In what ways do the macbook pro and imac differ? Doe

  • SAPDB in status STOPPED INCORRECTLY due to file system failure

    Hi community, we have a problem with our SAPDB server. The file system on which the whole database is installed disappeared form the list of filesystem mounted because of hardware problems,  the database instances crashed. Now the problem should be t

  • Sticks at startup screen

    I can turn the computer on and get the apple logo and then I get the spinning circle but it doesn't boot. How do i get it to recognise the operating system?

  • Weird metadata problem in the "copyright" XMP field

    Hey, This is a really weird problem and I can't figure it out why it happens... Along the years I create some metadata presets where the copyright field changes as the year changes. For instance: © 2008 Ricardo Amaral, All Rights Reserved © 2009 Rica