3D Graph X Axis positioning of bar

Hi,  I have a 3D Graph X Axis location problem where the bar that is plotted gets stuck between two adjacent gridlines with the same label.  I simply think the graph should be sticking the bar on the line that it is plotting it for.  I.E> if the x value is 1, I want the graph to display it as being on the "1" grdiline for the x axis.  Please help...
Solved!
Go to Solution.
Attachments:
X Axis Grid Problem.vi ‏8 KB
X Axis Grid Problem.vi ‏8 KB

Thanks, I think I see the issue here now.  there are 2 of them.  One is that I have the x axis formatted only to show the whole number and not any decimal values thereafter.  Once set to show these, it is evident that the x axis values are not 2 and 2 respectively but 2.4 and 2.6.
I also see the tick marks appear to have to be set differeent every time depending on the data that comes into the graph in order to get a good display grid.  It appears that you operate in one of two different grid display modes - manual where you set the max, min and tick counts or auto where  WYSIWYG.   
Seems like the way to go is to autoscale, then read the max and min values and create a VI to calculate the major and minor tick marks based on the full axis range.  Does this sound like the way to you? 

Similar Messages

  • How to color the bars(sub-category) of a group(X-axis) in a Bar Graph?

    Hi,
    I have 3 columns in a graph(10g) - CLLI,SVRTY,TOTAL
    CLLI -Varchar2
    SVRTY -Varchar2
    Total -Number
    X-axis
    Groups: CLLI
    Bars : SVRTY
    Y-axis : Total
    Now each CLLI can have 3 values of SVRTY like CR, MJ, MN
    Question) How can I change the color of each bar(SVRTY) in a group(CLLI) to indicate a particular condition?.
    Example:
    if SVRTY = CR, then bar color is RED
    if SVRTY = MJ, then bar color is ORANGE
    if SVRTY = MN, then bar color is YELLOW
    X-Axis is CLLI and each CLLI can have 3 sub-groups(SVRTY) values like CR,MJ,MN
    Thanks

    Hi,
    I was able to solve this issue using colorMode="COLOR_BY_SERIES".
    I have another issue however.
    If SVRTY of a group(CLLI) is say CR,MJ,MN then I get all the 3 bars in different colors for a single CLLI.
    i,e :It uses the following series:
    <Series id="0" color="#NNNN"> ---> This may be mapped to CR(RED)
    <Series id="1" color="#MMM"> ---> This may be mapped to MJ(ORANGE)
    <Series id="2" color="#TTTT"> ---> This may be mapped to MN(YELLOW)
    However if SVRTY of a group(CLLI) is say only "MN" then I get the color of the bar as defined in Series id="0", which may be RED. I need it to be YELLOW.
    Question) Is there anyway to control the color of a bar in a group to match a particular condition/value?.
    Example: if SVRTY value is MN, then it should always be YELLOW. Right now it's talking the 1st color defined in <Series id="0" color=#NNNN">
    Thanks

  • Y axis position

    Hi all,
    how can I change the Y axis position in a multiple Y axis graph?
    Thanks, Gilles

    Hi,
    if you want to show Y scale at the right side of your graph instead of its ordinary position at the left you must do the following things:
    Right click on the title of the scale and select "swap sides" option from pop-up menu.
    Good luck.
    Oleg Chutko.

  • How to get Graph's PlotArea Position & Size

    With Measurement Studio V6.0 it is possible to put annotation on Graph, in PlotArea coordinates.
    But to use these annotations correctly, I need to know the Graph's PlotArea position (relative to ClientRectangle) and the size.
    Hot to do that?
    Regards

    Here is a function that calculate X position relative to the graph control's parent window, from any X-axis value in the plot.
    int CDlgWithGraph::GetXForPlotPoint( double dbPlotXValue )
    CNiAnnotation annotation = m_ctrlGraph.Annotations.Item(1);
    annotation.SetCoordinateType( CNiAnnotation::AxesCoordinates );
    annotation.GetCaption().SetXCoordinate( dbPlotXValue );
    annotation.SetCoordinateType( CNiAnnotation:creenCoordinates );
    CPoint pt( annotation.GetCaption().GetXCoordinate(), 0 );
    m_ctrlGraph.ClientToScreen( &pt ); // pt in screen
    ScreenToClient( &pt );
    return pt.x;
    To get the SIZE of the plot area, pass min_x and max_x to width; pass min_y and max_y to get height. ( x,y values passed in are in pl
    ot axes ).

  • Graphing measurement versus position for a continuous roll based process

    I am working on a DAQ application for a continuous roll-based process.  What I want to do is plot measurement versus position.  What is unique is that the graph x axis has to reset for each new roll that is created for the process.  i.e. I want to plot measurement versus position in a roll.  The attached file shows what I am trying to do.  Has anyone tried this?  Is it even possible to have positive numbers on both sides of a zero point in a graph?
    Thanks,
    John
    Attachments:
    Labview Roll Graph.jpg ‏33 KB

    John,
    Unfortunately, there wouldn't be a way to have an arbitrarily numbered x-axis as you are describing.  In cartesian coordinates, you cannot have repeated points like this.
    If you know how many points are acquired per roll, one way to do this is to clear a charts history after this number of points and for every clear increment a roll counter.  See the attached VI for an idea of what I'm talking about.
    Regards,
    Craig D
    Applications Engineer
    National Instruments
    Attachments:
    Clear Chart History.vi ‏18 KB

  • How to make the graph follows the position of the video frame

    Hai..
    I want to open the video (. avi) and graph together in one VI.. The videos and graphs can be controlled (forwarded or rewind) in the desired position.. However, the graph should follow where's the position of the video frame..   The graph generated from the data in excel, after reading data, then there is the processing of signals, such as filter, mean, find the peak, etc.. After that the result will appear in the graph..
    Until now, I've been able to display video and graph.. I'm trying to use WMP and also IMAQ..
    Because I want to show the position of the graph or signal when the video plays, I was making a cursor or a line on a graph that follows the position of the video..
    First, I'm trying using WMP.. I can forward and rewind video using WMP, after that I make a cursor on the graph and the position of cursor I put in the position video.. And then when I run the program, the signal that arises from the right, but the cursor in the graph follow the position of the video (the cursor appears on the left) different side with the signal..
    I also tried using IMAQ when I tried to use the video controls, so the video can be forward or rewind using the slide, and I made a graph control to follow the video.. But the video isn't playing, it just show only images or frame in the video..
    Can we create a graph that can follow the position of the video? (graph can be in forward and rewind just like with video)
    I've tried many ways but until now have not been successful.. can someone help me?
    Any help is greatly appreciated thank you.

    This should do pretty much what you want, assuming that a slider is how you are controlling your video position. You are going to have to play around with it a little but it should give you the basic idea.
    Attachments:
    Slider.vi ‏35 KB

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • Graph values on the Vertical Bar

    Hi,
    Is there any possiblity of the of the graph values to be there on the Vertical bar graphs.
    Generally the vertical bar graph values will display on top of the vertical bar graph.
    Thanks in Advance.
    Siva

    Here is a link that will walk you through setting up each of your Device Profile pages for your iPod:
    http://ipod.about.com/od/tes1/ss/ipod-touch-setu.htm
    Cheers,
    GB

  • WAD Graph-  Value Axis display value with commas

    Hi Gurus,
    In the WAD graph Value Axis displaying the value from 0 to 40000 like below
    40000.
    30000.
    20000.
    10000.
            0.
    But we want to display with comma for every 3 digits(1000). like
    40,000.
    30,000.
    20,000.
    10,000.
              0.
    Please do needful.
    Regards,
    Kiran A
    Edited by: Kiran A on Oct 21, 2009 6:00 PM

    Hi Kiran A,
    you can do it as follows:
    Edit Chart->Refine->Value axis->Line->Format-> here you have to put: 0,
    That is all
    Regards
    Erwin

  • How to reverse x axis in stacked bar graph generated by Keynote?

    My question is demonstrated in the figure 1 below. How to reverse the x axis so that the relatively small black area appear on the right(as figure 2 shows.)
    fig. 1.
    fig. 2.

    In the chart data editor, click and drag one of the the rows to change the ordering:

  • Bug in Digital Waveform Graph X-Axis

    Hello,
    I am making separate queried to a database to retrieve analog and digital data over the same time period.  The data were logged at 2 second intervals.  I have verified that both result sets return the same number of values with the same t0 and dt.  I then plot the analog values on an XY Graph and the digital values on a Digital Waveform Graph.  I then use property nodes to sync the two graphs (left and right plot bounds, XScale.Range, and Cursor Position.X).  After doing this, I can see that the datasets do not line up between the two graphs.  The data on the Digital Waveform graph ends several seconds sooner than the analog data.  The x scales of the graphs appear to match but the plots don't align in time.
    Has anyone else observed this behavior?  Is there any work-around?
    Thank you,
    Peter

    There is a much simpler way to synchronize these charts. Just use a stacked chart.
    If you use a bundle function you can take two signals (almost data type) and wire them into a Waveform Chart together.
    Then on the front panel right click on the chart and select Stack Plots
    Since you only have 1 X axis now they are instrincly synched and will always write valules at the same time and update the UI together. You can skip all of the scale synching....
    Since the data you are working with has lincked time stamps, the data will need to be matched, (make sure the samples are anyched and each itteration both would have the same number of samples.
    The last allternative would be to strip the time stamp off of your data then build a new data structure, with the digital data, analog data and 1 set of matched time stamps. You can then plot this on an XY chart using the time stamp for the X axis for both of your other plots.  Let me know if you have other questions.

  • Conditional formatting a graph vertical axis in SSRS 2012 charts

    Hi,
    I have a situation where i want to color the label on vertical axis of graph depending on certain condition. Say when values are positive the color would be Black and when negative color would be Red.
    I tried following condition but its not working.  
    =iif(Fields!MyField.Value < 0 , "Red", "Black")
    I know there are few threads already mentioning that this feature is not supported in SSRS 2008 but just wanted to know if its adddressed in SSRS 2012 or later?
    Thanks and Regards,
    Oliver D'mello

    Hi Oliver,
    According to your description, you want to use an expression to specify different color for Axis Labels based on values in a chart.
    As we tested in our environment, when we apply condition in expression to give dynamic color for Axis Labels, the color setting applies to all labels based on the condition. This issue happens in both SQL Server 2012 and 2014. Please refer to the screenshots
    below:
    In this scenario, I would recommend you submit this issue to the Microsoft Connect at this link
    https://connect.microsoft.com/SQLServer/Feedback. This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft
    to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the exciting projects on Microsoft Connect.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • CGI call to Oracle Reports with embedded graph not executing triggers on bars

    I have the following function which is suppose to change the color of the bars in subgroups.
    PROCEDURE Set_Group_Color(elem IN og_object, a_group_index number) IS
    v_color varchar2 (32);
    v_temp og_object;
    v_idx number;
    BEGIN
    v_temp := OG_GET_OBJECT ('GRPG_NM1_GRPG_CNT_legend_label');
    v_temp := OG_GET_PARENT (v_temp);
    v_color := color_list (a_group_index);
    og_set_bfcolor (elem, v_color);
    og_set_ffcolor (elem, v_color);
    v_idx := a_group_index * 2 + 1;
    v_temp := OG_GET_CHILD (v_temp, v_idx);
    -- 0 = legend_frame
    -- 1 = border of color box (no name)
    -- 2 = GRPG_NM1_GRPG_CNT_legend_label
    -- 3 = border of color box of next group
    -- 4 = GRPG_NM2_GRPG_CNT_legend_label
    OG_SET_BFCOLOR (v_temp, v_color);
    END;
    This function is called from the format trigger of the bars themselves. The code works the way i want it to in the ORacle Graphics designer but when i executed from the web the triggers are not executed at all!!!
    Am i forgetting to do something? Is this a known bug. When i put a format trigger on the graph axis-labels they execute correctly in both the designer and the web. But the bar triggers do not!

    1. Along with this version of Reports you should find the reports server (r30mts on unix). This will allow you to deploy your reports on the web - on HP/UX or Solaris.
    2. To web deploy you have:
    Web Browser --->
    Web Listener + Reports CGI ----->
    Reports Server -->
    RDBMS
    3. You don't need the cartridge if you are using the CGI.
    For more information, please look at the Reports Server Configuration whitepaper, available on OTN - it was written for Reports 6.0, but the concepts and architecture are applicable for Reports 3.0
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • One series in a graph - different colors for different bars.

    Hi,
    I have a graph with one series in it. It produces
    7 bars within that graph. I need the first 3 bars (from the left) to be
    green, and the other 4 bars to be blue. All 7 bars are produced from
    one query/data model.
    This is in an RTF template within MS Word, for BI Publisher.
    Any ideas?
    Many thanks for any answers.
    - Jenny
    Edited by: user1636556 on 12-Mar-2009 04:11

    Use this
    <SeriesItems>
    <Series id="1" color="#993399"/>
    <Series id="2" color="#993399"/>
    <Series id="3" color="#993399"/>
    <Series id="4" color="#993399"/>
    <Series id="5" color="#ff9933"/>
    <Series id="6" color="#ff9933"/>
    <Series id="7" color="#ff9933"/>
    </SeriesItems>
    and populate this attribute in root element graph with value <Graph colorMode="COLOR_BY_GROUP"

  • Graph: x axis end value is cut off?

    Hi,
    I have a graph in a report.
    My report accepts a date parameter, such as 07/01/2010.
    If my date parameter is NOT in the month of January, my graph looks like this:
    http://sites.google.com/site/misterpea/_/rsrc/1262841598250/home/2.jpg
    If my date parameter IS in the month of January (doesn't matter what year), my graph looks like this:
    http://sites.google.com/site/misterpea/_/rsrc/1262841594722/home/1.jpg
    See how the end value in my x axis is cut off?
    How do I fix this?
    I have tried a few things already such as:
    - expanding the graph width
    - changing the graph's horizontal elasticity
    - changing the graph's source code
    The best thing I can get is in the graph's source code, I change the O1TickLabel textRotation to TR_HORIZ_ROTATE_90 instead of TR_HORIZ, which makes the date values display vertically.
    I want to try and find a solution though where the date remains horizontal.
    Has anyone come across this type of problem before?

    Anyone?

Maybe you are looking for