Replace Graph X Axis Label

Hello All:
   So for sorting reason I have a X Axis that shows both the year and the month, if I do [year]'-'[Mont] if will sort like 2010-10, 2010-11, 2010-12, 2010-2, 2010-3...etc
So the only way I know how is to do year*12+month. That will put into correct place, but number doesn't mean anything to the user. Is therea ny way to show the month number / name but use this variable to replace as a sorting properties?
I saw the sort property window, but it just says No Value.

Hi Bo,
You can get the months displayed any way you want and still have sorting.
This post goes through the exact steps: http://blog.davidg.com.au/2011/03/sorting-months-in-webi.html
Hope that helps.

Similar Messages

  • 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.

  • Labview Intensity Graph Vertical Axis Label

    When I change the font of the vertical axis label of a Labview intensity graph, the label disappears. Is this a Labview bug or is there a way to correct the problem?

    Here are those screenshots... I was a little quick to submit
    - JLS
    PS - of course, when you're editing the free label, it doesn't have those nasty affects, and if you group the objects (see the Free Label and Grouping screenshot) it behaves (at least cosmetically) much like a native graph label
    Best,
    JLS
    Sixclear
    Attachments:
    Free Label and Grouping.JPG ‏81 KB
    While Typing.JPG ‏66 KB
    After Typing and Clicking Off the Graph.JPG ‏67 KB

  • 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

  • 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

  • Can I align the orientatio​n of axis labels in a graph generated with the report generation toolkit (Word)?

    I was wondering how to align the axis labels, i.e. 90 degree or such when creating a graph with the report generation toolkit in word.
    I can do it after the document is created through Format axis title -> alignment but is there a way out of LabVIEW?
    I'd especially like to rotate the y-axis label by 90 degrees.
    Thanks a lot,
    Juergen

    I think he means he can modify it by hand after the report has been generated... But what I want to do is generate the word graph out of labview already with the rotated axis label...
    After I posted this I found out that we can do this with a macro and use it from labview, but unfortunately I don't know VB, or VBA...
    Like this:

  • How to avoid repeatition of axis labels in Graphs in WebI 4.0??

    Hello All,
    I am working with graphs in WebI 4.0. In category axis, the labels are being repeated thrice ,twice and so on based on the filter which I have placed according to my requirement.. I need them to be displayed only once. I have used axis label delete factor from Format chart. But then it solved only partial problem. Appreciate your help.
    Regards,
    Anila.

    plz
    try this
    create a one more vertical table
    and check that location-text and location-key are some .
    we think it would be like this
    location-text     location-key
    can                          01
    cbg                          02
    det                           03
    txc                           04
    txc                           05
    bec of different key and some description the axis is getting repeating.

  • Line Graph x axis tick label date format

    Hi to all,
    how can i format the date of the x axis label of a line graph?
    by now the date label is shown with a timestamp, e.g. 01.12.11 00:00.
    How can i change this to a simple date like 01.12.11?
    Please help. Thank you.
    Best regards
    Gunnar

    I would think that the datatype of the date attribute is a TimeStamp ? If yes changing it should help ..

  • Add axis label to a graph in word report

    Hi,
        Is there a way to add an axis label for the graph in a word report? Thanks!
       Tom
    Solved!
    Go to Solution.

    I would guess that there is, but it would be a word automation function.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • 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

  • Graph axis labels

    How do I change the graph y-axis to display the values 0 - 100% of my data?
    I've have some 2D arrays each containing sets of data which I'd like to plot against a % label (not % of the data!). The data within each array are all the same length (because I have re-sampled the data within the array), but no 2 arrays are the same length. The first element represents 0% and the last 100%.  
    Thanks

    Hi Graham,
    - you can change the Y-axis label to whatever you like, "Amplitude [%]" would be possible...
    - you can switch off autoscaling and set your own scale range from 0 to 100
    Easy as it is.
    Do you want something else? Could you show a small example?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Graph Data does not align with the axis label

    Hi,
    The graph data does not align with the axis label when
    datetimeaxis is used.
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=charts_displayingdata_04.html
    (in the using parseFunction property example) when you hover on the
    line graph the values do not align on the labels. Is this a bug?
    Can somebody help me with this.
    Thank you,
    Gautam.

    Hi All
    Thanks for looking into it.
    Actually we have just added a field GJAHR (was missing in the extractor) so that it takes data accoring to fiscal yr. Actually we had a issue that the Business area for a particular vendor 'X' and doc no 'Y' was showing incorrectly (similar to that of yr 2008) but it changed this yr and the extractor was still picking Business Area for yr 2008.
    So we added GJAHR field so that it takes correct Business Area. we have checked in R/3 Extractor checker and it shows correctly.
    But that change has not reflected in BW yet even after replicating datasource.
    I hope i have made you all understand the situation.
    Thanks for your help
    Ishi

  • Graph axis label in report generator

    HI,
    can someone help me with my problem ?
    I need to add axis labels into graph that i made by Labview Report generator. Is there any possibility to do that ?
    Thank you a lot.
    Patrik :-)

    This is not an Idea on how to improve LabVIEW.  It is a general LabVIEW question asking for help.
    You need to post it in the LabVIEW forum.

  • Default Query Template - Graph axis label alignment

    We have BW3.1 and are using a modified Default Query Template. I am trying to set the alignment of the labels on the x-axis to diagonal (bottom-left to top-right) and although the preview shows the correct alignment, when used in conjunction with a query it defaults to vertical.
    It works fine if I develop a specific web template for a query, but not for adhoc queries.
    Any suggestions?

    I'm guessing this happens at 30 degrees as well: Bug 10199188 : CHARTS X AXIS LABEL IS BLURRED AT 45/60 ANGLE
    This bug was apparently fixed in the 11.1.1.6.6 Patch Set. Oracle Support does not have a workaround for this either.
    Please award points if helpful/correct.

  • Y Axis Labels replaced with "..." on redraw

    I recently switched to JavaFX 1.2.1, which seems to have fixed issues with charts leaking when their datapoints and axes are dynamically redrawn. However, every time I update the data, the Y axis labels get messed up--"100.0" becomes "10..." and "0.0" becomes "...". Does anyone know a way to fix this? Thanks!
    (Example code below generates a new random value every DATA_RATE seconds. Increase DATA_RATE to slow down the test.)
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.part.NumberAxis;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import java.util.Random;
    def DATA_RATE = 1s;
    def MAX_POINTS = 21;
    var testData : LineChart.Data[];
    var testDataSeries = LineChart.Series
        name: "Test Data",
        data: bind testData,
    var currTime: Integer = -1;
    var theChart : LineChart;
    public function run(): Void
        genRandData();
        genRandData();
        theChart = LineChart
            title: "Line Chart",
            data:
                testDataSeries,
            xAxis: NumberAxis
                tickUnit: 5,
                minorTickCount: 5,
                lowerBound: 0,
                upperBound: 20,
            yAxis: NumberAxis
                tickUnit: 25,
                minorTickCount: 5,
                lowerBound: 0,
                upperBound: 100,
        var theStage = Stage
            title: "Application title",
            width: 1000,
            height: 800,
            scene: Scene
                content:
                    theChart,
        Timeline
            repeatCount: Timeline.INDEFINITE,
            keyFrames :
                KeyFrame
                    time : DATA_RATE,
                    canSkip : true,
                    action: genRandData,
        }.play();
    function genRandData() : Void
        var rand = new Random();
        ++currTime;
        insert LineChart.Data
            xValue: currTime
            yValue: rand.nextInt(101);
        } into testData;
        if (currTime > theChart.xAxis.upperBound)
            theChart.xAxis.upperBound = currTime;
            theChart.xAxis.lowerBound = currTime - MAX_POINTS + 1;
        if (sizeof testData > MAX_POINTS)
            delete testData[0];
    }

    You should report this bug to Kenai (Jira) if not already there.
    The only workaround I found is to change the format, so that only non-significant zeroes are hidden by the tick's label:
    {color:#8000A0}*formatTickLabel: function (f: Float): String { "{%.2f f}" }*{color}

Maybe you are looking for

  • How do i fix my ipod touch the screen turned white and i tried to rest it but it wont work, what do i do?

    I dont have Itunes because it slows my computer down so i dont know how to reset it.

  • Creation of object with sub-objects in ADF Faces

    I am trying to create an object that has associated sub-objects (header/detail) using ADF Faces. The user enters the header information in an ADF Form, then he creates detail data. Example: If the object is a PO, user creates the PO header info and,

  • How can a new button Event open sales order

    CRM WEB UI issue. On assignment Block there is a New button , on New button Event i have to open sales order . Please help me. Thanks in advance . Kumar6

  • BEFSR41 V.2.0 HELP!

    hi, I have a BEFSR41 wireless router that  I purchased about 4 years ago  which is connected to a desktop. I recently purchased a laptop and i would like  to connect to the internet however I'm unable to find my intall disc. Where can I find this sof

  • SerialDemo

    Hi, Does any body try to run the sample application SerialDemo in Javacomm API? I am trying to write something at the top text area and the text should at the bottom text area if this demo perfectly write and read. I set some debuging, it looks like