Title for the Legend in jfree charts

Hi,
I want to give the Legend a Header i.e a block above the legend stating the name of the Legend. I am unable to find a method that would help me with this.M using jfree1.0.2
(a small example could be helpful)

Hi Manish,
Can try like this:
Standard Field >> Do F1, Take the Data Element.
Go to CMOD, on that screen Click Goto >> Text enhancements>> Keywords >> Change.
Type the Data Element name noted earlier. Press Enter.
A screen with several fields will be displayed. They contain the various descriptions for the data element selected. Depending on what screen/layout this data element is used the system will use one of the short, medium or long description fields.
The Heading field, as its name suggests, will be used in the list header row of a layout. The Short Description field will be used when you select the function key F1 (help) on that field.
The length of each field is :
- Short field label: 10 characters
- Medium field label: 20 characters
- Long field label: 40 characters
- Heading: 55 characters
- Short Description: 60 characters
Replace the texts with those that you want to appear. Save your changes (This will be a Customising Request). Note that this is a cross client change.
Please note that F1 Help will still display the standard help, with only the First Line changed as per your corrections (Custom Field Name).
Regards
Saurabh

Similar Messages

  • Charts Without Legend - Still Allocates "Space" for the Legend.

    Hello,
    I created a charted and am able to disable the legend through chart.setLegendVisible(false); However, when I put my chart into the stage, there is this "blank" area beneath the chart where the legend would normally go.
    I tried:
    chart.setPrefHeight(###} but all that does it make the graph area of my chart squished and doesn't remove that blank area.
    Is there a way to get ride of this space that the chart allocates for the legend?
    Thanks.

    If you delete photos from your iPad, they will also be deleted from iCloud and you'll lose them.  Also, having additional iCloud space won't give you any more space on your device.   You can't move any data to iCloud and delete it from your device.  All you iCloud data is also on you device, and if you delete it from your device, it is also deleted from iCloud.
    One option to free up space for the update is to delete the music from your iPad, then sync it back using iTunes after you update.   (You can delete it all by going to Settings>General>Usage, wait for the apps list to open, then tap Music>Edit, then tap next to All Music.)
    Also, if you purchsed the iCloud storage upgrade in the last 15 days thinking you chould use it to free up space on your iPad, you can call the Apple online store for your country and get a refund (1-800-MY-APPLE in the U.S. and Canada.)

  • How can I create a Title for the worksheet in Discoverer Plus

    Dear members,
    I am using discoverer 4i Plus to create workbooks. I am not finding an option to insert a title for the worksheet. In Discoverer Desktop we have a separate option to insert or edit a title. I am not sure how can we create titles in Plus.
    Any suggestions.
    Thanks
    Sandeep

    Hi,
    I am not able to login to Discoverer Desktop Using my Applications username. My Desktop Version is 4.1.37. The same username works in Discoverer 4i Plus and i can create workbook there.
    I went to Tools--->Options--->Connections and checked the option connect to both standard and application EUL's and while i am logging in i checked the small box which comes in the login screen. I do not know why this happening.
    I am also able to login as the database user in Desktop but not as an application user.
    I want to login into desktop as an application user and create a template workbook which has title and then assign that workbook to a particular responsibility since creating title cannot be done in Plus.
    I am not sure what's going wrong here because the Desktop works for database user but not for an application user. Any comments are highly appreciated.
    Thanks
    sandeep

  • TITLE for the Interactive report

    Hi,
    I like to show a Title for the Interactive Report in several different languages.
    But it seems if I just pick Interactive report, there will be no Title shown.
    What is proper way of doing this ?
    So, what I did was, I created a HTNL region, just to show the Title, but it seems the translation and XLF file doesn't pick it up
    Please help
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I have further to report.
    It looks like a bug.
    The REGION title text is missing in "TRANSLATE APPLICATION" in "SHARED COMPONENTS" under WINDOWS environment.
    The REGION title text is in SUN environment, but does not shown as translated in the browser.
    Thx
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Browser tab title for the site goes away.

    I have modified my master page to show the Title for the Site Home page in the Intranet Portal. The tag in the master page reads this:
    <title id="Title1" runat="server"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">ABC</asp:ContentPlaceHolder> </title>
    When I browse the site in IE, the title "ABC" shows up in the browser tab but goes away after some time. In chrome, it gets replaced by the URL of the Site page:
    http://site/pages/default.aspx. It only happens when i'm on the Site Home page. When i'm on a different page or within sub-site, it retains the Name of that page. How can I resolve this so that Title stays as long
    as I'm on the site home page.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

    Hi K-Joshi,
    According to your description, my understanding is that you want to customize the browser title for a site in SharePoint 2010.
    Please change the Title tag in your master page as the followings:
    <title id="Title1" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="ABC " EncodeMethod='HtmlEncode' />
    <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/>
    </title>
    More information, please refer to the link:
    http://www.broculos.net/2013/07/how-to-customize-title-tag-in.html#.U3rvDHmKCM8
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • JCheckBox as a Title for the Panel

    I have a group of checkboxes which will get enabled when their parent is checked.
    I want to put all the child checkboxes in a panel and the panel tile should hold the parent checkbox.
    So that whenever user checks/unchecks the parent checkbox, the child checkboxes gets enabled/disabled accordingly.
    Note:
    My aim is to have a checkbox as a title of the panel.
    Any code sample will be helpful.
    Thanks
    Meghu

    Hope this code will help you:
    /** CheckTitledPanel - class defining a panel with a Check box title
    * IMPORTANT NOTE: This class is managing 2 panels: the outer panel and the
    *                 inner panel. The inner panel acts as a "content pane", so
    *                 every method for adding/removing components or laying out
    *                 the contents must be called on the inner panel.
    *                 The method <code>getSubPanel()</code> is made for this
    *                 purpose.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class CheckTitledPanel extends JPanel {
       private JCheckBox checkbox;          // The title check box
       private JPanel subpanel;             // The sub-panel (content pane)
       /** Constructs a new Check box titled panel
         * @param title  the title of the panel
       public CheckTitledPanel(String title) {
          // The outer panel is set with no layout 
          super(null);
          // Creates the check box for the title, enabled by default,
          // set its size and no border
          checkbox = new JCheckBox(title, true);
          checkbox.setSize(checkbox.getPreferredSize());
          checkbox.setBorder(null);
          // Add the listener for title checking
          checkbox.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                boolean enabled = checkbox.isSelected();
                // When clicked, we enable/disable all
                // the children of the sub-panel
                setComponentEnabled(subpanel, enabled);
                subpanel.revalidate();
          // Create the sub-panel
          subpanel = new JPanel();
          // Define the outer panel with titled border (on which
          // will be over-painted the check box)
          setBorder(BorderFactory.createTitledBorder("X"));
          // Add the 2 components: check box and sub-panel
          add(checkbox);
          add(subpanel);
          // Add the listener for panel resizing
          addComponentListener(new ComponentAdapter() {
             public void componentResized(ComponentEvent e) {
                Dimension size = getSize();
                Insets insets = getInsets();
                // Relocate and resize the sub-panel
                subpanel.setLocation(insets.left, insets.top);
                subpanel.setSize(size.width - insets.left - insets.right,
                                 size.height - insets.top - insets.bottom);
                subpanel.doLayout();
                // Relocate and resize the check box
                checkbox.setLocation(insets.left + 2, 0);
                checkbox.setSize(checkbox.getSize().width, insets.top);
       /** Returns the preferred size of the panel */
       public Dimension getPreferredSize() {
          Dimension dim  = checkbox.getPreferredSize();
          Dimension dim2 = subpanel.getPreferredSize();
          Insets insets = getInsets();
          int width = dim.width + 12;
          if (dim2.width > width) width = dim2.width;     
          width = width + insets.left + insets.right;
          int height = dim2.height + insets.top + insets.bottom;
          return new Dimension(width, height);
       /** Returns the sub-panel (content pane)
         * @return  panel  the sub-panel
       public JPanel getSubPanel() {
          return subpanel;
       /** Standalone launching for tests */
       public static void main(String[] args) {
          CheckTitledPanel checkPanel = new CheckTitledPanel("Check to enable");
          checkPanel.getSubPanel().add(new JLabel("A label"));
          checkPanel.getSubPanel().add(new JTextField("A text field"));
          checkPanel.getSubPanel().revalidate();
          JFrame frame = new JFrame("Checkbox title test");
          frame.getContentPane().add(new JTextField("North field"), BorderLayout.NORTH);
          frame.getContentPane().add(new JTextField("South field"), BorderLayout.SOUTH);
          frame.getContentPane().add(new JTextField("West field"), BorderLayout.WEST);
          frame.getContentPane().add(new JTextField("East field"), BorderLayout.EAST);
          frame.getContentPane().add(checkPanel, BorderLayout.CENTER);
          frame.pack();
          frame.setVisible(true);
       /** Returns the sub-panel (content pane)
         * @return  panel  the sub-panel
       /** Enable/disable a component and its children
         * @param  rootcomp  the component to enable/disable
         * @param  enable    a boolean (true to enable)
       public static void setComponentEnabled(Component rootcomp, boolean enabled) {
          if (rootcomp==null) return;
          rootcomp.setEnabled(enabled);
          if (rootcomp instanceof java.awt.Container) {
             Component[] comps = ((Container)rootcomp).getComponents();
             String subvalues = "";
             for (int i=0; i<comps.length; i++) {
                setComponentEnabled(comps,enabled);
    // The following methods can be overwritten if you want to manage children
    // of the panel exactly the same way as a standard panel. In this case, you
    // will no more need to call getSubPanel().
    public Component add(Component comp) {
    subpanel.add(comp);
    public Component add(String name, Component comp) {
    subpanel.add(name, comp);
    public Component add(Component comp, int index) {
    subpanel.add(comp, index);
    public Component add(Component comp, Object constraints) {
    subpanel.add(comp, constraints);
    public Component add(Component comp, Object constraints, int index) {
    subpanel.add(comp, constraints, index);
    public Component findComponentAt(int x, int y) {
    return subpanel.findComponentAt(x, y);
    public Component findComponentAt(Point p) {
    return subpanel.findComponentAt(p);
    public Component getComponent(int n) {
    return subpanel.getComponent(n);
    public Component getComponentAt(int x, int y) {
    return subpanel.getComponentAt(x, y);
    public Component getComponentAt(Point p) {
    return subpanel.getComponentAt(p);
    public LayoutManager getLayout() {
    return subpanel.getLayout()
    public int getComponentCount() {
    return subpanel.getComponentCount();
    public Component[] getComponents()
    return subpanel.getComponents();
    public void remove(Component comp) {
    subpanel.remove(comp);
    public void remove(int index) {
    subpanel.remove(index);
    public void removeAll() {
    subpanel.removeAll();
    public void setLayout(LayoutManager mgr)
    subpanel.setLayout(mgr);
    Regards.

  • Regarding Title for the Screen

    Hi,
       I want the title of the screen as  Title name along with date & time ( date & time from table ).
      How can i set that ?
      Waiting for ur Reply...
    Regards
    Srinath

    Hi try this code ,
    Here you can give the values inside p1 and p2.
    DATA: title  TYPE string,
          prog   TYPE string,
          p1(10) TYPE c,
          p2(10) TYPE c.
    MODULE status_0100 OUTPUT.
      title = 'TITLE_0100'.
      prog  = '...'.
      p1 = '...'.
      p2 = '...'.
      SET TITLEBAR title OF PROGRAM prog WITH p1 p2.
    ENDMODULE.
    Regards,
    Amit.

  • Crys Reports - Mark the Legend Labels and Chart bar - values custom names

    Hai,
    I want to change the default names/labels of the chart elements (for e.g. bar chart - the labels and values) , in my reports the labels are directly taken from the database columns, how can I change this?,
    Someone please help...
    Thank you in advance.
    Vijay.

    Hi
    You can select the individual elements(for e.g chart title,legend,chart frame,grid lines,individual bars and series risers etc.).
    To do this do a normal left click and then again a left click on the desired object within the chart(which will select the object), and then do a right click which will come up with all possible options.
    Say for e.g you wan't to edit a default data label then follow the steps:
    1. Left click on the chart
    2.Left click on the data label.
    3.Right click>>Chart Options>>Titles
    4.Here you can edit the default title
    Thanks

  • How to show colmn value in the legend in ssrs Chart?

    How to display Legend values in my ssrs Report like below 
    I want the values like below.
    SuccesCount-2000
    FailCount-100
    No status-150
    Can U pls help me for this
    ThanX!

    I will found the soluction for this ,
    Go to Chart Area ->Series Properties->Left Side you have noticed Legend->There you need to add expression in the
    fx
    i.e ="SuccessCount" & " "& Fields!SuccessCount.value
    so you finally get the out put like below
    o/p :SuccessCount 2000

  • Where are the titles for the movies in os7

    What happened to the titles in OS7 in the Movies app?

    I noticed this problem right away.  They way they told me to fix it, is create some sort of jpeg document that has the name in it, and add it to the file on itunes as artwork.  So, for example, I made a powerpoint document with the name of each file as a separate slide.  Then I saved it as jpeg which created a folder with one document for each slide.  Then you have to select the file in itunes, go to Get Info, and then hit the artwork tab and add the corresponding jpeg file as artwork.  I tested this out and it works, but I have not and probably will not do it for all.  Just too much work and I hope they will fix it.

  • Drill down via the legend icons

    Hi,
    I created a line chart. Via navigate it's possible to drill down to a another report. Is it also possible to drill down via the legend icons?
    Thanks, Robbert

    hi,
    For this u can add one custom graph for the legends and enable the drill down on that legend
    please go through this thread
    refer obiee Guru John's reply
    Re: How to show only legend in graph?
    thanks,
    saichand

  • Titles for a spreadsheet

    I would like to center a title in my numbers spreadsheet over all the columns in the spreadsheet. Thanks

    p,
    If you have one title for the entire table, the easiest way to apply it to your table is to Name the table with your title. If you don't see "Table 1", or similar, highlighted in your Sheets Pane, click the triangle next to the Sheet icon so that the tables and charts on your sheet are listed. Then double-click the table name and edit it. Now, while the table is still selected, go to the Table Inspector or the Format Bar and click the Name checkbox. Now your table name will appear above your table. If you don't see that table name above the table, it may be because a cell is selected in the table -- in this case click once away from the table. The table name label may be Left Justified. If so, click on the table name above the table, and click again if necessary, until a faint rectangular box appears at the top of the table, surrounding the table name. Then go to the Text Inspector, of Format Bar, and set the Justification to Centered.
    That method accomplishes the title and also makes navigation easier in a large document because the table name in the Sheets Pane is distinctive.
    Jerry

  • How to Change Date Format in the Title of the report.

    Hi Everyone,
    I want to change the Format of the Date in the title(Query run Date)taken by report through the variable "&Date" .
    The Format available is DD-MON-YY
    Desired Format is DD-MON-YYYY.
    Please let me know the same as early as possible.

    Hi NP,
    What I try to do is to reformat the default &date inserted into the Title for Discovere Plus and Viewer. When you edit the Title for the report, you can select the date from the Insert dropdown list to display the date when the report was run. The Date (shown &Date in the Title) has a default format of DD-MON-YY. As I have other date parameters displyed in the Title that have the format of DD-MON-YYYY specified by the user, I want to have the &Data in the same format. Please advise me how to achieve this.
    Thank yiou very much,
    J.K.

  • Function returning SQL query for mutiple series in a chart

    Hi,
    I would like to know if there is a way to specify a single PL/SQL function returning the queries for multiple series in a 2D Line Flash Chart. I have multiple series in my chart that has different values in the where clause. I can write a PL/SQL function that can return all these queries in one shot. Is there anyway that I can specify this function as returning the queries for all the series in the chart?
    As an example, assume that I am using the following three queries for the series in my chart:
    select deptno, count(*) from emp where deptno = 10 group by deptno
    select deptno, count(*) from emp where deptno = 20 group by deptno
    select deptno, count(*) from emp where deptno = 30 group by deptno
    I can't write a PL/SQL function that returns a query in the multiple series syntax (SELECT link, label, series_1_value [, series_2_value [, ...]]FROM ...) as I am using an aggregate function and my where clause is different for each series.
    Thanks,
    Rupesh

    Hi Roel,
    Thanks for your reply. I am already using an analytical function (RATIO_TO_REPORT(COUNT(*)) OVER () ) in my actual report. My problem is that the query for one series differs from the other only in one where clause. I will be able to dynamically able to generate all the queries for all the series in one pl/sql function. But the chart definition screen does not allow us to define a single function that returns queries for the all the series - possibly seperated by some seperator like S1: select.... S2:select and so on.
    Regards,
    Rupesh

  • How to populate column titles for y values when using Write to Measurement File Express VI with a tab delimited text-based .lvm file?

    The .lvm file generated by the Write to Measurement File Express VI includes column heading titles for the y values, but they are a default value of "untitled".  See attached example of a sample file when opened in Excel, the values in question are highlighted.  Is there a way to specify the column titles when the file is written?
    This is a similar question to this posting, which received a work around response to use the Write to Spreadsheet File.vi, rather than a solution when using this VI.
    Message Edited by Hightop Raven on 05-02-2007 03:37 PM
    Attachments:
    column_titles.gif ‏13 KB

    Sorry for the late reply.  I was out of the office Friday.
    You can do it, but the code can get rather ugly.  Under the hood, the dynamic data type (the dark blue wire) is an array of waveforms.  In your case, the scalar values you convert to a dynamic data type are being converted to an array of waveforms, each waveform having one element.  You have two options.
    Explicitly convert your scalars to one-element waveforms (t0=0, dt=1) and add the title before conversion to a dynamic data type.
    Convert your dynamic data type to an array of waveforms and loop through them to add the column labels.  The conversion blocks are in the Signal Manipulation Express palette.
    I would recommend 2, since it is the easiest to add.  It is also the easiest to run only on the first iteration.  Just put a case selector around the loop, wire the selection to the While loop iterator, and set the case containing the label code to 0.  The default case simply passes through the dynamic data.
    My apologies for not including a screen shot.  I am in the process of upgrading my machine and can't run LabVIEW.  If you need one, let me know and I can post one tomorrow.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for