Changing Chart Legend Title

How do I change a legend title? I created a bar chart using the chart wizard, and the legend title was taken from the name of the column appearing on the Y-axis. I changed the axis label, but this change was not propagated to the legend title. Is there anyway to change the legend title, either directly or through PL/SQL?

Bill,
Oracle Graphics allows for the direct access to any object within a Chart via PL/SQL. This can be done either through a number of built-ins or even by traversing the Chart's Object Heirarchy (VGS tree) By getting the handle to the label object it is possible to directly change the text. The Reports Team is correct in that it cannot be done directly from within the Reports Builder (though may be passed as a parameter at run time). Instead create an OPEN_DISPLAY trigger in the Oracle Graphics Builder for the OGD which takes the desired text as a parameter.
There are examples of getting the handle to a chart opject in the demos & documentation.

Similar Messages

  • Change chart legend order

    I have bar chart with legend. I can change chart sort order from Chart Expert. When I change order in chart I can not see same order in legend list. How can I change legend sort order.

    Go through the following SAP Note
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303330333933313335%7D.do]
    Regards,
    Raghavendra

  • Line chart legend titles - fixed length?

    Hi
    I use a number of line charts wherein I specify the title of the individual series via variables &var1. and so on.
    When I use more than 3 series in the chart, the 4th and following(up to 6) series titles are shown in '2nd' column' in the legend title/color area of the chart.
    However it seems 2nd column always start a fixed number of px to the right of the 1st column no matter how long the titles of the legends in the first column is.
    The result is that legend titles and colors are written on top of each other and it looks very messy.
    Can I get around that somehow? Is there a fixed length defined somehow?
    I thought I could just pad blanks to the legend titles in the 1st columns, but no. I tried in a number of ways doing that via &nbsp, and &#160 and so on - but no effect.
    Anyone? any ideas?
    Best regards,
    Jesper G

    I've the same problem with APEX 2.2, does someone has an issue?

  • Cannot change chart legend data

    I am modifying an existing document and changing chart data in the data editor window. The resulting pie chart is accurate but the legend show the old data. I've deleted it and turned off/on the Show Legend selection and still the data does not match the chart. Any ideas ?

    Go through the following SAP Note
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303330333933313335%7D.do]
    Regards,
    Raghavendra

  • Is there any way to link the individual rows of data to the corresponding bars in a bar chart so that each legend title appears simultaneously with its corresponding bar when creating a build? I can do it in a pie chart but can't in a bar chart.

    Is there any way to link the individual rows of data to the corresponding bars in a bar chart so that each legend title appears simultaneously with its corresponding bar when creating a build? I can do it in a pie chart but can't in a bar chart.

    You used the data.  Verizon can not see what it was sued for.  However your phone can see whats apps used the data.  go to settings-data usage- there will be a place that says data usage cycle.  line the dates up with your cycle.  then there will be a bar graph below that   extend bother white bars one all the way to the left and one all the way to the right.  after those are extended below that will be a list of apps,  there should be one that used over 2 gb and that will show you what app used that data in her purse

  • How to programatically (dynamically) change the chart legend ?

    How do I add new labels/symbols to the chart legend dynamically ?
    I'm creating a scatter graph using the query
    select A,B,C from tableX group by A
    B is the y-axis, C is the x-axis. Points plotted for each grouping of A will be a different color. I know I can change the color of the point to be plotted thru the format trigger. The format trigger will change the color of the plotted points when there is a change in the grouping of A. My problem is how can I add a new label/color to the legend for each grouping of A as it is plotted ? The number of groupings of A is variable depending on what's in tableX. I need to programatically create the legend (each grouping of A will have it's own label/color) thru the format trigger as I won't know before hand how many groupings of A there will be.

    Try with Presentation variables.

  • Change Chart TItle

    Is there a way to change the chart title in Power BI Preview?

    Hello Brian,
    In the thread below, the user shows a way to change the chart title, but I don't know the version of PowerBI Preview he is using.
    https://social.technet.microsoft.com/Forums/en-US/2339b3ce-9c24-42e0-aba4-ddae9b3f348f/power-view-changing-chart-title?forum=powerview
    Hugs!
    Bruno Destro
    Dicas de programação em .net, C# e SQL - http://smcode.com.br/blog.aspx

  • CRVS2010 beta - chart legend

    Hello,
    I created a pie chart with a legend. Usually, when the legend has percents, the last row on the legend has the word "Total" and a percent. The legend has what looks like a field name with underscores.
    I right-clicked on the chart and selected chart options - - > general.
    Everything on the dialog box has something like "_e_[field name]".
    on the chart options submenu, the template and titles options dialog boxes also have the same issue.
    Is there some option that I need to change for the dialog box and the title field on the legend to change or is this a bug in the beta version?
    I searched this forum for a solution but did not find anything.
    Any help would be greatly appreciated.
    Thank you.
    Edited by: training 2go on Jun 15, 2010 3:31 PM

    Hi Ludek,
    I am happy to hear that the chart legend is scheduled to be fixed.
    This one was a little scary, because it worked in the prior version of crvs. At first, I thought that there was something wrong with my beta 1 installation.
    I didn't realize that the chart component was 3rd party.
    thank you
    Tracy

  • Custom Formatting Of Chart Legends

    I've been playing with Flex Charting, and I have lots of nice
    looking graphs that I've created from database feeds. However, what
    I really want to know how to do is format the chart legend better.
    For example I have a pie chart that has about 50 different data
    items/series and the legend is huge in either horizontal or
    vertical mode it prints all the way down the page. How can I make
    it two, three or more columns?

    Hi Justin,
    I think, there is no way to do such a customization with the standard Javadoc (i.e. powered by the Standard Doclet).
    After all, the job of the standard Javadoc is doing standard (general) things and I just cannot imagine any general rule (setting or option) that would embrace all kinds of possible customizations about displaying of annotations.
    So, the only way in your situation would be to modify the doclet itself. You can try tweaking the standard doclet: overload some its classes or change sources (according to the license they provide). However, I just can say, that way proved to have lots of limitations.
    Fortunately, I could suggest you a different rote that would allow you solving your problem in a few minutes. We have a product called "DocFlex/Javadoc":
    http://www.filigris.com/products/docflex_javadoc/
    This is a highly customizable Javadoc doclet. More exactly, this is a system for rapid development of professional quality doclets (with the support of both framed/single-file HTML and RTF output).
    With that tool, the generation of every sort of Javadoc output is programmed in special templates (using graphic Template Designer). The product is provided with the "standard template set" that generates the HTML Java API documentation very similar to the standard Javadoc.
    In fact, to solve you task, you will need to modify a subtemplate called "annotations.tpl". See on this page: http://www.filigris.com/products/docflex_javadoc/templates.php
    If you are interested about all this, we could help you to modify the necessary template absolutely free. Then, you will need only to buy a full product license to have everything work without limitations and that will be all!
    So, if you are interested, please let us know by sending a e-mail to the address found on this page:
    http://www.filigris.com/company/contact.php
    Regards,
    Leonid Rudy
    http://www.docflex.com

  • Flash Chart Legend Problem

    Hi,
    Im having a problem with my flash chart legends in Apex3.0.
    I have changed the name of the Series to what i want to appear in my legend - however the legend just shows "Value" for all my Series.
    Does anyone else have this problem?
    Cheers,
    Immanuel

    Hello,
    I need a legend like this
    No of Clicks('000)
    If i give l" No of Clicks('000)" as column alias, chart says Error :No chart data available.
    If i give "No of Clicks('000')" or "No of Clicks(''000)" as column alias in the query, it displays the correct legend..
    Would anybody tell me how to show the legend like this
    No of Clicks('000)
    Regards,
    Archana

  • Chart Legend: Worked in Beta, No longer working in Prod

    Hi everybody,
    The legend attached to the LineChart is no longer displaying the proper color. That is, the line, in the linechart 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 picking the fact that 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" displayName="Jobs" lineStroke="{s3}"/>
    </mx:series>
    </mx:LineChart>
    This worked in Beta but no longer works in Production. Is this a bug or I need to make coding changes to accommodate to new Production ways of dealing with this?
    Regards,
    egm

    Seems like a bug to me.  If you remove lineStroke="{s3}", the chart legend loads fine.
    Might have something to do with fill color perhaps?
    In any case, the fills documentation says:
    "If you specify the fills property and you want to have a Legend  control, you must manually create a Legend control and add LegendItems to it."
    Perhaps the entry for lineStroke should say the same.
    In the mean time you could use the defaults, or a custom Legend, like this (place into an AIR 2 project if you try running it):
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx" width="1059" height="722">
         <fx:Script>
              <![CDATA[
                   import mx.events.FlexEvent;
                   [Bindable]
                   public var platformsData:Array = [{id:1, jobs:'Test1'},{id:4, jobs:'Test2'},{id:6, jobs:'Test3'},{id:9, jobs:'Test4'}];
              ]]>
         </fx:Script>
         <fx:Declarations>
              <s:SolidColorStroke id="s3" color="0xFF0000" weight="2" alpha=".8"/>
         </fx:Declarations>
         <mx:Legend>
              <mx:LegendItem label="Jobs" fontWeight="bold">
                   <mx:fill>
                        <mx:SolidColor color="0xFF0000"/>
                   </mx:fill>
                   <mx:stroke>
                        <mx:SolidColorStroke color="0xFF0000" weight="2"/>
                   </mx:stroke>
              </mx:LegendItem>
         </mx:Legend>
         <mx:LineChart id="myChart" x="53" y="124" width="600" height="400" dataProvider="{platformsData}" showDataTips="true">
              <mx:series>
                   <mx:LineSeries yField="id" displayName="Jobs" lineStroke="{s3}"/>
              </mx:series>
         </mx:LineChart>
    </s:WindowedApplication>

  • Chart Legend order

    Hi All,
    I have created a chart ( line chart ) that shows trends. The egend shows up in alphabetical order which is fine but it does not match with the order of lines in chart which is confusing. Can someone please help me if there is any workaround to aligh legend value order with lines in chart.

    HI,
    Please try the below this worked for me:
    Right click on Chart and Select u201CChart Expertu201D -> u201CDatau201D tab.
    Select the field from u201COn Change Of Fieldu201D
    Then u201COrderu201D button will enable.
    Click on the u201COrderu201C Button , it will opens u201CChart Sort Orderu201D window.
    From the Drop down box select any one of the Sort Order.
    It will reflect on your chart legends.
    Also you can follow the below Forum posting:
    http://forums.sdn.sap.com/thread.jspa?messageID=11036283#11036283
    Cheers,
    Kiran
    Edited by: Kiran Suravajhala on Feb 24, 2012 3:41 PM

  • Arranging Chart Legend Items

    Is there a way to change the sort or arrangement of items in a chart legend? I am doing a simple stacked bar chart with 2 measures - % Pass and % Fail (for a school system), but it always shows % Fail as the first item in the legend. I would like to show % Pass first...is there any way?
    Thanks

    hi,
    We can do using combine with similar request
    Col A Col B '%Pass' 1--Req 1
    Col A Col B '%Fail' 2 --Req 2
    Asc order on numbers(1,2) .So that the legends will come %pass and %fail try it in pivot table
    I didn't tried this but i hope it ll work...All the best
    thanks,
    saichand.v

  • Pie chart legend options

    I have a spreadsheet with "expense categories" in one column and "dollar figures" in the second column.
    When I highlight the columns and create a chart I DON'T want to have to use "show legend" (with the color circles at the bottom) as it repeats my expense categories and just takes up space.
    What I want is what shows up with I click on the pie chart. When I do that, it changes my spreadsheet and shows the corresponding colors to the left of the categories.
    Is there a way to have my spreadsheet legends show up like in the picture below to the left?  It goes away the minute I click off the pie chart or try to print.
    Thanks in advance.

    See if this gets you started
    http://dl.dropbox.com/u/54961502/For%20Apple%20Forums/Legend%20in%20Table.number s
    I put the legend in a separate table that consists of a single column. The column contains formulas that refer to the data table (Table 1). The formulas are not affected by sorting the data table, you can sort it all you want and the legend will be correct. I filled each cell with color and used conditional formatting to make it white text on a white background if there is no header text for that row. I also made the borders white so they would blend into the page. Add text in one of the empty rows of the data table and you'll see how it acts.
    Notice that a pie chart has only six different colors, then the colors repeat. You can modify that but you'll also have to modify what I did by changing the legend cells to the the new colors. I changed the colors by turning on the legend, using the magnifying glass in the Color window to get the color, then drag/dropping the color on the cell. I do not know how many different colors you can use.
    I recommend locking the legend table so it cannot be modified by the user.
    I recommend turning Wrap off in the data table.  If text wraps it makes the row taller which will cause the legend and the table to become misaligned.  Changing the font, changing rows sizes manually, or moving the table will do that too.
    I recommend locking the chart so it cannot be modified by the user.

  • Pie Chart legend label icon

    Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color. 
    Thank you

    Hello Pedro,
    in general you can' t change the label icons in SSRS - I assume you mean with "label icons" the small colored rectangles indicating each of the sections in a pie chart. But I have a workaround for you: Simply not to use the build-in labeling mechanism
    of the chart, but to create an individual textbox with the needed symbols for your purposes. In that textbox you have to set an expression for showing the needed male or female symbols as Unicode-chars. There's a text function for that, I mean something like
    "=ChrW(&XXX)" is the appropriate expression. XXX has to be the character string of the Unicode-chartset, if you want e.g. the male symbol as an icon. Unfortunately, I can't post links, but it's quite easy to find via Bing or Google the needed
    chars or signs in the Unicode-Table (use e.g. "Unicode table" as search string and you find a great site for retrievaling chars and symbols in the Unicode-Table).
    Generally spoken, I wouldn't use pie charts at all, normally bar charts are the better choice in visualizing data - with bar charts it's easier to recognize skales than in a pie chart and you can often label bars in a direct way, so you don't need an extra
    legend.
    I hope I could help you, but feel free to ask me, if yo have further questions
    Robert 

Maybe you are looking for