Dynamic Y Axis Values

Post Author: [email protected]
CA Forum: General
How to I get a graph to accomodate a dynamic Y axis where the values are listed down the Y axis.  I could have 5 values or I could have 500.  Any ideas? I need all values to show on the Y Axis though.

Post Author: Dan3D
CA Forum: Charts and Graphs
Paul,
See if you can track me down. I just wrote some logic for another customer that turned data fields into numeric labels on the x-axis. I might be able to morph that into a similiar solution on the y-axis.
-Dan  ([email protected])

Similar Messages

  • Dynamic Min Max values of Axis

    Hi Everybody,
    Just wanna know if there is any possibility to assign dynamically min-max values of Y axis in line chart of  Crystal Reports 2008 using formulas or parametesr or any other idea??
    Your suggestions are welcomed.
    Thanks
    Regards,
    Atul

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Excel MSGraph Axis Value w/ Report Gentration Tool kit help needed

    Hello,
    I am working on making all my Printed Data sheets dynamic so I don't need to have an Excel Template for each test I create. I have been able to make my own modifications to some of the Report Generation tool kit VIs to add little things I need or want changed, but I am stuck.
    I currently have LabVIEW writing Charts in Excel, using the Insert Graph VIs from the tool kit but I want to be able to make the X Axis Values invisible but leave the Y values for this particular data sheet.  I have looked through all my documentation but cannot find anything referring to setting that.
    What is the correct ActiveX Method and/or Property that I need to incorporate to do this? I found that in Excel if I click on the Chart it is in the Chart Options Menu but I cannot find a way to control it through LabVIEW.
    I am currently using 7.1.1 with Office 98 and the Report Generation Toolkit 1.1.0
    Any ideas?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hello,
    LabVIEW should have access to everything that the excel ActiveX object publishes.  One way to discover how to do it would be to record a macro in excel, where your recorded actions are on the x-axis as you desire.  This way you will have a macro which you can run that will do this for you.  Perhpas more importantly, you will then be able to look at the code for that macro you recorded, and make the equivalent calls in LabVIEW, which should basically expose which ActiveX calls on that object achieve the axis modification.  In any event, to help you with this process, below are some useful links.  Also, you will find other threads on this matter if you search the discussion forums.
    Excel and LabVIEW Integration Tutorial:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4d86c9752c658da78625689300730c10
    Here are links to examples of using macros in Excel from LabVIEW:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD2F56A4E034080020E74861&p_...
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_...
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • How to get y axis value(in a numeric control) by providing x-axis value using wave graph

    Hi,
    I'm new here, Sorry if i have selected wrong Location.
    I want to get Y-axis value (in a numeric Control) by providing X-axis Value using Wave graph.
    i want to do calculations with the obtained value.
    i have attached File and Snapshot.

    Well, you are using the Dynamic Data Type, which I almost never use, but if you convert the data to a WaveForm (using From DDT on the Signal Manipulation Palette, which is a choice when you right-click on the DDT Wire), you should be able to do this.  Do you know about how Waveforms are stored?  They are a Cluster, with t0 being a TimeStamp for the start of the Waveform, dt being the time step, and Y being the samples.  So if you want a point at 0.5 seconds and dt is 0.001, you would pull out the point at Index 499 (offset 0) from the Y array.
    Bob Schor

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • How to change axis values in Numbers

    In v1.7 I have tried to change the axis values on existing charts but can't find how to do it...
    So I tried to create bar charts from scratch in order to rebuild the old ones with the new axis data but I can't find out how to set any of the axis values on chart creation now!!
    Has something changed - or am I just thick/blind?!!

    Is it so difficult to read given answers ?
    Barry described the correct scheme.
    In the table "to_chart", the cell A1 contains :
    =ROUNDUP(ABS(MIN(Tableau 1 :: B:E))/10,0)*10
    The cell B2 embed the formula :
    =$A$1+Tableau 1 :: B2
    Apply fill down and fill to the right.
    On the left edge, the colored rectangle is a text block in which I inserted the label values.
    Of course if you dislike this scheme, you are perfectly free to use an other application.
    Yvan KOENIG (VALLAURIS, France) lundi 4 juillet 2011 14:37:56 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Dynamic list of values in CR 2008 - request of login to database

    I am using CR2008 with VB2005. I created simple application which generate report on different SQL Server 2005 databases.
    Report uses OLE.DB connection to SQL Server, I pass logon information in VB using "SA" username and password. The same simple report works great on different databases with one exception: if parameter (dynamic list of values) is used in report it runs correctly only on database it was created (connection to this database is saved in report and can be seen in Database->Set Datasource Location). Changing connection to other databases in VB during runtime causes CR to ask for username and password (in standard parameter window). It looks, like Crystal have one connection for report and the other for dynamic list of values parameter. I pass connection information to report using ConnectionInfo(). I loop through alll tables in report and apply connection:            
    For Each crTable In crTables
                    crTableLogOnInfo = crTable.LogOnInfo
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    I tried to pass connection information also to parameter but I couldn't find such possibility.

    This is a known issue (Tracking number is ADAPT01333806.) and a note has been written,  unfortunately it is not yet published. Below is the note content, including a work-around / resolution. You may also want to try FP 2.3, see that helps. (I'll break this post into two as I'll loose the formatting if I don't.
    Reproducing the Issue
    Use Crystal Reports 2008 SP2 to create a report with dynamic parameter(s)
    Use the following code from the Crystal Reports SDK for VS .NET
    Dim crDatabase As Database
    Dim crTables As TablesDim crTable As Table
    Dim crTableLogOnInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo 
    crReportDocument.Load("<path>")
    crReportDocument.Refresh()
    crConnectionInfo = New ConnectionInfo()
    With crConnectionInfo   
         .ServerName = "<New Server Name>"   
          .Password = "<password>"
    End With
    crDatabase = crReportDocument,Database
    crTables = crDatabase.Tables
    For Each crTable In crTables     
         crTableLogOnInfo = crTable.LogOnInfo     
         crTableLogOnInfo.ConnectionInfo = crConnectionInfo     
         crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    CrystalReportViewer1.ReportSource = crReportDocument
    The above code works with Crystal Reports 2008 SP 1

  • How to generate controls dynamically based on value stored in database using mvc4?

    In my database, i have a field called control_ids corresponding to  text box, dropdownlist, radiobuttonlist etc. My goal is to
    create controls dynamically based on value of control_id-field in table. Anybody please help me how to create the controls dynamically in MVC 4 for this scenario.

    In your view you could do something like that:
    foreach (var field in Model.FormStruture.fields)
    <div class="editor-label">
    <label for="@field.Name">@field.Descricao</label>
    </div>
    <div class="editor-field">
    <input class="text-box single-line" id="@field.Name" name="@field.Name" type="text" value="@field.Valor" data-rules-required="@field.Mandatory.ToString().ToLower()" data-rule-number="@field.Tipo.Equals(SiB.OCR.Documentos.Modelo.TipofieldDocumento.Numerico).ToString().ToLower()" title="@field.Descricao" />
    </div>
    if (!String.IsNullOrEmpty(field.Format))
    @:<script type="text/javascript">$("[email protected]").mask("@field.Format");</script>

  • Line chart cuts off x-Axis value

    Hi All,
    Have created a display to display an x-Axis value versus a Y-Axis value using a Line Chart. We want to maximize the chart space so we have removed the Legend from the display, problem is doing this cuts of part of the final x-Axis label and part of the final data point on the graph ? Why - can we move the borders out ?
    Emmett

    Emmett,
    You can "Fake" some extra space out of the right side of the chart by setting the legend colors to blend into the background of the chart.  This includes unchecking the "Use Pen Color?" box and setting the labels in the legend to match as well.  Then simply set the legend to be whatever additional width you need.  Other than this there's not really any other way that I can think of.  Hope this helps.
    Sam

  • Stacked Bar showing VALUE literal instead of X axis value in hover hint

    I am converting to APEX 3.0 and noticed that the new "Show Hint" doesnt display the X axis value on a Stacked bar. Instead it shows the literal "VALUE". For example, I am displaying the number of orders for a given day. X=date, Y = count. I was expecting the Hint to display "11/15/07, 15" but instead it displays "VALUE, 15".
    This same sql displays correctly when I use it in a Line Chart.
    Any ideas? Thank You

    Bump...having same issue, still scanning message board for solution.

  • How do I update the chart axis values??

    I created a Gantt (bar chart) chart in Numbers for a project at work showing schedules.  It looked fine, and everything worked great.  I want to use that same chart, but I want to just update the data in it.  I can get the bars to change, but the Y axis data (not the numbered values in the chart, but rather the the actual names out to the side of the chart) will not change.  For instance....
    Name
    Start Date
    Finish
    Task 1
    January 1, 2013
    January 15, 2013
    Task 2
    February 1, 2013
    February 15, 2013
    The Tasks on the left will be the Y axis fields in a bar chart....and the dates will populate the graph.  I've created my graph from this data and got it like I want it.  Now let's say I want to simply change some things in the Name column:
    Name
    Start Date
    Finish
    New Task
    January 1, 2013
    January 15, 2013
    Task 4
    February 1, 2013
    February 15, 2013
    So without creating a new chart or anything, I just want to reflect the new names in my existing chart.  In Excel, when you change the value data, it updates the chart and "it just works" .  I'm wanting to use Numbers for this, and I feel like this is a simple thing that I'm just missing.  Help!

    Jerrold....thanks for the reply.  While you didn't answer my question exactly (I know I was a bit vague), you did put me on the right path.  I was trying to get the Category Axis values to change on the chart whenever I updated them in the table itself.  I couldn't figure out why they weren't but I think I have now. 
    I noticed that in the Category Axis field (Inspector) it had the actual typed names of my tasks from the table instead of the cell locations.  So...."Task 1" instead of "Table 1: C7".  I cleared out all of the text in the Category Axis field, which removed it from the chart.  then I just clicked on the fields in the table and it populated the Category Axis blank with the table/cell info instead of the text.  So now when I update one of the fields, it updates the chart because it's pulling from the cell data every time.
    I'm not really sure why Number, by default, enters the text into the Category Axis when making a chart instead of putting in the corresponding cell locations, but whatever.  I got it working now and should be good to go going forward, thanks for your help.

  • Graph: Get Right Y-Axis value with GetGraphCursor

    Hello,
    I'm currently developing an application for a customer which contains data being evaluated in a graph control.
    There are different scalings of data so I use the left y-axis for digital data and right x-axis for analog data.
    Now I want to add an annotation marker with the current X and Y value being displayed, when the user clicks into the graph.
    I use those two functions to determine the position and affected plot of the marker:
     GetGraphCursor(tabHandle2, TABPANEL_2_GRAPH, 1, &x, &y);
     GetGraphCursorIndex(tabHandle2, TABPANEL_2_GRAPH, 1, &plotHandle, &plotIndex);
    Now this works fine for the left y-axis, but I can't seem to find a way to get the y-axis value of the right side plot.
    I figure plotHandle and plotIndex should help me to get this data, but sadly I don't know how to use this information.

    Ok to clarify:
    I have a graph with plot values on the left and right y axis. Some plots use the left and some the right side.
    On default there is no cursor in this graph. But I want to provide the option for the user to enable a cursor.
    When the cursor is enabled it snaps on to the closest plot and an annotation shows the respective x and y values of the plot point.
    The problem is, when the left y axis is active and the cursor snapped onto a right y axis plot, the displayed y value is wrong (since the left scale is used).
    By left clicking into the graph, the user is able to snap the cursor onto another plot.
    So the main problem is, when clicking on a plot, the active axis has to change according to the plots respective axis.
    I can easily make this decision since the plot styles are different (left side is VAL_FAT_STEP, right side is VAL_FAT_LINE), but for the axis switch to take effect on the cursor, I would need to delete and add the cursor again. But in this process I lose positioning of the cursor and it snaps to a different plot again.

  • Howto pass dynamic jsp:param value to applet

    Hi.
    I have a JSP page with 3 to 4 links... and an applet with jsp:plugin .
    So i want to pass the URL behind the link to the applet as a Request Param..
    My JSP code looks like
    <a link href="www.google.com">Google</a>
    <a link href="www.oracle.com">Oracle</a>
    <a link href="www.gmail.com">Gmail</a>
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="this should be the "/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }I have a similar thread in Java forums... Howto pass dynamic jsp:param value to applet
    Thanks,
    Murali.

    My JSP code looks like
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="applicationURL"/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }Now i want to have links on JSP pages clicking on which corresponsing url will be displayed in applet.
    Edited by: 635237 on Jan 24, 2011 10:44 AM
    Edited by: 635237 on Jan 24, 2011 10:45 AM

  • 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

  • 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

Maybe you are looking for

  • Remembering Ipod settings in Itunes

    I dont sync my ipod in Itunes and I find that everything I connect the ipod (80g version) I have to switch to the browser view and my various column headings have defaulted back. I dont recall this being the case with previous ipods/itunes versions.

  • Question about using built-in Web Authentication.

    Is it possible to use LDAP servers as an Authentication Server for webauth? I'm running code 4.2. We can use RADIUS which I know works fine, but I'm unclear on how to get it to work with just LDAP (if it's even possible). We'd like to use LDAP so tha

  • Rac load balancing

    Hello, I am preparing to deploy RAC on oracle 10gr2 and I am considering availabe load-balnce and failover options. There is something I haven't clearly understand after reading some docs. I have a java application which connects to database through

  • Offline Adobe Upload Scenario: no server request

    Hello Experts, We have following sceanrio: 1) FileUpload UI element ('data' property bound to xstring context attribute 'PDFSOURCE') 2) Interactive Form UI element (pdfSource bound to 'PDFSOURCE' context attribute, dataSource bound to appropriate con

  • Iphone 5 wont charge unless cord is wrapped tightly around phone

    I've been having trouble charging my iphone5 for about a week now. At first it would 'disconnect' if the phone was bumped or moved during charging. However now the phone will not charge unless the charging cable is held at a particular angle, the onl