How to just show the integer value of "MarkerText" in my chart?

I put the tag of "MarkerText " in my BAR_HORIZ_CLUST. Then I can successfully get the values on my bar. But the point of decimal is not good. I just want to show the integer of the number(In fact, all of our value are integer. For example, I have a value "7". But it shows me "7.000" ). I searched a url to do it: http://blogs.oracle.com/xmlpublisher/2007/05/15#a293. But it is only available for pie. With regard to my BAR_HORIZ_CLUST, I cann't find any way to do it.
This is my sample file:
Chart Definition:
chart:
<Graph graphType="BAR_HORIZ_CLUST">
<MarkerText visible="true" markerTextPlace="MTP_CENTER"/>
<Title text="Requests Closed" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'AGENTNAME'))}" rowCount="1">
<RowLabels>
<Label>amout of closed requests</Label>
</RowLabels>
<ColLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="AGENTNAME">
<xsl:sort select="current-group()/AGENTNAME"/>
<Label><xsl:value-of select="current-group()/AGENTNAME"/></Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="AGENTNAME">
<xsl:sort select="current-group()/AGENTNAME"/>
<Cell><xsl:value-of select="current-group()/AMOUNT"/></Cell>
</xsl:for-each-group>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
I modified the tag of "MarkerText" as below but still not available :(
<MarkerText visible="true" markerTextPlace="MTP_CENTER">
<X1ViewFormat>
<ViewFormat decimalDigit="0" decimalDigitUsed="true" decimalSeparatorUsed="true" />
</X1ViewFormat>
</MarkerText>

First, make sure you are targeting the correct axis -- Y1 vs X1, etc.
Second, if you include all attributes in <ViewFormat> it should work.
Example:
<MarkerText visible="true" markerTextPlace="MTP_CENTER">
<Y1ViewFormat>
<ViewFormat decimalSeparator="." decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true"/>
</Y1ViewFormat>
</MarkerText>

Similar Messages

  • How can I show the current value of a substitution variable in FR?

    Hello,
    I want to paste the current month in a text box using a substitution variable in my report. How can I use the Curmth sub-var in a text box? Which function would I use to paste the substitution variable. Thank you.
    -- Adi
    Edit:
    The Sub-Var is not used anywhere in the report but it is in the database that the report accesses.
    Edited by: Aditya26 on Apr 12, 2012 8:42 AM

    I think you can only reference items on the actual report.
    It might be easier to pull the subvar into the report (on a hidden column/row) and then you can reference the cell.
    Cheers, Iain

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • I have Windows Professional and I used to be able to move the curser over the Firefox icon in the taskbar and it would give me a telescoped view of all open tabs, now it just shows the tab that I'm currently viewing. How do I fix this?

    I have Windows 7 Professional and I used to be able to move the curser over the Firefox Icon in the taskbar and it would show me a telescoped view of all open tabs, now it just shows the tab that I'm currently viewing. How do I fix this?

    Hey MikeDo,
    Do you have the option checked for ''Show Tab Previews in the Windows Taskbar''? If not, just go to ''tools->options->tabs.'' You can find more information on what each of these settings do in the Knowledge Base article [[Options window - Tabs panel]].
    Hopefully this helps!

  • My 1st generation Ipod touch just showes the apple on the screen.  I cannot remove it or do anything else.  How do I fix this?

    My first generation ipod touch just showes the apple on the screen.  It seems frozen.  Can someone tell me how to fix this?

    Try a hard reset and go from there.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G + 120G OCZ Vertex 3 SSD Boot HD 

  • How to show the Characteristics Values of Batch appear upon Search?

    Dear all
    We are implementing SAP for Wood Industry.
    Facts:
    1. There are 3 batches created for the raw material.
    2. Each batch has the characteristics of Thickness, Width, Length with characteristics value  24mm, 140mm, 1530mm
    3. 1 Production Order has been create to produce raw material (RM) to semifinised goods (SM).
    Quetions:
    During GI to Produciton Order using MVT 261, when we try to select batches from the Item Detail level, the pop up search windows only show us the existing 3 Batch Numbers available for the RM, it does not show the characteristics value "thickness, Width, length" that describe each batch.
    And this has caused serious problem to use during their selection of batch as batch number will only make more sense to them if it is shown together with the characteristics value.
    Apart of opening additional screen to show the batch information of each batch, is there any config I need to do to solve this situation?
    Mark will be given handsomely.
    Thanks.

    Hi,
    it is possible to use another search help (Tab Strip: Search for batches via classes, when you press F4 in the batch field).
    Here you have to enter the class number first.
    Then you get a list of all characteristics in this class, and you can narrow your selection, by setting values for specific characteristics.
    After that, press F8 (Find in initial class)
    You will get a list of batches, assigned to the selected class, and fullfilling your selection criteria.
    Now you can display either the characteristics of a single batch, or you can define a layout for the ALV-Table control, with all characteristics, which you want to see in the overview.
    Another possibility is, to open up the 'batch information cockpit' (transaction BMBC) in a separate mode. Here you can see the characteristics ( if you define a selection class on tab strip 'Characteristics' ), e.g. in combination with stock information, which might be relevant as well.
    Here you can download some screenshots (link wiil be valid for 80 days)
    Link: [https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z]
    Kind Regards
    Michael Franz
    IBU Mil Products & Mining
    SAP AG

  • Why my firefox 7.0.1 in my ubuntu 11.10 is not show the text in every website it just show the pict and some chineese alphabet? and how to solve this problem?

    my firefox 7.0.1 in my ubuntu 11.10 is not show the text in every website it just show the pict and some chineese alphabet

    Upgrade your browser to Firefox 8 and check
    * getfirefox.com

  • Why my map dosent show the addresses completly? it just shows the name of the city or in the best way the name of expressway (no matter how much i zoom in)and it wont work in reminder or any other place. this happend after i update my iphone 4 to ios 5.

    why my map dosent show the addresses completly? it just shows the name of city or in the best way the name of exxpressway and it wont work in reminder or any other place. this happend after i update my iphone 4 to ios 5.

    I am having a really wierd issue as well that is probally related. I dont see 95% of the album artwork associated with my music. Also, it seems as if this has gotten worse since I started using that match feature

  • How do you show the data in Illustrator Graphs

    How can I show the data in my graphs? I input the data and it creates the bar graph but doesn't show the actual numbers used to create the bars. I have to put them in manually. Anyone know?

    Sorry but I am just not seeing how to get the data used to plot the graph to show without manually putting in the numbers after it creates the graph. Help details not very helpful. I can show the Value Axis info, the Category Axis info, and legend info but not the numbers used to plot the bars.

  • How do i calculate the scrollpane value

    hi all, how do i calculate the scrollpane value dynamically?
    thanks a lot

    hi sorry for the lousy information, because i was in the hurry.
    hm... should be describe in this way, in VB i know how to get the value of scrollbar when the scrollbar being scroll, but i do not know how to done it in JAVA.
    i have my sample code as following:
            sp.addComponentListener(new ComponentAdapter() {
                public void scrolled(ComponentEvent evt) {
                    width = getWidth();
                    height = getHeight();
            });any idea? izzit correct? it just show nothing while i use to print at console

  • How to batch change the standard value of routing

    Dear all,
             I meet a problem, and need you help.
            As you know, we can use T-code "CS20"  to batch change a component's quantity in different Bom by a factor.
           for example:  Component a in Fert. A,  quantity change from 6g x 0.9 = 5.4g
                               Component a in Fert. B,  quantity change from 8g x 0.9 = 7.2g
           now, my question is how to Batch change the standard value in routing. (select by work center)  CA85N can select the value, but seems can not batch change by a factor,
           thanks in advance

    It is not a big task for u prasobh...Just play in CEWB for 5-10 mins you will understand everything....
    If you face any issue let me know..
    For ur information I am also an IBM employee...
    Gobi

  • How do I find the closest value to a constant in an array

    I have an array of floating numbers and I want to find a value in that array that is closest to a floating constant.     For example if I have the array 5.9, 2.8, 3.7, 5.8, 6.9, and if I have the constant 5.4, how would I find the closest value to 5.4 in the array, which in this case would be 5.8. The only approach I can think of is to subtract each value in the array from 5.8 and find the minimum value of an array which would be created from the differences. Is there a better approach?
    Thank you.

    Just be sure to take the absolute value of the difference and your proposed method is fine.

  • How can i write the floats value in Unitronics vision230 plc using modbus Ethernet

           How can i write the Float value in unitronics Vision230 PLC usinsg modbus ethernet (MB Ethernet Master Query.vi) I  read and write  the 32 bit register,  for e.g i want to write the 23.45 value on 2nd add. of MF. And MF register is 32 bit register. I  read and write  the 32 bit register.
    Narendra.
    Solved!
    Go to Solution.

     Thanks Amit for your solution but i can not use the string to write the value because  MB Ethernet master Query.vi only accepet the integer value its not take string values or any other i.e floats values etc.....otherwise i have  no problem to write or read the 32 bit register values , only problem is that the MB Ethernet master Query.vi only accept the integer value there4 how can write the float value.
    Narendra
    Message Edited by Artemistech on 01-30-2009 11:06 PM

  • HT201263 why does my itouch just show the apple logo and nothing else?

    i went into my settings to restore all data and content, and it said it might take up to 4 hours so i let it do that and when it finished it just showed the apple logo when i restarted my itouch, i can reset it any time but itll just stay in the apple logo screen, and i tried restoring my itouch but it said it wouldnt let me for some reason. what do i do?

    Because the iPod is sick.
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • The parameter 'host_name_full' of ICM not showing the right value

    Hi ,
    The parameter 'host_name_full' is not showing the correct value.
    It is still showing the value as fully qualified domain name, where as we have reverted the setting some time back .
    can anyone let me knwo from where does it pick up the value from .
    and how can i Edit the value to show the correct value
    Thanks
    Nikhil

    Hi Nikhil,
    Check this 2 links will be useful to u r query...
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/7af83b0255a206e10000000a11402f/content.htm
    http://www.basisconsultant.com/modules.php?name=Content&pa=showpage&pid=12
    Regards,
    Sridhar

Maybe you are looking for