Preplot graphic lines XY

Hello

Can someone tell me how to program to predefine preplot lines that appear as an attachment.  Such that the top line is upper limit, and the bottom line is the lower limit.  And midline of the actual data which, being to draw. Thus, the top and the bottom line remains there.  I have attached a few screenshots and the code that does this.  But whatever the reason, it would disappear the top and the bottom line in the program.  Thanks in advance.

Hi Amit4,

It is hard to tell from the example VI that you provided, but I think the problem you are having is because you have the upper and lower set as default values.  Whenever you write data in the chart, they should be replaced.  To avoid this you should be wiring the upper and lower limits for the chart every time you he new data wire, in this way will also write you these limits.  I hope this helps!

Kind regards

Kira T

Tags: NI Software

Similar Questions

  • Graphic line anchors...

    The script below from GitHub (graphic lines Wiki fabiantheblind/auto-typo-adbe-id ·) GitHub) creates the path below...

    The location of anchor for each point corresponds to the position of the point before.

    I want to create a path made of straight lines only and tried, in vain, either remove the anchors or anchor positions correspond to the position of the point that they are from.

    Does anyone have any suggestions?

    Thanks much for any help.

    gline.png

    var data = {}

    "pw" : 100,

    "ph" : 100,

    "anchors" : [

    0,50],

    [ 10,60],

    [ 20,40],

    [ 30,60],

    [ 40,40],

    [ 50,60],

    [ 60,40],

    [ 70,60],

    [ 80,40],

    [ 90,60],

    [100,50]

    ]

    };

    / / We need a doc

    / / use of pw and ph data

    var = doc app.documents. Add ({

    {documentPreferences:

    pageHeight:data.ph,

    pageWidth:data.pw

    }

    });

    / / the page is already there

    page var = doc.pages. agenda (0);

    / / create a graphicLine

    var = GL page.graphicLines. Add ();

    / / loop through the data.anchors

    for (var I in the data.) ( anchors) {

    var point = gl.paths [0] .pathPoints [i];

    /**

    * a graphicLine is always 2 pathpoints

    * So we need to add points from the third

    * the data object anchor

    */

    if (i < 2) {

    point. Anchor = data. anchor points [i] ;

    }else{}

    point = [0] gl.paths .pathPoints. Add ();

    point. Anchor = data. anchor points [i] ;

    }

    if ((i ! = données.)) anchor points. length - 1) && i!=0)

    point.rightDirection = data. anchor points [i-1];

    point.leftDirection = data. anchor points [i] ;

    }

    Thanks much for any help.

    gline.png

    Hello

    I would like to delete the line:

    if((i != data.anchors.length - 1)&& i!=0)
    

    and change the line:

    point.rightDirection = data.anchors[i];
    

    Jarek

  • ClickListener in ADF graphic line

    Hello

    Is it possible to have the values of the axes x and y (i.e.coordinates) of the graphic line if the user clicks in an area of the line between the points (not the point itself)?

    I can get the values of the axes x and there if I click on the point on line as follows:

    public void graphClickListener (ClickEvent clickEvent)

    {

    ComponentHandle handle = clickEvent.getComponentHandle ();

    If (handle instanceof DataComponentHandle)

    {

    DataComponentHandle = (DataComponentHandle) handle dhandle;

    Object Val = dhandle.getValue (DataComponentHandle.UNFORMATTED_VALUE);

    Date timeVal = null;

    Attributes [] seriesInfo = dhandle.getSeriesAttributes ();

    If (seriesInfo! = null & & seriesInfo.length > 0)

    {

    Object = seriesInfo seriesName [0] .getValue (Attributes.LABEL_VALUE);

    Attributes [] groupInfo = dhandle.getGroupAttributes ();

    If (groupInfo! = null & & groupInfo.length > 0)

    {

    TimeObj = groupInfo object [0] .getValue (Attributes.LABEL_VALUE);

    If (timeObj! = null)

    timeVal = new Date (((Date) timeObj) .getTime ());

    }

    }

    However when I click on one area of the line between the points (not the point itself) I can get only the information series, not axis x and axis are name value:

    ElseIf (manage instanceof SeriesComponentHandle)

    {

    Get the attributes for the series

    Attributes [] seriesInfo = ((SeriesComponentHandle) handle) .getSeriesAttributes ();

    String data = "";

    If (seriesInfo! = null)

    {

    for (uploading Attributes: seriesInfo)

    {

    data += "\nSeries value:"+ attrs.getValue (Attributes.LABEL_VALUE);.

    data += "\nSeries name:"+ attrs.getValue (Attributes.LABEL_ATTRIBUTE);.

    data += "\nSeries id value:"+ attrs.getValue (Attributes.ID_VALUE);.

    data += "\nSeries name id:"+ attrs.getValue (Attributes.ID_ATTRIBUTE);.

    }

    }

    System.out.println (Data);

    }

    }

    Here is the source of the jsf file:

    < dvt:graph id = "lineGraph1" animationOnDisplay = "auto".

    tabularData = "#{pageFlowScope.gaphPageStateBean_backing.graphTabularData} '"

    customToolTipCallback = "#{pageFlowScopegraphPageStateBean_backing.callback} '"

    graphType = "LINE_VERT_ABS."

    seriesObjectCount = "#{pageFlowScope.graphPageStateBean_backing.seriesCount} '"

    timeRangeStart = "#{pageFlowScope.graphPageStateBean_backing.graphStartDate} '"

    timeRangeEnd = "#{pageFlowScope.graphPageStateBean_backing.graphEndDate} '"

    timeAxisInterval = "CTAI_MINUTE" timeRangeMode = "TRM_EXPLICIT".

    "partialTriggers =": commandLink1: t1:cb7.

    Binding = "#{backingBeanScope.graphPageBean_backing.graphBinding} '"

    clickListener = "#{backingBeanScope.graphPageBean_backing.graphClickListener} '"

    timeAxisType = "TAT_IRREGULAR" textAntialiasing = "true".

    scrollListener = "#{backingBeanScope.graphPageBean_backing.scrollListener} '"

    zoomListener = "#{backingBeanScope.graphPageBean_backing.zoomListener} '"

    markerTooltipType = "MTT_VALUES_TEXT" >

    < dvt:background / >

    < dvt:graphPlotArea / >

    < dvt:seriesSet defaultLineWidth = "3" defaultMarkerColor = "#ffffff".

    seriesMap = "#{pageFlowScope.graphPageStateBean_backing.lineGraphSeriesMap} '"

    markerDisplayed = 'true '.

    defaultMarkerShape = "MS_CIRCLE" / >

    < dvt:o1Axis id = "rhrhtr6" scrolling = "on" / >

    < dvt:y1Axis id = "fwef43" lineWidth = '1' axisMaxValue = '1.0 '.

    axisMinValue = "0.0" logarithmicBase = "10" / >

    < dvt:legendArea automaticPlacement = "AP_NEVER" rendered = "false" / >

    < dvt:o1TickLabel id = "o1TickLabel1" tickLabelSkipCount = "50".

    tickLabelSkipMode = "TLS_MANUAL".

    tickLabelSkipFirst = "0" / >

    < dvt:y1MajorTick id = "y1MajorTick1".

    tickStyle = "#{pageFlowScope.gaphPageStateBean_backing." YAxisTickLine} "/ >"

    < rendered dvt:y1TickLabel = "false" / >

    < dvt:shapeAttributesSet id = "shapeAttribSet1" >

    < component dvt:shapeAttributes = clickable 'GRAPH_AREAMARKER' = 'true '.

    ID = "shapeAttrib1" / >

    < / dvt:shapeAttributesSet >

    < dvt:timeAxisDateFormat timeFormat = "HOUR24_MINUTE."

    yearFormat = "YEAR_LONG."

    monthFormat = "MONTH_SHORT."

    quarterFormat = "NONE" / >

    < dvt:o1Title text = "" time: "horizontalAlignment ="LEFT">"

    < dvt:graphFont id = "graphFont1" emphasized = "true" color = "#002173" / >

    < / dvt:o1Title >

    < dvt:annotationSet annotationMap="#{pageFlowScope.graphPageStateBean_backing.graphAnnotationMap}"/ >

    < / dvt:graph >

    Thank you.

    Valon

    JDeveloper 11.1.1.5.0

    AF:graph

    Except if a function is used to interpolate the data points, is not possible.

  • Maximum graphical line of items

    Hello

    I have a report page that also contains a chart area. Once I submit to the dates entered will appear between the dates, and also line chart will appear. In the chart, I have the "tax" on axis y and the days on the x axis. Once my period of 15 days, there is no problem with the graph. However, if I want to look at the graph each month, it goes to 15 days. So, my question is that if graphic line supports up to 15 entries or not?

    Thank you

    Hello-

    Looks like your graphical query of the series is limited to 15 lines. You can change this value in the App generator.

    Austin

  • Find and delete the graphic lines of geometric limits

    Hello world

    I'm really desperate after days of web browsing and the forums that I still cannot understand this.

    I'm working on InDesign CS3 on a MacBook Pro with Snow Leopard.

    I have a catalog of 300 pages, set up thanks to a data merge. Unfortunately this way, I produce 2 graphic lines at the end of each page to which I would like rather to remove. Since I don't want to do it manually to each page and I'll have to set up this catalog quite frequently in the future I would like to remove these lines using Applescript.

    Since I have about 12 more of the same lines on each page (same style, color, stroke etc) I thought that the only way to tell which Applescript to remove is the geometrical limitations because these lines always run the same coordinates on each page.

    Unfortunately I can't understand it. I tried the following code:

    tell application "Adobe InDesign CS3"
         tell document 1
              repeat with oneFrame in (get graphic lines whose stroke weight = 1)
                   if geometric bounds of oneFrame is {0, 0, 0, 210} then
                        delete oneFrame
                   end if
              end repeat
         end tell
    end tell
    
    
    

    RESPONSE

    tell application "Adobe InDesign CS3"
         get every graphic line of document 1 whose stroke weight = 1
              --> {graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"}
         get geometric bounds of graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"
              --> {0.0, 0.0, 0.0, 210.0}
         delete graphic line id 187 of page id 177 of spread id 172 of document "Untitled-16"
    end tell
    
    
    

    It worked well for the line to x y 0mm 0mm with a length of 210mm.

    I tried the same thing with a line x 3mm y 134mm length of 210mm with the following code

    tell application "Adobe InDesign CS3"
         tell document 1
              repeat with oneFrame in (get graphic lines whose stroke weight = 1)
                   if geometric bounds of oneFrame is {134, 3, 134, 213} then
                        delete oneFrame
                   end if
              end repeat
         end tell
    end tell
    
    
    
    

    ANSWER:

    tell application "Adobe InDesign CS3"
         get every graphic line of document 1 whose stroke weight = 1
              --> {graphic line id 213 of page id 177 of spread id 172 of document "Untitled-16"}
         get geometric bounds of graphic line id 213 of page id 177 of spread id 172 of document "Untitled-16"
              --> {134.0, 3.0, 134.0, 213.0}
    end tell
    
    

    It was my best shot. No idea if I'm on the right track or totally out of bounds.

    Any help would be much appreciated!

    Thanks in advance...

    Osinho

    Take a look at that show the values for the geometric limits. These figures related to your x and is coordinated and you refer to them by their article in the list, for example, item 1 is the first "134,0" in your list, point 2 is called the "3.0", etc. So you need to refer to "that item 2 of geometric limits = [regardless of the value you're trying to match].

    If your document is very complicated, I think I would add another modifier to ensure that you get the right things, to say if these lines have a color that is not used on other graphic in the document lines, or if their weight of race is different, or even tests two items in the list of geometric limits if there is two that appear systematically in all the elements you want to delete - something for you make sure that you ONLY get references to the items that you want and are not likely to delete something, you need to keep.

    Good luck and welcome to AppleScript!

  • The changed graphic line in the histogram chart on my health application. How can I change this back?

    The graphic on my health application under a line chart to a bar chart.  How can I change this back?

    Answer is simple: you can not change it back because of the update of IOS.

    BUT why have they changed it? Us users want to line charts!

    Anyone care to explain Apple? This is quite annoying...

  • Mixed Signal graphic = &gt; line of bad names

    Hello

    I want to use a graph of Mixed Signal and I noticed that the digital waveforms line names are not properly displayed.

    For example:

    The attributes of the wave the nams of line are defined as "Name1" "Name2"; "Name3"...

    On the graph of Mixed Signal, the first line is correctly called 'Name1' but all the others are called "Digital 1-> Line 0"; ' " Digital 2-> line 0 '...

    Is this a bug in LabView?

    If you use a normal digital chart, all names are displayed correctly.

    Yes, I know that I can change the linenames with a property node, but it should also work with the attributes of waveform.

    And a small second question: why are there no digital and mixed-signal graphics cards? I always build them manually...

    Best regards

    Reinhard

    Hello Reinhard,

    I think I found a link that might cover your problem. Looks like it has been known for some time

    How can I assign names to my digital waveform shown mixed graphic Signal?

    http://digital.NI.com/public.nsf/allkb/A6D74595D0EEFA6386257D77006537DE?OpenDocument

    Best regards

    Michael

  • constraints in the graphics lines

    Muscle memory tells me I can press and hold to draw straight lines with graphical tools, but whenever I tried yesterday it just canceled the operation of demarcation line. FM 2012 - have so far failed to notice/stumble onto an "improvement" over previous versions?

    It was persistent, but, for the fear and amazement on the face of the developer: "you mean those are three separate, editable graphics in this diagram? and the connectors are separated too? »

    He has just cancelled the operation of demarcation line

    FrameMaker has a weird turn on shift and drag to a straight line. Press and hold SHIFT before you draw the line. The penalty for pressing SHIFT after you start drawing? The row is deleted. Enough of the penalties, if you ask me, but this behavior has been in place for 8-10 years. Before that, he worked as any windows application.

  • How to display current date time of day previous same time and same with last day of the week with 24 hours in relation to the graphic line obiee 11g

    Hello


    Can someone help me with the problem I am facing to... my scenario is currently that we show reports from 00 hours up to 24 hours. But now the client wants to exact more than 24 hours for chart reports.

    This means that if the time is now 16:05 hours, then graphical report must display data for 16:00 Hrs from yesterday until 16:00 hours that day. Is the same for the last week day 24 hours as well. Means they need two lines in the chart. Please help me...

    Thank you

    Srini VIEREN Terry.Williams dileraco

    Hello

    Now using these variables filter your column of measure...

    Kind regards

    Naga

  • Why are graphic line not appearing in the Preview Mode when they show in Normal view?

    I use CS4, InDesign I used it for 4 years. I can't understand why this is happening...

    In the tools Panel, I use online tools and circle. Drawing circles on my paper with a weight of 1 race and lines (arrows). The lines are the top item on my page, the last thing I draw. I draw lines that more would go not only to other graphics, but on the text as well.

    Problem is that they appear only in Normal mode, not the preview mode. Therefore, I don't think that they will appear on the final document.

    I have often used these tools, and the lines that do not display is a new problem. Can someone shed some light on why this is happening?

    Thank you, Louise


    I see two possibilities. You put them on a layer that is set to non-printable or you put inadvertently from the default value of the tool for non-printable in the Panel.

  • How can I change the base color of graphic lines?

    I used the graphic baselines in the Swatch Library - (shades libraries > patterns > basic graphics > graphic baselines) to fill a retangle.  My question is, if I change the colors of the lines?  I tried everything I know and can't seem to understand.  Does anyone have any suggestions?

    Without you drag in the swatch Panel.

    First, you select it will do a swatch in the swatch Panel

    then you drag the swatch in the swatch on the canvas Panel and

    color and then option you drag the color on the color chart version

    in the swatch Panel. The Panel that you have taken the nuance is a shade

    Library.

  • Series multi graphic line you are ordering

    I have a line chart with two series and I have a problem of sorting when the data in the second series are not within the limits of the first.

    For example, the blue line represents the series with the smallest value of sequence (10) in this case.

    The red line is the second series with 20 sequence, but the final two points a rendering on the far right, when really belong it to the far left, before the first blue point data - because they are in August 2014.

    series_order_2.png

    The problem is compounded when the series is backwards. Note the dates on the x-axis.

    series_order.png

    The two SQL order by the date value.

    The only mention on the forums I've found is the following, without result

    Bar stacked with several series chart kind Question

    (Note that long lines are through ignore_missing)

    It comes to 4.2.0 but happy to reproduce on apex.oracle.com if you want to play.

    See you soon,.

    Scott

    The solution is to ensure that the first series of the chart contains the range minimum or maximum of the x axis, while the y-axis is null values or zero.

    It turns out that the application already had a bunch of NULL values in the blue series to ensure the good spacing in red, otherwise, time scale is all wrong as months as may-2015 are ignored in the plot.

    The query initially ignored these first four blue spots from scratch. Now they are restored, the corresponding red data points can be plotted at the same time.

  • ADF DVT remove the marks of the graphic line

    Hello

    I want to make the marks of the line disappear in my chart.

    Is this possible?

    RemoveLine.jpg

    I looked at the graphPlotArea tag my DVT but impossible to find a property to hide.

    Any clue?

    Thank you

    JDEV 11G

    In the source, you can change

    This will get rid of the lines

  • How can I prevent my graphic line to cover the bars in my bar chart?

    I have a stacked bar chart, and I have horizontal lines along the vertical axis (essentially the tick marks which are dotted lines that extends from left to right). The problem is that they are first bars and they need to be behind bars (in other words not visible in the places that they intercept the bars)

    I hope that I don't need to create a background for the lines layer, because it is the source of my next question/problem.

    assuming that you created it in illustrator - selects the lines - and then in your main menu click on object > Arrange > Send to back

  • CS6 - block graphic line.

    I have a rather strange problem.

    I created a box with a top component, medium and low component. I am having a problem making the middle and lower parts connect and appear smooth. In InDesign, the parties seem to fit well but in the PDF Viewer, it is different (and unacceptable) at various magnifications.

    I inserted an illustration showing the appearance at different zoom levels. How can I fix this annoying aspect to that, at least, the appearance is acceptable in low zoom levels?

    BTW, the lines are all exactly the same width. They were created in InDesign using the curved corner box. I then used the scissors to split the box (so that I can stretch the middle section without affecting/changing the shape of the corners).

    Thank you

    Alignment_issue01.png

    I don't understand why you have to divide the area in the first place. You can easily resize a box corner rounded without affecting the corners.

Maybe you are looking for

  • Satellite 1900-303-type of RAM can be installed?

    Hi guys,. I want to know a news on my Satellite 1900-303.What type of RAM can be installed?I have a 266 mHz, but it is quite impossible to find now on the market at a good price.so can I get a 333 mHz RAM, or my laptop it does not recognize in a good

  • Network options

    I can't connect to the internet. In Control Panel, under network connections, there is no option of connection shown. They seem to have disappeared.

  • Can I transfer my data TEMP and TMP with a RAMDisk?

    Hello I have a virtual drive on my computer Setup and want to know if I'll run any problems if I move my windows TEMP directory to it?

  • Fill in the string that is converted to DATETIME

    Dear allI back campos start date y end date. Based on another field called value start end date is filled with time. But the end date value is appearing as 19 may 2015 00:00:00 I want to fill in real time.I am using following code.DateFormat trainer;

  • Security on Business rule Runtime guest

    I have a form which, upon registration, runs a set of business rules that allows users to select a member of our dimension entity set to run.We do NOT want the users who have access to "TotalCompany" to run the commercial rule throughout the company.