Formatting bar chart data label

Post Author: dkekesi
CA Forum: General
Hi All,I have a chart that contains how long it took to perform a certain task for each user (user name is on the X axis, times on the Y axis). The problem is that the data is displayed in seconds. I wish to format the data label on the bars so they show 00:45:42 (in hh:mm:ss format) instead of 2742 seconds, for example.I have not found a way to do this. Is there a way at all?Thanks for the help. Daniel

Post Author: V361
CA Forum: General
I have CR XI, not sure if this is supported in earlier versions.  You can create a formula, and use the formula in the graph.  For example: 
Numbervar Totalsec := Sum ({@Login Hrs secs}, );
NumberVar Days :=(Truncate (TotalSec / 86400)*24);
NumberVar Hours :=(Truncate (Remainder (TotalSec,86400) / 3600))+ Days;
NumberVar Minutes :=Truncate (Remainder (TotalSec,3600) / 60);
NumberVar Seconds :=Remainder (TotalSec,60);
Hours & ":" & Minutes & ":" & Seconds
The addition of *24 in the NumberVar Days sum combined with the addition of days to the NumberVar hours gives a total time in hours no matter whether in excess of 24 hours or not.
Use this formula in your chart. instead of your seconds field.

Similar Messages

  • BIP 11.1.1.7 - Stacked Bar chart data label not visible in pdf

    Hi all,
    I have a report built with the online editor. This contains a stacked bar chart with percentage values in a repeating section and I made the property DataVisible=true.
    When I view the report in interactive mode it all works: I can see the data label for every value of the parameter but when I view in any other format (PDF, PPT, ecc..) the data labels are visible in the first chart (for the first value of the parameter) while in the other charts they aren't. This doesn't happens for other types of chart, for example with a pie chart.
    Can someone help me or tell if it is a bug?
    Thanks,
    Micaela

    Hi Mitalee,
    Would you please check the PAM at https://websmp108.sap-ag.de/~sapidb/012002523100018972812014E
    On page 11 it says 64 bit IE11 is not supported; is your IE11 32 bit or 64 bit?

  • Discoverer Bar Chart Data Points

    Hi everyone,
    I am creating a Bar Chart in Discoverer with the data points to be displayed at the top. Does anyone know how to make the datapoints not display decimal places. I've tried to change the number format in the table and through administrator as well. The table does not display decimal places but the Bar Chart Data Points continue to do so. Any suggestions or thoughts to try would be welcomed. Thanks!

    If you edit the chart and choose X-Axis Scale I believe you can set the number of decimal place there. Should be able to set it to 0.

  • Crystal Reports 2008 Pie Chart Data Labels

    Hi,
    I've been trying to figure out why I cannot get the option to put pie chart data labels in the center of each slice.  There's an option to place them there, but everytime I select it, the graph reverts to putting the data labels on the outside with leader lines.  I was able to do it once, for one pie chart, but have not been able to get it to work for any others.  I've even tried creating a pie with only two slices in case there's a slice size limit below which the data is placed outside.  There doesn't seem to be any rhyme or reason why it worked once and now won't work again.
    Thanks,
    -Jim
    Edited by: jwmckay on Apr 23, 2010 7:19 PM

    Hi Jim,
    The issue could be faced because of the 'Auto-arrange' layout option enabled from Chart Expert within the report.                                                                               
    This option allows Crystal Reports to reset the chart layout to its original size and position  
    To uncheck the 'Auto-arrange option':                                                                               
    - First Go to Chart Expert-                                                                               
    - Click on the Options Tab                                                                               
    - Uncheck Auto - Arrange                                                                               
    - Click OK                                                                               
    I hope this helps,
    Selenia

  • Waterfall chart data labels - not rendering in Flash

    I have a problem with the waterfall charts.  When I turn on the data labels, the charts fail to render in Flash - I get a axis and some garbled legend icons.  If I turn off the waterfall chart data labels, the problem goes away.  Clearly, there is some bug in the label coding. 
    Ken Jones

    Make sure you have the "Refresh before components are loaded" option checked on your QaaWS connection for the monthly data in the connection manager of Xcelsius.
    To do this go to the connection manager in Xcelsius.  Go to the connection you want to edit.  Click the "Usage" tab.  Then check the first check box that reads "Refresh Before Components Are Loaded".
    This will run that query as soon as the dashboard is loaded.  I think what may be happening to you now is that you have set a trigger cell of some kind that says, "When cell X becomes "XYZ" run the monthly data query.  But when the dashboard is first loaded cell X does not equal "XYZ" therefore the query does not run initially.  But then when you click the weekly tab and the back to the monthly tab you are setting cell X to "XYZ", therefore the query runs at that point.
    Hope this helps,
    Jeff
    Edited by: Jeff Hoffner on May 18, 2010 9:07 PM
    Edited by: Jeff Hoffner on May 18, 2010 9:07 PM

  • Oracle APEX Bar Chart: Missing labels

    Is there a way to get all the data labels to print for an Interactive bar chart? My bar chart has about 16 items. Only 9 of the labels display/print. All the labels are there if I hover over them but I would like to display them. Can I change the font size or something to get them to appear?
    Can I display more lines (so the chart doesn't fit on the screen)? Would this solve the problem?
    I am currently using APEX 3.2.0.00.27
    Thank you
    Rolf Petersen
    Edited by: SleepDeprivedInSeattle on Dec 9, 2009 11:00 AM

    If you are running CF9, check the <labelStyle isHideOverlapped="true"> property. If not, you could try slanting/wrapping the labels so they fit the space a bit better. Adjusting the chart size so they do fit is another option. 
    That said, you should still set reasonable limits for title length. If the titles are very long, you may want to abbreviate or truncate them after X characters.

  • FlashBuilder bar chart - data appears only outside chart range

    I'm relatively new to FlashBuilder development and I'm having some issues with a bar chart.  I'm try to create a chart to show the timeline of projects, each with a start and end date.
    (1) The actual bars appear only on the left side of the y-axis. 
    (2) If I hover the mouse over the blank chart area, it shows a tip for the bar that is not visible (see screenshot). 
    (3) The dates on the x-axis are in descending order and should be in ascending order.
    I would appreciate any help with any of these issues.  Thanks!
    Code to display the chart:
        <s:NavigatorContent id="navProjectChart" label="Project Chart">
            <mx:BarChart id="bcProjectChart" dataProvider="{chartData}"  left="2" top="40" width="710" includeIn="List" paddingRight="5" paddingLeft="5" showDataTips="true" type="clustered" height="505">
            <mx:horizontalAxis>
                <mx:DateTimeAxis dataUnits="days" title="Timeline" parseFunction="parseDateStringToDate" />
            </mx:horizontalAxis>
            <mx:verticalAxis>
                <mx:CategoryAxis categoryField="Name" />
            </mx:verticalAxis>
            <mx:series>
                <mx:BarSeries xField="EndDate" minField="StartDate" fill="{sc1}" stroke="{s1}" />
            </mx:series>
        </mx:BarChart>
        </s:NavigatorContent>
        protected function parseDateStringToDate(s:String):Date
            var newDate:Date = DateFormatter.parseDateString(s);
            trace("Input string: "+s+", Parsed Date: "+newDate);
            return newDate;

    Hi,
    Can you please send me a sample application at deeptika(at)adobe(dot)com?
    I used the following app and it seems to be working fine
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the BubbleChart control. -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Script>
            <![CDATA[       
                import mx.collections.ArrayCollection;
                import mx.formatters.DateFormatter;
                [Bindable]
                private var chartData:ArrayCollection = new ArrayCollection([
                    {Name: "A1", StartDate: new Date(2011,10,10), EndDate: new Date(2011, 11, 10)},
                    {Name: "A2", StartDate: new Date(2011,7,9), EndDate: new Date(2011, 10, 10)}
                protected function parseDateStringToDate(s:String):Date
                    var newDate:Date = DateFormatter.parseDateString(s);
                    trace("Input string: "+s+", Parsed Date: "+newDate);
                    return newDate;
            ]]>
        </fx:Script>
        <s:NavigatorContent id="navProjectChart" label="Project Chart">
            <mx:BarChart id="bcProjectChart" dataProvider="{chartData}"  left="2" top="40" width="710" 
                         paddingRight="5" paddingLeft="5" showDataTips="true" type="clustered" height="505">
                <mx:horizontalAxis>
                    <mx:DateTimeAxis dataUnits="days" title="Timeline" />
                </mx:horizontalAxis>
                <mx:verticalAxis>
                    <mx:CategoryAxis categoryField="Name" />
                </mx:verticalAxis>
                <mx:series>
                    <mx:BarSeries xField="EndDate" minField="StartDate"  />
                </mx:series>
            </mx:BarChart>
        </s:NavigatorContent>
    </s:Application>
    Thanks,
    Deeptika

  • Stacked Column Chart Data Labels Not Appearing

    I am using SetSytle in Actionscript to make the data labels in a stacked column chart appear inside but it's not working.
    A portion of the code I am using to create the chart is below:
                    //initialize column set for stacked columns
                    var colSet:ColumnSet = new ColumnSet();
                    colSet.type="stacked";
                     for each(var node:XML in _chartDP){
                         var k:int = 0;
                         //skip zero datapoints
                         if (parseInt(node.toString()) != 0) {
                             //if measure node does not exist, add as series
                             k = uniqueYCat(node.attribute("BillTo"));
                             if (k == -1){                                                        
                                    // Create the new column series and set its properties.
                                    var localSeries:ColumnSeries = new ColumnSeries();
                                    localSeries.setStyle("labelPosition","inside");
                                    localSeries.dataProvider = dataArray;
                                    localSeries.yField = node.attribute("BillTo");
                                    localSeries.xField = "ConfidenceStatus";
                                    localSeries.displayName = node.attribute("BillTo");
                                    localSeries.setStyle("showDataEffect", ChangeEffect);
                                    // Back up the current series on the chart.
                                    var currentSeries:Array = chart.series;
                                    // Add the new series to the current Array of series.
                                    currentSeries.push(localSeries);
                                    //Add Array of series to columnset
                                    colSet.series.push(localSeries); 
                                       //assign columnset to chart
                                    chart.series = [colSet];
    After some more research, I put a breakpoint inside ColumnChart.as in the following function:
        mx_internal function getSeriesLabelPos(series:Series):void
            if(series is ColumnSeries)
                var columnSeries:ColumnSeries = ColumnSeries(series);
                var position:String = columnSeries.labelPos;
                if(position == "inside" || position == "outside" || position == "none")
                    _needLabels = true;
            else if(series is ColumnSet)
                var setSeries:Array /* of Series */ = ColumnSet(series).series;
                for (var i:int = 0; i < setSeries.length; i++)
                    getSeriesLabelPos(setSeries[i]);
    the following line: var position:String = columnSeries.labelPos;
    returns postion as null. It looks like the setStyle is not passing the correct value to this function.
    Any ideas as to what is going on?

    chart appearance is controlled by xml files located in
    {cfroot}\charting\styles. the file for bar charts is
    default.xml
    you will want to:
    1) copy thisfile to your site's root or some other folder
    (i.e. same
    folder that the page displaying your chart is in)
    2) edit the file and change isHideOverlapped attribute of
    labelStyle
    property for xAxis to "false"
    3) point the STYLE attribute of your cfchart tag to this new
    file.
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • SSRS Stacked Bar Chart Smart Label Problem

    I have a SSRS 2008 Stacked Bar Chart. When the bar values are close then the Series labels often merge and overlap making the value unreadable. I have set the properties so that Smart Labels AllowOutSidePlotArea is true, NoMoveDirections Right = False etc.
    but they still overlap.
    How do I set so that the values are plotted in a readable manner?
    Thanks

    Hi CDG100,
    According to your description, it seems that the issue which you occurred is that series label got overlapped when there are some sections with small value in the bar. If in this scenario, there are several properties you can use to try to get the labels
    to fit better. The SSRS 2008 charts contain a feature called smart labels, and we expose a lot of options that control their behavior. Here are some properties that may help. First, select the data point, then go to the SmartLabels node in the property grid.
    Expand the "NoMoveDirections" node. This will give you set of directions that you can use to restrict the directions that the labels can move in. You can try to change directions to see if it helps.
    You can remove the CallOutLine by setting the CallOutStyle to None and the CallOutLineAnchor to None.  You can also change their widths or their styles to see if that helps.
    If the issue is still existed, we can try to set the horizontal axis interval to a small one. This will make the lower values big enough to display the label. However, it will make your chart really tall for the ones with high values.
    Another possibility is to use Tooltip instead of actually displaying. Type a same expression with Value field in the Tooltip property.
    Hope this helps.
    Thanks, 
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Setting Pie Chart Data Label Values Location Reverts to Default

    After hitting OK the values return to the Side of Frame:

    hi Richard,
    that's pretty annoying...i too am dealing with the charting engine changing things. here's how to get around this...at least it worked in my cr 2013 version...
    get out of Chart Options, right click on the Chart Expert and then go to the Options tab. now deselect any of the Data Points options and deselect Auto-Arrange.
    now go back to Chart Options and redo the Data Labels selections you did in your screen shot.
    -jamie

  • Displaying Bar Chart Data

    Hi Every one
                      I want to display a bar chart with three different values in a single bar.Till now iam able to display a bar chart with single value for a single bar.Can any help on this will be help ful.
    Here are the details of the bar chart that to be displayed.
    on Yaxis the total count of the values
    X-axis MonthName from Jan to Dec.
    I have to show the count for three values on the chart for each month
    Thanks,
    Prasad.

    Have you considered the Stacked Bar Chart?  You will need to make sure that the dataset returning from your query template is 'square', meaning that each month has all 3 of values represented.  Return null or 0 for a value that may not apply for a given month.

  • Crystal Report 2008 Area Chart Data Label Problem

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

    Stacked Area Chart (Layer Cake) Issues:
    We would like to use a Crystal Report (2008) Stacked Area Layer Cake chart to show the workload RPD's (Sum of Resources Per Day = Y value axis) and Data_Date of the study (M,Month of study date = X value axis, using fiscal year type cycle Oct - Sept).
    Each Stacked Area represents the workload RPD's for a single project, or group of projects.
    When showing labels or series information the chart becomes overloaded and not visible to read because there is over 400 data points.
    Is there a way to break this dataset down so that values and/or labels are visible, using the crystal report options available? To suppress multiple layers and show a single label per layer?
    We tried using the Color Highlight to group and display them by group and condition. The labels and series data points are still over crowded.
    We also need to overlay the chart with the Average FC Totals from an additional Crosstab report.  Is there a way to overlay this over the 1st layer of the report?

  • 15 character limit with bar chart axis labels

    Hi,
    Does anybody know how to display axis labels that are larger than 15 characters? Is there something that you can do with the CSS to increase the limit?
    - edgar

    Bounced.
    I have the same issue and have been unable to find a workaround.
    Ant.

  • Data labels on pie chart

    Hi,
    I want both the series label and % value to display on my pie chart, but what i want is % value to be displayed inside pie slices and series label outside the pie slices, right now we have option to do either of the one
    my Report Builder is 9.0.4.0.33
    can anybody help me regarding this.
    Thanks.

    hello tammy,
    i just created this request in the idea place
    enhance pie chart data labels : View Idea
    i was just thinking (yes, you should be afraid - smile)
    it would make life much easier if there was a link in the forum message toolbar that linked to the submit idea form in the idea place and included the link for the message thread from here at the bottom of the request. that way the developers could also see what other people think about the issue. what do you think?

  • How to Avoid overlapping data label values in Pie Chart

    Hi,
    I am facing the problem when the data is more my pie chart data label value is overlapping.
    I tried with showing outside the data label value but customer is not accepting ,and i used the CollectedPie  option also but still its overlapping .So please any body knows how to resolve this problem as i need very urgent basis.
    Regards,
    HariKan
    HariKan

    Hi HariKan,
    Per my understanding that the Category group of the pie chart which will retuen many values so that the label will overlapping and you want to know is any method to deal with this kind of problem, right?
    In Reporting Services, when enabling data label in par charts, the position for data label only have two options: inside and outside.
    In your scenario, I recommend you to increase the size of the pie chart if you insist to choose the lable inside the pie chart as below:
    If you choose to "Enable 3D" in the chart area properties and choose to display the label outside, the label's layout will be more clear:
    Reference:
    Pie Charts (Report Builder and SSRS)
    Position Labels in a Chart (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • Can we import photos from iphone to windows PC when Iphone is locked with passcode?

    Hello, I am using Iphone 5 running IOS 8.1.2. I recently connected my Iphone to my friends windows laptop to import the photos and videos. I observed a strange behaviour. I was able to import photos even when my Iphone was locked with passcode. Can a

  • Sms pc suite reading up to a certain date

    Hello all, I am struggling with a problem since many days, and hope you can help me. In my phone (n70)I have more than 2000 sms, all in the phone memory. While trying to backup my sms with pcsuite, I realized that pc suite reads and transfers only th

  • Video screen gone weird

    To whom may help, When i go onto video chat the screen breaks into 4 pieces and they dont line up i have taken a screen shot for you. I have tested the cam and its ok i can get full pics and full screen its only when i video chat i cant Please help K

  • "You cant run adobe flash cs4 because it is not supported on this architecture" HELP!

    I just installed adobe cs4 design premium, and everything works fine except for the program I wanted most, which is Flash. It has a little circle with a line through the icon and whenever I try to run it, it tells me that it cant run because it is no

  • How reprint the PO once the user id who create the PO already deleted

    Hi Gurus, we cannot reprint the PO, the original creator of this PO the user id already deleted. after the changes made in the PO we cannot reprint, the error message: 'there is no data address for user______" can you help me and suggest possible sol