Legend view on line chart click

Hi,
I have to axis x and y on line graph so x axis contains time dimension in hours 4p,8pm or can be date dimensions and and y axis it contains sale values
now the point is when ever click on any date on x bar i get value on that of alll y axis line graphs like say there are 6 line bar avl in y axis so it show is value of all that on a particular day in legend or pop up window
e.g.
click mouse
on
date 04/11- gets pop window contains value of all six bars on that particular date
thanks
Edited by: Chinu on Nov 5, 2011 11:50 PM

nevermind I was missing displayName tag

Similar Messages

  • 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

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

  • Hiding legend entry in line chart

    i hide the line series lineSeries
         lineSeries.visible=false;
    but its legend entry is shown on the chart.
    How can I hide the legend entry to hidden line series?

    Hi Asif,
    You need to write some ActionScript to acheive this functionality...Its not that simple just as you make lineseries visible=false...the legend item will go
    away...You need to explicitly remove and add series...as shown in code below:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
            import mx.collections.ArrayCollection;
            [Bindable]
            private var expensesAC:ArrayCollection = new ArrayCollection( [
                { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
                { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
                { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
                { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
                { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
            private function addLineSeriesToChart(item:String):void 
          var isFound:Boolean = false;
          for ( var i:int = 0; i < lineChart.series.length; i++ ) 
           if ( lineChart.series[i].yField == item ) 
             isFound = true;
           if(!isFound)
           var newLS:LineSeries = new LineSeries(); 
           newLS.yField = item;
           newLS.displayName = item; 
           var tmp:Array = lineChart.series;  
           tmp.push(newLS); 
           lineChart.series = tmp;  
           lineChart.invalidateSeriesStyles();
            private function removeLineSeriesFromChart(item:String):void 
           var objToRemoveIndex:int;
           var isFound:Boolean = false;
           for ( var i:int = 0; i < lineChart.series.length; i++ ) 
           if ( lineChart.series[i].yField == item ) 
            objToRemoveIndex = i; 
            isFound = true;
           if(isFound)
            var tmp:Array = lineChart.series;
            tmp.splice(objToRemoveIndex,1);
            lineChart.series = tmp;
            lineChart.invalidateSeriesStyles();
      private function addProfitLineSeries():void 
       addLineSeriesToChart("Profit");
      private function removeProfitLineSeries():void 
       removeLineSeriesFromChart("Profit");
            ]]>
        </mx:Script>
        <mx:HBox width="100%" horizontalAlign="center">
      <mx:Button label="Add Profit Series" click="addProfitLineSeries()" />
      <mx:Button label="Remove Profit Series" click="removeProfitLineSeries()" />
        </mx:HBox>
        <!-- Define custom colors for use as fills in the AreaChart control. -->
        <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
        <mx:SolidColor id="sc2" color="red" alpha=".3"/>
        <mx:SolidColor id="sc3" color="green" alpha=".3"/>
        <!-- Define custom Strokes. -->
        <mx:Stroke id = "s1" color="blue" weight="2"/>
        <mx:Stroke id = "s2" color="red" weight="2"/>
        <mx:Stroke id = "s3" color="green" weight="2"/>
        <mx:Panel title="LineChart and AreaChart Controls Example"
            height="100%" width="100%" layout="horizontal">
            <mx:LineChart id="lineChart" height="100%" width="45%"
                paddingLeft="5" paddingRight="5"
                showDataTips="true" dataProvider="{expensesAC}">
                <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="Month"/>
                </mx:horizontalAxis>
                <mx:series>
                    <mx:LineSeries id="lineSeriesProfit" yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/>
                    <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/>
                    <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/>
                </mx:series>
            </mx:LineChart>
            <mx:Legend dataProvider="{lineChart}"/>
        </mx:Panel>
    </mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Using Custom Legend without Using Legend Class for line Chart

    Hi ,
    I m trying to create legend with checkbox without using Legend class of flex, but problem is that how to use itemrenderer of lineseries in the legend.
    My requirement is like this:

    my problemb is how to get that shape and use in container .
    i am using hbox in that i have checkbox ,label and i tried to use Image or IFlexDisplayObject but i am unable to assign that renderer to either  image or IFlexDisplayOBject nothing isd working.
    any suggestion for what component i shall use to assign the itemrenderer of lineseries.
    Thanks for replying

  • 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

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • 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

  • Jfreechart line chart mouse click problem

    i need to implement a line chart where users can click on an area of the chart and highlight it, i have serveral questions regarding how to do this:
    i added a mouselistener to the chartpanel, i can get the points with e.getTrigger().getPoint(), but I need the points associated with the graph point, is that possible?
    i also need to highlight an area of the line chart, I have no idea where to begin, will i be able to change the background of a specific range of points?
    help would be appreciated!!

    Hi,
    I have not tested your code, but check these links. This might help.
    http://blogs.adobe.com/flexdoc/2009/07/date_range_selection_for_flex.html
    http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html

  • Power View Line Chart - Line size

    Hi,
    Is it possible to change the thickness of lines on a line chart in Power View? How can we interact with axis to change them to logarithmic scale or create double axis?

    Hi Tim,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Animating a line chart on click?

    I have a line chart that has multiple points of data on it that shows growth from 2008 - 2013.  I'm going to be giving a presentation to show this growth, but I want to emphasize a point in the middle (around 2011) where the growth skyrocketed.  To do this, I want to click...the chart builds using the Build In feature but then stops on 2011.  I'll talk, then click again, and the chart will finish the growth going up to 2013.  I've googled this till I'm blue in the face but I can't seem to get a straight answer. 
    My only thoughts are to build two charts...one that has data up to 2010, and one that has data the rest of the way, and then do a dissolve or something on click to show the growth.  Here is what my chart looks like in it's present form...help!!

    My only thoughts are to build two charts...one that has data up to 2010, and one that has data the rest of the way, and then do a dissolve or something on click
    That's the way I have to do it also as there are no built in controls to animate the graph line.
    I use a left to right wipe which looks more convincing.

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

Maybe you are looking for

  • Can a mac mini be set up to run two separate users at the same time?

    I work for a middle school and we need to purchase 20 computers that will just be used to run internet apps. Though we have all Macs, we don't have a big budget and for this one use only, we are condsidering purchasing inexpensive HP all-in-ones for

  • Time Capsule or AirPort Extreme + External Hard Drive for iTunes Library

    Hi, I currently have an Airport Extreme (Gigabit) and am planning on getting a MacBook Pro. What I want to do is keep my iTunes Library on an External Hard Drive and attach it to my AirPort so I can access it anywhere in the house (and world). Now I

  • Add button in WebClient UI

    Hi expert! We need to add a button in the WebClient UI, in BT116h_srvo component (quotation header). We do the following steps: 1. Tcode SM34 - Create an enhancement set (ZSET_CABECERA) in cluster view BSPWDVC_CMP_EXT 2. Tcode SM30 - Assign the enhan

  • Automatically post bank charges when treasury uploads the bank statements

    Howdy Gurus, Where can i define automatic postings of bank charges when treasury uploads bank statements. Posting needs to takes as: 1. charges a/c...dr     to payable a/c 2. charges a/c... dr      to  customs a/c Can it be solved by defining and con

  • Serial numbers and equipment

    Hi, We have a setup where materials are managed with serial numbers (through serial number profile). An equipment record is created automatically together with each serial number. The serial numbers are assigned manually at the time of goods receipt.