Graph X-Axis Labels are appearing in middle for negative y-axis values

Hi,
In my Graph Output, the X-Axis Labels are appearing in the middle (where zero is appearing) if the Y-Axis values are negative.
It's a Line-Graph.
Can anyone let me know how to move the X-Axis Labels to down?
I'm using a custom Function module same as 'GFW_PRES_SHOW_MULT' wherein I'm modifying the line colors and appearance. I have to edit in this Function Module to make the X-Axis Labels appear correctly (below) even when there are negative values.
Please let me know which Parameter of the Class CL_CU_AXIS I've to use.
Here's the piece of code:
CALL METHOD graphic_proxy-ref->add_cu_bundle
            EXPORTING
              port   = if_graphic_proxy=>co_port_chart_y_prim_axis
              bundle = bundle_axis
            IMPORTING
              retval = local_retval.
Thanks & Regards,
Sowmya

Hi Sowmya,
Im Lakshmi working as an ABAP Developer. I have seen your profile in SCN. I saw  your postings about OLE charts.
I have a requirement to
1) Output data from an internal table into excel, and
2) Create a chart from the data in excel
So far I have been able to export the data using OLE calls, created a chart object,.
My question:
1. How to put Data Lables
2. How to put Data Table under the Chart
3. How to rename the series names.
Below is the recorded Macro. I don't know how to convert it to ABAP.
Sub Macro1()
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlColumnClustered
Application.CutCopyMode = False
ActiveChart.SetSourceData Source:=Range("B1:E4")
ActiveChart.SeriesCollection(1).Name = "=Sheet2!$A$2"
ActiveChart.SeriesCollection(2).Name = "=Sheet2!$A$3"
ActeChart.SeriesCollection(3).Name = "=Sheet2!$A$4"
ActiveChart.SetElement (msoElementDataLabelOutSideEnd)
ActiveChart.SetElement (msoElementDataTableWithLegendKeys)
End Sub
I have attached the current output and expected output.
I have searched about this in google but i could not find any solution for this.
Your help is greatly appreciated.
Thanks,
Lakshmi.

Similar Messages

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Tab labels are grayed out except for active tab. This was not always the case. How to fix this?

    I recently had the 29 upgrade forced on me. I did not like the new lay out. I was trying different things and I hit the restore defaults button. After I did this, any tabs that I had open that were not the active tab, the labels was grayed out. I want the labels to stay the same. How do I get this fixed?

    Why do I have to install an extension to get back to the style I want to use? This is ridiculous.

  • Does not display axis label in graph when exported to excel

    I have a wierd issue.I have a report with graph with coloum chart and axis labels description on x axis.WHen i export the report to PDF everything looks OK.But when i export it to excel few axis labels disapper.Out of 12 labels only 2 apper when exported to excel.Has anyone encountered this issue.
    If so is there a way to fix this.
    PS: I am using BO XI 3.1 Webi.
    Thank you,
    Sanjeev

    hi,
    I have tried this out with a sample.
    In WEBI preview mode and PDF, all axis labels will appear fine.
    But when exported to excel, some labels will disappear.
    Workaround: We have to increase the chart size in Excel till all axis labels appear clearly.
    Regards,
    Vamsee

  • Rename cursor axis label for a XY Graph

    Hello,
      I am using Labview 8.2 and would like to relabel the axis of the cursor legend for a XY graph. Presently the cursor lengend contains X (for the X axis) and Y for the (Y axis). I would like to be able to rename the labels of the X and Y axis of the cursor lengend to give the user a more accurate description of the axis labels.
    Regards,
    Kaspar
    Solved!
    Go to Solution.

    The changes that were made changed the names of the cursors, not the name of the X and Y axis. Think of it this way suppose that I have a X Y graph of Frequency (on the X axis) and Amplitude (on the Y axis). I create a cursor on the graph and move it around the waveform to examine the characterictics of the signal. When I move the cursor I would like the see the frequency and amplitude where the cursor is at on the signal. Right now the user has to remember (not to difficult) to figure out that the X axis is frequency and the Y axis is amplitude.
      So I would like to be able to rename the header of the cursor location from X to Frequency and Y to Amplitude.
    Regards,
    Kaspar

  • CR4E Chart Axis Label

    I have a report developed with Crystal Reports XI Standard that includes a chart. The axis labels for the chart have been set (via Edit Axis Label) and appear correctly in preview mode of the Crystal Reports XI designer (e.g. "District" instead of "Sum of StateReportsView.District").
    When this report is exported to a PDF file via a Java program (using Crystal Reports for Eclipse), the axis labels revert to their original values (e.g. appear as "Sum of StateReportsView.District").
    Can the axis labels be set before exporting the report via the JRC API?
    Or is there some way to save the axis labels to the report using the Crystal Reports XI designer?
    Thank you...

    Thanks so much for following up on this. To clarify, converting month numbers to names is nice, and I did that using the specified order suggestion, but it doesn't effect the order of say, May, when Jan thru Apr are missing, and in fact created other issues of data misintrepatation I didn't bother resolving at the time.
    I suppose the best solution would be something that supplies a placeholder for blank months, so that the Jan-Dec order remains constast and the data graph bars appear in appropriate months, Jan-Apr no bars, May-Dec with data generated bars.
    Does this help?

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • Axis Label Issue

    My application creats custom graphs using AS3 and a mySQL
    database. Almost all of the graphs render just fine, except I have
    one that is supposed to set its vertical axis min to 0% and its max
    at 75% with intervals every 25%, and yet its labels render as 0%,
    30%, 50%, and 80% instead of 0%, 25%, 50%, and 75%. The data and
    gridlines are correct, just the axis labels are wrong. If I set the
    min to anything other than 0, the labels are fine. This seems be a
    problem if the interval is set to anything other than 5 or 10 (like
    15 or 25). Can anyone tell me if this is a Flex bug or if this
    issue might be caused by something else? This occurs on a
    development server and the live server and there are a couple of
    other graphs that have this same issue.
    The graph in question can be seen at
    http://www.communityindicators.ewu.edu/graph.cfm?id=106.
    Thank you in advance for your help.

    Yeah, I solved this issue!
    I had to set the maximumLabelPrecision for the
    LinearAxis.

  • Display Column Chart Y Axis Labels in Kilo(K), Million(M)...

    Hi Folks,
    I would like to display the Y-axis labels of a column chart in Kilo, Millions etc. I used the below mentioned formula in excel for that set of data. Here is the formula [>=1000000]0,,"M";[>=1000]0,"K";0
    Though in embedded excel it displays the values as desired, when I assign them to the column chart in Xcelsius the Y axis labels are not as expected. For Kilo it works fine but when it comes to millions it is not displaying accordingly. Any help is appreciated.
    Thanks,
    Sukumar

    Hi Sukumar,
           If You want to display the Y Axis Labels like Kilo(k),Million(M),Billions(B)...etc.Do the following things ,
            goto column chart properties->behaviour->scale in that Enable the Fixed Label size checkbox.
    Regards,
    Ramana

  • Duplicate y-axis labels on charts for small data values -- is this a bug?

    Hi,
    I have several charts where the data values are small (1,2,3). The y-axis labels are duplicated for these charts. For example, if the data value was 2 the y-axis labels display as 0 1 1 1 2 2 2. I know that I can manually set the maximum y-axis value and also set the segments on the chart to eliminate the duplicate values. My issue is that I have over 100 charts in my dashboard and I have to manually set the values each month, and then in the next month when the data values are larger I have to remove the maximum y-axis value so the y-axis value is dynamically created. Is this a known bug within the software? Is there any fix for this besides what I'm already doing?
    Please let me know if anyone else has seen this issue and if this is a bug, or if this has been corrected in any fix packs.
    Thanks!!

    Hi Jim,
    I have data for three months in the data range A1 to B3 as given below -
    Jan - 1
    Feb - 2
    Mar - 3
    In Cell D1 write a formula =MAX(B1:B3)+1 (This will give you value 4)
    Go to Chart property -> Behavior -> Scale -> Manual (Y) Axis ->  Minimum 0 and Maximum will be pointing to cell D1.
    Go to Chart property -> Behavior -> Scale -> Division -> Size of Division 1 and Minor Divisions 1
    This will give you Y Axis values as 0,1,2,3,4
    Now change value of any month to 5.  Now value in D1 would become 6 and Y-Axis would change to 0,2,4,6.
    Hope this helps.
    Rashmi
    Edited by: RashmiG on Jan 8, 2010 4:45 PM

  • X axis labels in Charts

    Hello All,
    I am using column charts in my Xcelsius Dashboard (Xcelsius 2008 - SP5). The X-axis labels are too lengthy, it is displaying vertically. The requirement is to display the names horizontally and wrap the text. I cannot use label component as workaround as the names are populated dynamically. Any suggestions are appreciated.
    Thanks,
    Sowrabha

    Hi,
    This is common issue for all our developers, i will suggested you some workaround please try and let me know.
    1. If series values are less in horizontly then try to use bar chart and see whether it suits for you.
    2. Use the range slider to display only first 4 or 3 values, so that you can get the entire text without shrinked, later on they can slide to see all values.
    3. try to apply the below given logic, i haven't dont this. I thought it would be helpful for you.
    Handling long Y-Axis Labels in Bar charts in less space...
    Hope it helps!!!
    --SumanT

  • Chart Axis Labels Not Always Accepting Style Properties

    I have two charts as seen in the following screenshot and in one my style properties are taking effect, in the other the style font size is not taking effect for one of the axis.
    I have this CSS which I know does affect some areas of both charts:
    BarChart, ColumnChart, PieChart, LineChart, Series, ChartItem, PieSeriesItem, AxisRenderer, ChartLabel
        font-size: 16;
    I also have axis renderers defined:
    <mx:horizontalAxisRenderers>
        <mx:AxisRenderer axis="{lineHorizAxis}" fontSize="16"/>
    </mx:horizontalAxisRenderers>
    <mx:verticalAxisRenderers>
        <mx:AxisRenderer axis="{lineVertAxis}" fontSize="16"/>
    </mx:verticalAxisRenderers>
    The left chart where axis labels are styled properly has 10 data items coming in, and the right chart has 6 items coming in.
    I don't know why the axis font size is being ignored in one case, but more importantly, how can I prevent it from being ignored (even if it is due to longer strings, in case that may be related).

    Just wondering if anyone has any ideas on how I can get around this.
    I'm guessing I need to override AxisRenderer, but all its relevant methods are private.
    Should I create a label factory instead?

  • 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

  • On my drop down menus, the items listed are appearing twice.

    On my drop down menus, the items listed are appearing twice.  For instance, there are two "shut down" and two "restart."  How do I fix this?

    Hi Peter, and a warm welcome to the forums!
    See Tom Gewecke's post here...
    http://discussions.apple.com/thread.jspa?messageID=4395251&#4395251
    This problem has been reported serveral times. It seems to be a loss of access to the main system font. I've not heard of any cure except a reinstall.
    It appears to be time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Setting the title font and axis labels in a graph created with the Report Generation Toolkit

    I'm using the LabVIEW Report Generation Toolkit for Microsoft Office to generate Excel worksheets containing plots. Unfortunately, the default font size used in the plots is huge (see attached worksheet). I was able to use Excel Set Graph Font.vi to reduce the size of the axis labels, but there does not appear to be a function to do this to the title and legend. In addition, there does not appear to be a function to set the axis text labels. Before I write my own, has NI released additional functions to perform these tasks?
    Thanks for your help,
    Zach Lerner
    Software Engineer
    OnWafer Technologies, Inc.
    Attachments:
    Test1_-_embedded_graph's_title_and_legend_font_is_huge.xls ‏14 KB

    Hello Zeidan
    The graph title and legend font sizes can be changed by accessing a low level VI (Excel_Insert_Chart.vi) that is part of the excelsub.llb that is located at (C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\addons\_office). This VI is called dynamically from within the Excel Insert Graph.vi and it uses VI server technology to access the Excel exposed properties. Attached to this post is an image of the block diagram of this VI after I have modified it to set the font sizes of the title and legend to 15. The circles in the image represent what I had to add to accomplish this.
    Best Regards,
    Ayman Kabire
    Attachments:
    Excel_Insert_Chart.JPG ‏99 KB

Maybe you are looking for

  • How to create new logical function codes for Subinfotype

    Hi all I'm developing an WF that must be started when the user makes any change in a employee position. The problem is that this change can be made by many transactions, I know that it´s possible to do it by PA30/PA40, and today it´s made here using

  • How to use Topcount in an OLAP universe

    Hi, I want to create an object who gives me the best 10 Values back. I try to use topcount with the following code: <EXPRESSION> TOPCOUNT([Measures].[OINV INVOICE NET VALUE], 10,) </EXPRESSION> But i get no data back. The help in the universe designe

  • The URL does not auto complete nor does the favicon display

    When I type in a partial URL, such as apple, it used to be completed to the full URL and display the Apple favicon.  It now goes to the website, but the typed word, apple, remains without completing the URL.  The favicon remains as a blue dot. I have

  • Can't remove music and video from my iPhone

    When I try to remove music from my iphone by synching only checked items, most of the unchecked items stay on my iPhone I recently purchased some TV shows for my iPhone using WiiFi. Now I can't get them off my iPhone. I tried transferring purchases f

  • Delta load timed out problem

    HI FOLKS, i am loading data to a DSO but the load gets timed out.One datapacakge fails but there is no error reported. Plese help us.. Edited by: padugula srinivas on Sep 17, 2008 2:39 PM