Properties of a chart legend

Hello!

There is a simple XY Chart with legend on attacched photo; in the legend, the index display is visible. I would like to read the index by a knot of property or something like that, but I'm not able to find the appropriate property node or a way to do it programmatically in my VI.

Any suggestion?

Thank you

Antonio

Hi Antonio,.

I don't think that display index legend could be used in such a way, because the index in legend display helps us tell what index plot the legend is not as input. Maybe using a table / control ring containing the name of the parcel could help you achieve the same result. Here, I have attached an example for you. Hope this helps.

Tags: NI Software

Similar Questions

  • synchronization of a listbox and a chart legend

    Hi all

    I'm working on a code where I would be able to select/deselect 50 locations on a XY Chart.  Due to the relatively large number of field names, it makes sense to place them in a scrolling caption or listbox.

    Problem is (AFAIK), the legend of the parcel can not be used to * easily * plots do disappear and appear with a single click - must right click, go to colors and select transparent, etc. and then reverse the procedure to return the plot.

    An alternative might be to use a list box 10 long lines as main indicator, then use some of its properties to create a dynamic chart borrowed from a second hidden chart legend.  This legend of the plot to reconfigure its colors of dynamic line/symbol based on where the user is in the scrolling list box.

    A problem I encountered is that the Label.ScrollPosition property is not going to write an indicator for me.  See the code example.

    Top row provides comments in the list box, but not enough information to do the job properly.

    Any thoughts?

    Kind regards

    Ted

    Hi to know the position of the list box item...

    Try this...

    >

  • Hide the Excel using LabVIEW Report Generation Toolkit or active chart legend

    Hello Eveyone:

    I'm working on tool report generation in labview and creat excle report. I create the chart in the report, but I can't hide the chart legend or change the font size using the report generation tools.

    I appriciate you guys time.

    Thank you

    Howdy!

    What version of LabVIEW Report Generation Toolkit you use? Did you take a peek at the .vi LabVIEW example column chart (Excel)

    and he looked at using the Excel insert graphical VI and Excel graphic Set do?

  • 11g - change number of columns in the chart legend

    In 10g, we could define the number of columns in a chart on additional graphical Options legend... Tab legend. 11 g, I can not simply find this option anywhere in the graph properties. Has it been removed in 11g, or am I just blind?

    Yes this option is over now. Only option is to add the legend display and place accordingly. Hope replied.

  • Rotate the Plot chart legend of XY

    Is it possible to rotate the legend of the plot for the plot names letters run from the bottom to the top rather than in the whole of the operator interface?

    The names of my plots are bigger and I need to show at least four plots at the same time. Put the scales to the right/left/above or below without rotating can cause a short XY Chart!

    Any ideas for me?

    Concerning

    Waris K

    Hello

    I don't know if there is a native way to do it, but you can 'cheat' to do this:

    You can move the table where the captions are, or even make the table turn into lines instead of the column.

    Is the idea ok for you?

  • How to control the direction of expansion of a XY chart legend

    Hello

    I adjust the number of plots by using the property node "Legend.Number of Rows (LegNumRows)" a XY Chart. I wish that the legend spread in the horizontal direction (right). I can choose the direction of expansion or growth of the legend on the front panel using the point of the scale on the right edge of the legend, similar to a table. So far so good. But the problem arises when the number of plots (LegNumRows) property drops to 1 or 0. What I mean is: I have 3 parcels on the legend laid in the horizontal direction. I run the application. Then I reduce the number of parcels programmatically (using the LegNumRows property node) to 1. Finally, I increase the number of plots again to 3. This time the legend grows / grows in the vertical direction. But I want him to stay in the horizontal direction.

    Is it possible to do this?

    As a side note, I discovered that the legend is in fact an array of clusters. I discovered by first customize the XY Chart, then customize the legend. But still no luck. Is there a way to programatically change the internal objects of a control to run?

    I'm curious to know if there is any programmatic elegant solution to this problem. I appreciate any help or idea.

    Thank you.

    Burak Soysal

    You can create a custom control and replace the control with your own image that corresponds to the background. Then place this control on extra legend items to hide. It's a little hard to describe so I made you an example:

    When running, the cover of the legend merges with the background and the legend.

    I did a Boolean, then went to advanced > customize. I copied then a section of screenshot that I took of the edge of a legend in to replace the normal Boolean image. Put this value just right, you can cover one end of the legend and if you disable the Boolean value the user will not be able to click on it. When you need more or less than the element 1 legend, you can hide the Boolean value programmatically.

    It takes some tinkering with the photo (I used the paint), but I bet you can get it right if you spend time on it.

  • Removing plot a chart legend?

    HI - another beginner question:

    Following the tutorial, I created a graph. The graph has a small box to the right to go a legend for the different plots. (I would like to put a picture, but looks like that I do not have permission to do so).

    The purpose of the chart is to trace thousands of points on a Cartesian plane. I got this job (sort of) with the PlotPoint() function. When I run the program, however, many quickly organized points exceeds the capacity of this legend (and won the start programme).

    So: can I get rid of this legend somehow? On a side note, I am inefficient with this approach? Would it not be better to collect the points table and use PlotXY instead?

    Thank you.

    Hello

    regarding the legend, open the respective popup panel by pressing the button caption on the graphic control panel change:

    On top of this Panel, you will see a checkbox Show legend:

    This box should do the job...

    Regarding the choice of the route of functions: I would not draw 1000 individual data points, but use it rather PlotXY. Alternatively you can consider using a graph of the band instead of a graph, which allows you to add a data point after another

  • Area of the graph under the graph and not next to the chart legend

    Hello

    I need to display 1. Graph legend below the graph and not next to the chart area and also reduce the space between the caption box
    2. the values in the chart are affiches.1745%, 4.596%... I need to round up these values.

    My card code is:

    chart:
    < graph graphType = 'PIE' depthAngle = '50' depthRadius = '8' pieDepth = "30" pieTilt = "20" seriesEffect = "SE_AUTO_GRADIENT" >
    < title text = "Answer category" visible = "true" horizontalAlignment = "CENTER" / >
    (< LocalGridData colCount = rowCount="{count(.//G_DT_NON_NA_EQUITY1) '1'}" > "
    < RowLabels >
    < xsl: xmlns: xsl foreach = "http://www.w3.org/1999/XSL/Transform" select=".//G_DT_NON_NA_EQUITY1" >
    < label >
    < xsl: value-of select = "SPER_STATUS_TXT10" / >
    < / label >
    < / xsl: foreach >
    < / RowLabels >
    < DataValues >
    < xsl: xmlns: xsl foreach = "http://www.w3.org/1999/XSL/Transform" select=".//G_DT_NON_NA_EQUITY1" >
    < RowData >
    < cell >
    < xsl: value-of select = "CNT20" / >
    < / cell >
    < / RowData >
    < / xsl: foreach >
    < / DataValues >
    < / LocalGridData >
    < / chart >

    I appreciate all the help

    best regards and many thanks
    Bhavana
    
    
  • The chart legend appears not

    Hello

    I recently migrated my Flex 3.2 to 4.5 Flex application. I use a few cards in my application. I noticed a strange problem when I run my application with Flex 4.5. The legend of my piechart is not visible. The text is visible but the colors beside the text is invisible. The application works fine in Flex 3. Can someone help me in this regard.

    Thanks in advance,

    Nirmal Kumar Blues

    Thanks for the reply.

    in any case, I got the answer. My legend appeared once I commented SeriesInterpolate I used as an effect to the pie chart. Need to check how it works in Flex 4.5.

    Thank you

    Nirmal Kumar Blues

  • The chart legend: worked in beta, no longer works in Prod

    Hello world

    The legend attached to the LineChart poster is no longer the appropriate color. In other words, the line in the chart is red (as requested), but the 'legend' is black. It is supposed to be a red square and the word 'Jobs', but I get a black square (as it is not gathering because it should be red).

    < s:SolidColorStroke id = "s3" color = "red" / >

    ...

    < mx:Legend dataProvider = "{myChart}" / >

    ....

    < mx:LineChart Id = "myChart"

    x = "10" y = "40" width = "600" height = "400".

    dataProvider = "{platformsData}".

    showDataTips = "true" >

    ....

    < mx:series >

    < mx:LineSeries yField = 'id' = 'Jobs' lineStroke "{s3}" =displayName / >

    < / mx:series >

    < / mx:LineChart >

    It worked on Beta, but is no longer works in Production. Is this a bug or I need to change the encoding to accommodate new modes of Production to deal with this?
    Kind regards
    EGM

    Try using instead of mx.graphics.SolidColorStroke mx.graphics.Stroke.

    You can get the warning of disapproval, but it renders the color legend properly in my case.

    K

  • Change the "Default" location for the chart legend

    Hello

    By default, when you create a natalLa legend appears to the right of the chart itself. As a society, all our legends are upstairs. Is there anyway to set the default location of albums rather than right?

    Thank you

    Hi Baqpuss,

    You should be able to edit the files cxml and pcxml that are used by Corda Popcharts to set the default value.

    You will find the files that will be of interest to you:
    C:\OracleBI\web\app\res\s_oracle10\popbin
    C:\OracleBI\web\app\res\s_oracle10\chartsupport
    C:\OracleBI\web\app\res\s_oracle10\charts

    Don't forget to make a backup before you change them. Once you have completed your changes, you must restart the BI server and the presentation service.

    For more information about editing the files, see the reference document. C:\OracleBI\corda50\docs\graph_reference\graph_reference.PDF

    I recommend you to create a chart type custom rather than change the existing chart types.

    John Minkjan has done a bit in this area. See his blog for more details: [http://obiee101.blogspot.com/search/label/CORDA]

    -Joe

  • Line chart legend appears not

    Hi all

    I'm working on learning Flex for potential use in my business. Of course, to the first demo, I just want everything to look great and I have a problem with the tables.

    I'm feeding a chart in an external xml file. The data is displayed correctly, but I can't get the legend labels to appear. I think that my xml is incorrect, but I don't know why. What I am doing wrong?

    Sure thing. You can link to the yField, like this:


    >

    You will get a warning, as the liaison for that value used to detect changes, but this will work. Similarly, you could link it to any variable, perhaps that may be related.

    HTH,
    Matt Horn
    Flex docs

  • Flash chart legend

    I built a graphic 2D online Flash with 6 series. My problem is that the legend indicates the word 'value '. Does anyone know how to display the name of the series in place of the legend.

    The f

    Jeff:

    Provide aliases for the series values in the query in the chart as below

    SELECT NULL LINK,
           ENAME LABEL,
           SAL "Salary",                     ---- Series 1
           COMM "Commission"          ----  Series 2
    FROM   EMP
    

    CITY

  • The chart legend

    I have a table with the 5 series.
    The first series has a where clause such as clause
    where to _char(p_date, 'yyyy') = to_char(sysdate, 'yyyy')
    The second series is
    where to _char(p_date, 'yyyy') = to_char(sysdate, 'yyyy')-1
    and so on up to the
    where to _char(p_date, 'yyyy') = to_char(sysdate, 'yyyy')-4
    How to display the year in the legend

    Gus

    Hello

    I see you missing between single quotes.
    I think that the body of the function must be

    DECLARE
    l_sql VARCHAR2(32700);
    BEGIN
    
    l_sql := '
    SELECT NULL AS LINK,
    TO_CHAR(mii.first_bfg, ''MON'') AS MONTH_TOTAL,
    COUNT(mii.item_id) AS "' || TO_CHAR(SYSDATE, 'YYYY') || '"
    FROM mer_imported_items mii,
    mer_makes mm,
    mer_categories mc,
    mer_driver_position dr
    WHERE TO_CHAR(mii.first_bfg, ''YYYY'') = TO_CHAR(SYSDATE, ''YYYY'')
    AND mii.owner_type = 1
    AND mii.tax_free_id = 1
    AND mii.new_vehicle_indicator_id = 1
    AND mii.driver_position_id IS NOT NULL
    AND mm.make_id = mii.make_id
    AND mc.category_id = mii.category_id
    AND dr.driver_position_id = mii.driver_position_id
    GROUP BY TO_CHAR(mii.first_bfg, ''MON''), TO_CHAR(mii.first_bfg, ''MM'')
    ORDER BY TO_CHAR(mii.first_bfg, ''MM'')
    ';
    RETURN l_sql;
    END;
    

    Kind regards
    Jari

  • Legend of Charts Flex customization

    Is there a way to customize the chart legend < mx:Legend / > so that it displays items horizontally, but will come down to a second line if all items do not match?

    I blogged on this a few months ago:
    http://blogs.Adobe.com/FLEXdoc/2008/07/customized_legend_layout.html

    HTH,
    Matt Horn
    Flex docs

Maybe you are looking for