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?

Similar Messages

  • 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.

  • Line Chart Legend not Appearing

    Hi all,
    I'm working on learning Flex for potential use at my company.
    Of course for the initial demo, I want everything to look great and
    I'm having trouble with charts.
    I'm feeding a chart from an external xml file. The data shows
    up correctly but I can't get the Legend labels to appear. I think
    my xml is incorrect but I don't know why. What am I doing
    wrong?

    Sure thing. You can bind it to the yField, like this:
    <mx:ColumnSeries id="cs1" yField="account"
    displayName="{cs1.yField.toString()}"
    >
    You'll get a warning, because binding to that value wont
    detect changes, but it will work. Similarly, you could bind it to
    any variable, maybe one that is bindable.
    hth,
    matt horn
    flex docs

  • Legend does not display with Line Chart

    I have a query that I wrote with Bex Query Designer v3.5.11 for a BW 3.5 system.  When I click Graphical Display tab in the query results, "Column Chart" shows a legend, showing which colors mean what.  However, when I switch to a different type of chart, such as Line Chart, Legend does not appear.  Anyone know how to make this appear?  without the legend, the chart isn't very useful.

    You can create a Web Template, Drag a Chart.
    1) Assign a query to the chart
    2) Right click over the Chart and select Edit Chart
    3) Select Chart Designer.
    4) Look for "Series" in the Overview Window
    5) Expand the Series.
    6) Activate the checkbox "Show Labels" on all the
       series that you want to have values.
    Regards
    Armando Flores

  • Text in legend in line chart

    Hello all.
    I have line chart with the legend. This legend contain text with length more then 20 characters. The text cuts off by some characters from the end, for example, it should be
    1. Test1Test2Test3
    2. Test4Test5Test6
    and it will be shown like
    1. Test1Test2Te
    2. Test4Test5Tes
    Changes in legend config window in Answers and in file cordalayout.cxml don't work.
    How else can I fix this problem?

    What OS is on your server? All browsers?
    I'm actually getting the exact opposite situation as you, I created legend items with really long text and they aren't being truncated at all. Even if I set the truncate value. I'm on Windows Server 2K3 and the same version of OBIEE.
    I'll keep testing to see if I can come up with something, but if someone else out there knows what's going on, I'd love to hear it.
    -Joe

  • Line Chart cannot drill down on legends and lines

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales ($), Group Title as Date and legends displaying countries (or states or cities) as USA,UK,Australia. etc.. I have same sort of line chart for State and City as well. So, I got 3 levels of groups with a line-chart displayed in every group level.
    Now, the problem is my drill down would not work on chart lines or legends as it would do for a 2-dimensional data chart like a bar-chart or pie-chart. In the Chart Expert->Data->Layout:Group ->in the On Change Of event selection I am able to specify either Sales.Country (or) Sales.country and Sales.Sales.State. Both options would not let me get the correct linechart with correct data and drill-down working as well.
    The only work-around i got is to display the line chart with legends and showing the Country(or State or City) names in a field in the Group Footer. The drilling will work on those fields, but not on the legends or lines of the line chart. This make my report showing the Country names twice once on legend (with no drill-down) and once on group-footer(with drilling ability to groups below) which is untidy.
    Have anyone tried to make a drill-down crystal report on a 3-dimensional data like this? The World Sales report in Crystal reports C:\Program...\BO\Samples\General Business\World Sales Report is the best example of how i would like to see my charts to drill down. However, they drill down across a 2-dimensional data. I am publishing this Crystal Reports in Business Objects Infoview.

    Please re-post if this is still an issue

  • 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

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • DAX formula and Legend/Series variable on line chart

    What I am trying to do is to find a DAX function that will not cumulate the 'startyear' variable (2006-2012) that is in the Legend/Series in a pivot table for a line chart I have (see below image of chart). The below functions just cause the startyear values
    to cumulate all together (2006+2007+2008....) instead of treating the years as separate values:
    =(CALCULATE(countrows(s1Perm1),FILTER(ALLSELECTED(s1Perm1),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
    Does anyone know how to change the above DAX formula or have another one that will allow the values in the Legend/Series variable to cumulate individually?

    Yes, it is a count, but they also must meet the criteria in the slicers chosen by the user.
    Regardless, I tried your suggestion and unfortunately, it did not work--in that the year values in the Legend/series are still aggregating together, rather than individually--ie. the numerator below for 2007 and 2007 are combined:
    StartYear
    Values
    2006
    2007
    ExitMonthCategory
    Den
    Num
    CumPercent
    Den
    Num
    CumPercent
    0.5
    243
    30
    12.3 %
    168
    30
    17.9 %
    1
    243
    37
    15.2 %
    168
    37
    22.0 %
    2
    243
    53
    21.8 %
    168
    53
    31.5 %
    3
    243
    63
    25.9 %
    168
    63
    37.5 %
    4
    243
    75
    30.9 %
    168
    75
    44.6 %
    5
    243
    92
    37.9 %
    168
    92
    54.8 %
    6
    243
    104
    42.8 %
    168
    104
    61.9 %
    12
    243
    175
    72.0 %
    168
    175
    104.2 %
    18
    243
    218
    89.7 %
    168
    218
    129.8 %
    24
    243
    262
    107.8 %
    168
    262
    156.0 %
    30
    243
    289
    118.9 %
    168
    289
    172.0 %
    36
    243
    302
    124.3 %
    168
    302
    179.8 %
    42
    243
    306
    125.9 %
    48
    243
    309
    127.2 %
    168
    309
    183.9 %
    54
    243
    318
    130.9 %
    168
    318
    189.3 %
    60
    243
    320
    131.7 %
    66
    243
    321
    132.1 %
    72
    168
    324
    192.9 %

  • Legend with a line chart

    I am working on a line chart and want to add a legend to it.
    For the purpose I am using
    <mx:Legend dataProvider="{bigChart}"/>
    Now the y-axis in the chart can display different properties
    based on the items clicked before rendering. It can be profitAmount
    or it could be goodsSold. So the yAxis attribute keeps on changing.
    What happens with this legend is that the bos appears but
    with no text. Is there a way I can force some text to
    appear?

    nevermind I was missing displayName tag

  • Problem in editing legend label of line chart

    Hi,
    I am using crystal 2008 and deploying reports in Java appilication.
    I have a report with line chart in group header. I am using formulae for 'Show value' field. So legend shows it as @formula1
    I couldnt change this is design mode, so i went to preview mode and used 'edit axis label' for each of the chart.
    Now i can see proper legend labels in my crystal 2008. But when i deploy the report in java application, chart still shows @formula1 .... any idea on why my changes are not displayed in crystalviewer?
    Thanks

    This is tricky... and somehow you won't find it in manual.
    After the change of Axis Label, right click on Chart Area. You will see new option "Apply Changes to All Charts". Choose this option and voila - You owe me a bottle

  • Legend for a line chart displaying incorrectly

    Hi All,
    I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue"  for year 1999,2000,2001. Now i want a line chart for each resort and another line for sum of all the revenue.
    So my final line chart contains 4 lines, one each for bahamas,US,France for 1999,2000,2001. and 4 line is sum of all revenues (for all resorts) in 1999,2000,2001.
    I have used a "vertical line mixed" chart for this. All the graph lines are displaying correctly but the legend is displaying wrongly.
    Please advise.

    Hi Raveendra,
    I guess its the 4th line i.e. sum af all revenue that you have added in the same chart is causing the problem.
    My solution is why dont you try and put the sum of all revenue in other chart on the same report.
    May this would help resolve your legend problem.
    If you can give the exact details like what attributes you have selected while running the query and how did you added the sum of all revenue in your chart being more specific, would rather help a bit better in solving the problem.
    Thanks,
    Chirag Desai.

  • How do I set default colors for XY chart series (lines and legend)

    I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    ...Update:
    Figured it out. Need to do the following:
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(R, G, B);
    }Edited by: 998038 on May 16, 2013 4:09 PM

    Here is some css to customize the line and legend colors in a line chart.
    /** file: chart.css
        place in same directory as LineChartWithCustomColors.java */
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(0, 102, 255), white;
    .default-color1.chart-line-symbol {
      -fx-background-color: rgb(0, 255, 102), white;
    }And a test harness to try it:
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.Scene;
    import javafx.scene.chart.*;
    import javafx.scene.control.*;
    import javafx.scene.input.*;
    import javafx.stage.Stage;
    public class LineChartWithCustomColors extends Application {
        @Override public void start(final Stage stage) {
            stage.setTitle("Line Chart Sample");
            //defining the axes
            final NumberAxis xAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            final NumberAxis yAxis = new NumberAxis();
            //creating the chart
            final LineChart<Number,Number> lineChart =
                    new LineChart<>(xAxis,yAxis);
            lineChart.setTitle("Stock Monitoring, 2010");
            lineChart.setCreateSymbols(false);
            //defining a series
            XYChart.Series series = new XYChart.Series();
            series.setName("My portfolio");
            //populating the series with data
            series.getData().setAll(
              new XYChart.Data(1, 23),
              new XYChart.Data(2, 14),
              new XYChart.Data(3, 15),
              new XYChart.Data(4, 24),
              new XYChart.Data(5, 34),
              new XYChart.Data(6, 36),
              new XYChart.Data(7, 22),
              new XYChart.Data(8, 45),
              new XYChart.Data(9, 43),
              new XYChart.Data(10, 17),
              new XYChart.Data(11, 29),
              new XYChart.Data(12, 25)
            lineChart.getData().add(series);
            //adding a context menu item to the chart
            final MenuItem resizeItem = new MenuItem("Resize");
            resizeItem.setOnAction(new EventHandler<ActionEvent>() {
              @Override public void handle(ActionEvent event) {
                System.out.println("Resize requested");
            final ContextMenu menu = new ContextMenu(
              resizeItem
            lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
              @Override public void handle(MouseEvent event) {
                if (MouseButton.SECONDARY.equals(event.getButton())) {
                  menu.show(stage, event.getScreenX(), event.getScreenY());
            Scene scene =
              new Scene(
                lineChart,800,600
            stage.setScene(
              scene
            stage.show();
            scene.getStylesheets().add(
              getClass().getResource("chart.css").toExternalForm()
        public static void main(String[] args) {
            launch(args);
    }

  • Header data in xml tags and line items in fixed length but both in same fil

    Hi,
    In my scenario target side in header level i am passing all the values are fixed values and line item vaues are getting from the source data.how to write udf for this scenario.It should be graphical mapping.
    Please help to me
    please reply fast
    Thanks&Regards
    Swathi
    Edited by: SWATHIP on Feb 4, 2011 7:16 AM

    Hi,
    1) If your values are numerical you can use the "FormatNum" function under Arithmetic Functions.
    This will help you fix the length of the number and even the decimal part.
    2) If you want to fix the length of field which is of type string, you can try the following code:
    public String setLength(String var1, String var2,  Container container) throws StreamTransformationException
         /*   var1 will have the String Value, in var2 pass a constant integer of fixed length you want  */
         int len = Integer.parseInt(var2);
         String rslt = var1;
         if( var1.length() < len)
             for(int i = var1.length(); i < len; i++)
                 rslt = rslt + " "; // appending space
         else
               rslt = rslt.substring(0,var1.length - 1)l
         return rslt;
    regards,
    Aravind
    Edited by: ajnayak on Feb 7, 2011 7:25 AM

  • Editing Chart legends: How to change the line structure within the legend?

    Hi,
    I have one problem: I have several charts in Numbers and since I need to print them in black/white, colors cannot be used to differentiate between the lines. So if I have a dotted line and a solid line, the legend only shows me solid lines as line symbols, so the line structure is not reflected within the legend. Can I change that?

    _This question was already asked and responded._
    Put a text box with the true kind of line above the one displayed automatically.
    Yvan KOENIG (VALLAURIS, France) samedi 1 mai 2010 16:52:44

Maybe you are looking for

  • Error in User Mapping with SR1 Package

    Hi I have installed the SR1 Package for Web AS and EP. While trying to achieve User Mapping the following error is being displayed Portal Runtime Error An exception occurred while processing a request for : iView : pcd:portal_content/administrator/su

  • Share Your EXP (NOKIA - SAMSUNG - LG OR HTC) WHICH...

    I think samsung I am using SAMSUNG Star3g and NOKIA N97 as a comparison feature vise and rate STAR 3is better, N97 has few more  features like wifi , 32 gb space,softwares can be installed , few good application.More format support Other than this st

  • Convert numeric in words in adobe forms (start with the currency)

    Hi to all, Below script i found here for converting numeric into words and its work perfectly. Just I edit in UAE currency. It is possible to move the dirhams (currency) in front like. 1,900,000.55 = Dirhams One Million Nine Hundred Thousand and Fift

  • E90 - is the best phone for me!

    hello friends i am a internet crazy guy.. I am looking for a phone which has larger screen and a full qwerty keyboard.. and yes wifi i think e90 is the best.. in India it cost around 34,000/- rupees any change of price drop in near future!

  • TS2446 Disabled for forgetting security questions answers

    I cannot remember my answer for the security questions and now I cannot do anything.  How do I get past this?