Change the x-axis series in excel chart

Hi,
    While plotting an Excel chart using ExcelRpt_ChartWizard(), the x - axis series starts from 0, 1, 2, 3... I like to change the series according to the data present in a particular column. Eg. If column 2 contains 2, 5, 7, 6.2... then the x-axis should be in the order 2, 5, 7, 6.2.....
Can anyone help me regarding this issue?

Hi,
Many thanks for this post, It's been quite helpful since there seems no to be so much info available about not so basic generation and manipulation of excels graphs with LabWindows (at least compared to C#).
I am struggling to set my own X-Axis as well but the best I can get is the graph looking like the one of the attached file.
The first row for the X-Axis is 11:47:00 and the last one is 17:46:25, however I get a graph between 0:00:00 and 19:12:00.
May thanks,
Best regards
Attachments:
Graph with LW.png ‏14 KB

Similar Messages

  • Change the x axis scale markers in a waveform graph

    Hello all,
    I am looking at an unusual graphing problem that hopefully has been solved.  The problem is because an pre-existing DAQ graph does things in a chart-like manner.
    The application context is that I measure a signal vs. test length.  During the test, I calculate the UUT position as a function of the test length.  The test includes measurements out and back.  Rather than graph signal vs. length; I want to graph signal vs. position.  I have considered the XY graph, but that co-locates the position data.  To remain consistent with an existing test program, I want to change the X Axis marker labels from distance to position at each marker's distance.
    I would like to customize marker text for a waveform graph's X Axis.  I found a sub-property node for marker text, but it does not seem to iterate through a Waveform graph's X Axis markers.
    For example, a test measures the distance 0 to 200 and the X Axis markers are labeled {0, 50, 100, 150, 200}.  How do I change those labels to {0, 50, 100, 50, 0}?
    The Marker Values[] property node does not do what I expected.
    Thanks,
    Kenneth
    Possible solutions:
    1. Find a property node that does the job
    2. Use custom indicators for each marker's labels
    3. Use two graphs, one for forward, the other for reverse testing
    4. XControls

    For your option #4 I would use option #2 but use a single picture and hide the X-Axis and do my own.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Changing the custom XML for a flash chart dynamically

    Hello
    I am wondering if anyone has found a way to change the custom XML
    for a flash chart dynamically.
    For instance.
    On the www.anychart.com website their is a gallery with charts.
    I have studied one called "2Dlinetimechart. It has hours on the X-axis.
    When I view the XML for this chart.
    I found this enrty
    - <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
    <set value="0" argument="0" name="00:00" />
    <set value="1" argument="0" name="01:00" />
    It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
    I have not found a way to do this in application express 3.0.
    Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
    Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
    Hope this makes sence ?
    Ulf
    PS this is related to my question about
    http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
    using dates on the x-axis.
    But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.

    String value = ResultSet.getObject("myfield").toString();
    String opvalue = "15";
    <OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>>

  • I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    Thanks Gary, but no, that does not work. First of all, I can't select each bar individually. When I click on one bar, all three bars are selected.
    When I use "inspector > graphic" I have 5 fill options: none, color, gradient, image, tinted image. The default selection for the theme I'm using is image. What I would like to use for my charts is the same image that this theme uses for table headers. It has the same texture as the chart, but a different colour. Using anything but image or tinted image removes the texture from the fill.
    I have found I can do one of two things. I can select tinted image from the fill selections in "inspector > graphic" or I can select 2D Image Fills from "inspector > chart > chart colors". The first choice does not allow me to match the table header colour because it only allows me to apply a tint to the existing colour and adjust its opacity. The existing colour has too much influence on the fill, so I can't find an RGB adjustment that will match the table header colour. The image selections from "inspector > chart > chart colors" do not quite match the colour or the texture. Again, I can try to tint the image, but I still can't get it to match and the texture is not the same anyway.
    The image I want to use obviously exists in the software as it is an attribute of the theme, but for some reason is inaccessible. The other angle I have tried is to edit the theme, but I can't figure out how to do that either.

  • Access the X-axis value from Flash Chart

    Hi,
    Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query.
    X-axis is MON-YEAR computed from the Begin_Date column. I want to capture the MON-YEAR clicked by the user to populate a report for that Mon-Year.
    Here is my chart SQL.
    select 'f?p=&APP_ID.:18:&SESSION.:::::::' link,
    to_char( "VIEW"."BEGIN_DATE",'MON-YYYY') label,
    sum(decode(TYPE_Id,2,Value,0)) "Value-1",
    sum(decode(TYPE_Id,1,Value,0)) "Value-2"
    from "VIEW" where to_char( "VIEW"."BEGIN_DATE",'MON-YYYY')= to_Char(sysdate-100, 'MON-YYYY')
    group by to_char( "VIEW"."BEGIN_DATE",'MON-YYYY'),
    to_char( "VIEW"."BEGIN_DATE",'YYYY')
    order by to_char( "VIEW"."BEGIN_DATE",'YYYY')
    Any suggestions?
    Thanks

    Thanks Marco..
    I did the same thing. I found this info at Re: Charts and links
    in the forum.
    Thanks for the help again.
    Nimmi

  • Changing the x axis

    Hi everyone.
    I have done an fft in lab view signal express, but the x axis shows the frequency (Hz).
    I need it to show the range.
    I have the formulae to change the x axis, but i am not sure on how this can be done!.
    the formuale is range = freq *c*dT/(2*dF)
    Where dT = 0.02
    and dF = 66*10^6
    c = 3*10*8.
    how can i get the range on the x axis.
    many thanks.

    Right-click the graph and select Properties.
    Then go to the Scales tab.
    The drop down box shows by default the X-axis, so that's ok
    If you need another scale, select it first.
    On the same tab you also see Scaling factors Offset & Multiplier.
    Calculate both to convert what you have now to what you want
    I won't do the math's for you
    Enter the two values and
    Then click the Ok button.

  • How can I use a timestring saved from LV as a csv spreadshee​t file as the x axis of a LV chart?

    I'm saving the timestring portion of a timestamp as HH:MMS  along with each set of data fields to a cvs spreadsheet file, i.e. each row of the file starts with the timestring followed by data in each remaining column. The first row contains data field headings. I can read this file back into LV with no problem and can remove the header row but cannot find a way to use that timestring as the x axis of a chart graph. I have no problem graphing the data in that format within Excel itself. Can anyone help?
    Thanks,
    DennisR

    Check the timestamp indicator, it is trying to write your time-stamp to your time-zone, so you will need to change the time-stamp to universal time. For the time-stamp indicator it is easy enough you just need to edit the indicator to display universal time, however for a purely data sense it is a bit odd, I have never found a straight forward way to do it so I use the conversion between Time in Seconds and Date/Time to do it for me.
    Attachments:
    Time Extract.png ‏21 KB

  • Changing the x-axis crossing point on a log y-axis

    Is it possible to change the point at which the x-axis crossing a log y-axis?
    I'd like the origin to be 0.1, not 1, and I'm losing hours of my life trying to work out how to do it.
    Hopefully it will be something easy that I have missed...
    ...I'd rather look foolish than buy Microsoft office.

    I have another idea for you.
    1) Multiply all of your numbers by 10 or whatever factor of 10 (i.e., 100 , 1000, etc.) is necessary so that none of them are smaller than 1.
    2) Take the LOG of those new numbers.
    3) Plot the result of (2) using a linear Y axis. Get your chart looking like you want it with the min, max, and number of Y axis gridlines you want. Each number on the Y axis needs to be an integer, no decimals.
    4) Choose a custom format for the Y axis numbers. Delete the format that is there and add a new format for each of the numbers on the axis. For example, lets say you multiplied by 100 in the first step above. The gridline with the number "0" should really be "0.01" so make a format for "if value is 0" and type in 0.01 as the format. Repeat for the other numbers (1 becomes 0.1, 2 becomes 1, 3 becomes 10 ,etc).
    Again, kind of a pain. I think I like this solution better, though. The chart looks better in the end and you can do multiple data series on the same chart.

  • How to change the color of bar in bar chart

    Hi I'm
    using Crystal Reports 2005 with Visual Studio 2005. How do i change the color of the bar in a bar chart, i don't see any options, someone telling in the forum that i can simply right click on the bar and choose color, but i don't get that option. all i can select is the entire chart object.
    any help is greatly appreciated.
    Thanks
    yesvee

    You have to make sure that you select the correct part of the bar.
    For Example:   When you click on the outside of the chart, the entire chart will be selected. Clicking somewhere inside the chart will also highlight the entire chart, but to highlight a specific bar or line you have to click until only that part is highlighted.
    Once you have the bar or series highlighted, right-click on the highlighted section and then select Chart Options, or "Format Series Riser" and you should be able to change the colour of the bar/line.

  • 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

  • How can I change the X-axis increment in a waveformgraph

    The X-axis always increments by 1, but I am acquiring one point of data every 100 ms. So my chart moves 10 times fater that the real time. How can I set my x-axis to increment 0.1 every time I add data to my Waveformgraph in VB net?
    The X-axis collection is not showing any property to change that.
    I have a continuous data acquisition giving me timed data at 100 ms rate.

    Thank you for posting to the NI forums.  You can set the update increment of the WaveformGraph plot function by using the overloaded function as follows:
    PlotYAppendMultiple( ByVal yData As Double(,),
       ByVal orientation As DataOrientation,  
       ByVal increment As Double )
    I did this in the VB.NET example program, "ContAcqVoltageSamples_IntClk", by adding the following line to the dataToDataTable function.
    WaveformGraph1.PlotYAppendMultiple(sourceArray, NationalInstruments.UI.DataOrientation.DataInRows, 0.1)
    The increment will be set to 1 / (sampling frequency), so in your case, it will be set to 0.1.  This function is documented in the NI-DAQmx .NET Framework 2.0 Help.
    I hope this helps.  Post back if you have any further questions.
    Ed W.
    Applications Engineer
    National Instruments
    Message Edited by Ed W on 05-04-2007 10:36 AM

  • To change the X-axis from Samples to Time

    Hi All,
    I want to connvert the X axis from Samples to Time on my waveform graph. The waveform graph displays the number of samples acquired along X axis, Initially I am acuiring 1M points of data & using some algorithm to reduce the number of samples from 1M to 2K points. Even after reduction I'm able to see the entire record length of the waveform but interms of 2K samples. But I want the X axis to be displayed in Time.Is it possible to convert the X axis of my graph to Time as there is reduction in points from 1M to 2K or the reduction doesnot affect the change in axis from samples to Time. Please help me as I have tried every thing.
    Thanks

    You can get some information on the waveform data type in the on-line help by selecting the data types>default values topic. This will also point you to the LabVIEW User Manual and the LabVIEW Measurements Manual. Both of these manuals are part of the LabVIEW documentation installation. You have an entire palette called, appropriately, Waveform, for manipulating the data and the front panel control is on the I/O palette.
    One of the options when doing, for example data acquisition, is the type of data returned with a DAQmx Read or AI Read. For DAQmx Read, click the Polymorphic VI Selector below the function to change the type of data returned. a large number of the shipping examples for DAQmx use the waveform data type. Selecting or creating a waveform data type is the easiest way to pass time information to your chart or graph but it is not the only way. You can use a property node like the shipping example called Real-Time Chart.

  • Is it possible to change the attributes of lines in Line Charts?

    I always think there are no dumb questions but this one actually might qualify because for some reason I'm unable to find a way to change the line color and thickness in Line and Line & Bar Charts. Web Intelligence must be intelligent enough to let me do this, right?
    Thnx,
    David

    Thank you!
    So this is again another example of the Web Intelligence product not achieving it's goal, and to me that is simplifying the creation of reports that can turn data into valuable information on which people can make better, more informed decisions. Shame! And I've noticed that this is the case for far more features of Web Intelligence. Please, SAP BusinessObjects, stop including marketing only related functionalities and build a better reporting tool!
    As to your answer regarding the palette, this is true but is not a generic solution as this goes for all line graphs (and bar, pie charts?). It is not very user friendly as well!
    But thanks for the quick response and confirmation.
    I'll keep the post open a little longer to see if anyone else has comments or similar feelings!
    David

  • Changing the name of a uploaded excel file

    Hi everyone,
    I am being able to manage to change the name of a excel file when I am working on a scenario with a single file like this:
    http://imageshack.us/photo/my-images/204/67859086.jpg/
    Here goes the BUT, but when I am trying to upload several files at the same time, I am not being able to rename the files.
    http://imageshack.us/photo/my-images/694/16392664.jpg/
    When I do have several file the package works like this:
    It list all the excel files and stores them into a *.LST file, after that it stores the names on a table. After that it uses a wildcard excel file to put the info to be uploaded, the on the scenario it transforms the data and uploads it into the target tables, then I supposedly change the name but it does not work.
    Then It moves the file to another folder, and erase the name from the temp table….
    I do really appreciate your help and guidance.
    Please do not hesitate to contact me if any further information is required.
    Best regards.
    Jaison

    There is an interface as step 2. I had similar issue once when I wanted to delete Excel file that was just used via Windows ODBC driver in a step before. Solution there was to create two packages, one doing the job and a wait step at the end the other one just deletes the file. Now put the two into a master package and run it from there.
    Probably the ODBC driver has the *.xls file still in some kind of stale/cached access.

  • How do you change the y axis value in numbers

    Hi
    relatively new to numbers. How do you alter axis value and set minimum, maximum values an step values in numbers
    Cheers

    Hi CA,
    Did you really intend to post this Numbers question in the Pages forum?
    Axis values are set in the Axis section of the Chart Inspector:
    Select the chart.
    Default values are 4 steps and auto settings from data for the min and max values for each axis. The x axis is a Value axis only for a scatter chart. Otherwise it is a Category axis.
    To set Min, Max values and number of steps for either axis, click in the appropriate box, then either type the value or use the stepper (which apears) to step to your chosen value.
    The maximum number of steps is 10.
    Regards,
    Barry

Maybe you are looking for