Display a series in chart conditional

Dear all,
I created a new chart region and this chart I created 6 series. I created 6 flags to tell which series to display. Is it possible to add a condition in a series to tell if we want to display or not.
I can put it in the select, the line is not displayed but I see the name in the legend and I don't want to see it.
Is it possible to do it and how ?
Thanks in advance

Dear all,
I created a new chart region and this chart I created 6 series. I created 6 flags to tell which series to display. Is it possible to add a condition in a series to tell if we want to display or not.
I can put it in the select, the line is not displayed but I see the name in the legend and I don't want to see it.
Is it possible to do it and how ?
Thanks in advance

Similar Messages

  • Display value in Bar chart conditionally

    I've a chart with Bar-Vertical Stacked type. In one bar 7/8 stacks are coming, some of value 1000 and some of very small values like 2, 5,6 etc. For each of these small bars when I'm displaying value in center position with markerTextPlace="MTP_CENTER", it becomes clumsy.
    In this case, I want to only show the slice in vertical bar but not to display value if value<10.
    How this condition can be checked to view value.
    Please suggest. Kind Regards.

    Can anyone please suggest.
    Regards.

  • Creating a multi series line chart with different data providers

    I have 3 data providers of the same structure i.e ArrayCollection of DataElement and want to use them to create a multiseries line chart. I do not have just 1 dataProvider that can be used but 3 different data providers of the same structure that i want to use each for different series.
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>
    Please help!

    Sorry for the confusion. Actually I must be doing some thing wrong like using ColumnChart to display a line chart or something like that.
    I have now realized that a multi series line chart can be built by having a different data provider for each of the LineSeries object.
    So the code below would create a multi series line graph :
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

  • APEX multi series line chart with different markers for each series

    I am using APEX 4.0 and trying to create a multi-series line chart that will have a different for each series.
    Does anyone know how to accomplish this?
    Edited by: user4635837 on Apr 19, 2011 7:22 AM

    Hello -
    It is possible to do.
    Another user in this forum has written some code snippets to assist in creating your own custom XML for charting. That reference can be found http://apex.oracle.com/pls/apex/f?p=36648:30:418355095936797::NO:::
    Look this over and it should get you moving in the right direction.
    What you are trying to do isn't terribly difficult. In fact, I did it fairly easily as can be seen http://apex.oracle.com/pls/otn/f?p=28155:4:362637005964920:::::
    First, create a Hidden page item.
    Next, create a process that runs before regions
    That process will create the XML for your line chart and store it in the hidden page item. Use the above references for assistance in setting up the PL/SQL in the process
    Then, create your custom XML for your chart. Replace the #DATA# tag in the custom XML with your hidden page item.
    It is a bit daunting at first, but once you get the hang of it, it really isn't that bad.
    Austin

  • Displaying bar chart conditionally in OBIEE answers

    Hello All,
    I've a simple bar chart having one measure in x-axis and two measures in y-axis.
    I want to add a conditional formatting for the two measures scaled in y-axis.
    If first measure is greater than second measure, then i want the first measure to be displayed in red color.
    Please help.
    Thanks in advance!
    Dinesh

    Hi Dinesh,
    Create a dummy column -> fx write a case statement case when first measure > second measure then 1 elso 0 end
    and chart -> Format chart data -> conditional tab -> Add Condition -> select your column on condition (dummy column equal to 1 then red color....)
    hope hepls u....
    Don't forget to assign points and close the thread if your question is answered.........
    Cheers,
    Aravind

  • Display mean value in chart legend

    I generated a line chart in SSDT 12 using the following query:
    SELECT FCP, NFS, TimeIndex
    FROM Controllers
    WHERE ControllerName LIKE 'Controller-A'
    Then I created a trend line using the guide
    here. In step 5 of the guide it says to set the legend text to 'Average'. How do you set it to display the mean value?
    Thanks in advance
    Adam

    Hi Adam,
    Based on my understanding, you want to display the mean value in a chart, right?
    In Reporting Services, mean value can be derived from a series on the chart. We can set calculated series formula as Mean in Calculated Series Properties. As we tested in our environment, the mean value can display on the chart after setting mean formula.
    Please refer to screenshots below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Displaying percentages on pie chart

    hi All,
    I am displaying a pie chart to show some data based on some calculations. Its a simple 2-D pie chart. I want to be able to display the percentage on the different parts of the pie chart. I tried using the label property of the series as well as point but it doesnt display anything. Can anyone please help?
    Regrards,
    Malita

    Are your fonts embedded? Rotating non-embedded fonts makes
    text disappear during rotation.

  • Maximum Rows for series in Charts (Cluster Bar Charts)

    Question
    Is there a way to dynamically define the "Maximum Rows" value for all the series in a cluster bar chart? I tried putting "&item_name." into the "Maximum Rows" field for a series, but get an Application Builder error indicating that the value should be numeric. I would like to set the "Maximum Rows" for all the series in a chart "on the fly".
    Details
    I have one horizontal cluster bar chart with 4 series on my page that has a variable number of rows i.e. the number of bar clusters that I want plotted varies based on the user's criteria. For one set of data there may be 10 clusters. If the user changes the criteria, the chart could then have 20 clusters. I have the "Maximum Rows" field for all 4 series in the chart set to 31 rows.
    The Problem
    The chart with only 10 clusters is two thirds whitespace. The 10 clusters fills up the bottom third of the chart. The top two thirds of the chart is blank. The chart with 20 clusters fills up the chart with no whitespace. The chart with 40 clusters gets the top 10 clusters cut off and only displays the bottom 31 clusters.
    Any Suggestions
    If you have any suggestions how I can accomplish this, please post them. Currently I am not interested in going outside of HTML DB. I may end up doing that though to get a more dynamic charting tool.
    Thanks,
    Mike

    Note 367711.1 deals with this issue. The contents of the note are the below:
    At this time, this is not possible to dynamically set these charting attributes, however, an internal enhancement request has been created requesting that this functionality be incorporated into the product. The current plan is to incorporate this feature into 3.0 version of the product, however, this is just the current plan and can change depending on the complexity of the implementation.

  • Adding new data to update multiple series in charts - in one action

    I would like to know how to update a data series range in a chart all at once as can be achieved with Excel by
    manually entering row numbers to expand the data series range or
    by dragging a reference frame in a table to include additional data in the range.
    At present, the only way that I have discovered I can update a series is to manually change the cell reference detail for each series individually. This is achieved by selecting a single line and clicking several times on the Data reference cell in the Inspector Chart option by highlighting the cell reference details and then manually changing the cell reference for each series separately. This is tedious, time consuming and more than a little clumsy! What used to take me a few minutes to update my charts in Excel is taking me tens of minutes in Numbers.

    theguardian wrote:
    I would like to know how to update a data series range in a chart all at once as can be achieved with Excel by
    manually entering row numbers to expand the data series range or
    by dragging a reference frame in a table to include additional data in the range.
    Unless I'm misreading this, similar techniques work in Numbers.
    The original table contained only the sequential labels in column A and the data shown on the upper chart.
    I made two changes, similar to those in your list (but in the opposite order, hence the reversal in my numbering):
    2. Added data to cells B11:B15 (labeled J-N). (The data added is a copy of the first five data from the original series.) Selected the chart, then expanded the data series by dragging the control (small circle) down to include these cell (plus B16) in the charted range. The chart updated to include this data.
    1. Selected B11:B15, then went Table > Add Rows Below (keyboard shortcut: option-down arrow). Numbers added five rows to the table, and updated the chart to include those rows, as shown in the lower version of the chart. Paste the data into these new rows to add it to the chart.
    Although I had selected rows inside the charted range when adding new rows (to keep that "O" label on the x axis and show the 'space' before it), the five rows could as easily have been added to the end of the chart. Select B12:B16, press option-down arrow.
    Regards,
    Barry

  • How to avoid displaying rowlabels in a chart

    Bar and Line graphs are used in a chart. By default the rowlabels of Bar and Line graphs displayed on the right side of the graph. I haven't explicitly defined any values for the rowlabels. But still it's displayed on the chart. I don't want to display the rowlabels. Is there any way to hide the rowlabels?
    Thanks,
    Makesh

    Hi,
    in your graph-xml use
    <LegendArea visible="false"/>
    Regards
    Rainer

  • Is there a way to change the default colors for data series in charts?

    I have tried to find settings for data series colors in the various CSS files but have not found any.

    Did you try:
    OracleBI/web/app/res/s_.../popbin/
    EX:
    line.pcxml Look for <SeriesDefinition ...
    we modified the line width and a few other things. You'll have to modify all the pcxml files for all the chart types you want to customize.

  • Display Month verbiage on chart but sort by month number

    Hello,
    I have inserted a simple bar chart (values by month for a single year) and my goal is to get the data values to group by month.
    I found that I can achieve this by using a formula that extracts the month from my Date/TIme field MONTH({Command.OB_DELIVERY_DATE}).
    This works OK and displays months as 1, 2, 3,  etc. on my chart), but I want to display the month text instead (Jan, Feb, Mar)
    I tried a second variable:  ToText({Command.OB_DELIVERY_DATE},'MMMM')
    This works in displaying the verbiage of the months, however, the problem is that it groups the months on my chart alphabetically now (April is now my 1st month instead of January).
    What is the trick to displaying month verbiage on my chart, but still sorting these months in their proper numerical order?
    Many Thanks!

    Hi Dave,
    Try this please:
    1) Insert a Crosstab and place it on the Report Header. Use the Delivery Date field as the row and add the measure field as the Summary Field with the right Sum function
    2) Highlight the Delivery Date field > Group Options > set it to print 'For Each Mointh'
    3) While in the Crosstab Expert highlight the Delivery Date field > Click Group Options > Options  tab > check the option 'Customize Group Name field' > Select 'use formula as group name' and click the formula button beside. Use this code:
    ToText({Command.OB_DELIVERY_DATE},'MMMM')
    4) Right-click the Crosstab and select Insert Chart. Choose the right Chart Type
    5) Suppress the Section that holds the Crosstab
    Hope this helps.
    -Abhilash

  • Change color of series in Charts to custom colors - error in macro generated by Excel

    The case:
    Excel 2013, Multiple cheets with multiple charts of different type. Several charts doesn't show well will the defaut color automatically generated by Excel. -> The idea is to modify these graphics only with a specific color combination (modifying the
    color of the series)
    I'm able to modify the color of each series of 1 chart using the UI. but there are many charts so doing them with a simple macro would speed these repeative steps.
    I turned on the macro recording to capture the change of the color of a selected serie in a selected chart.
    The generated code is:
        ActiveChart.Legend.LegendEntries(1).Select
        With Selection.Format.Fill
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent3
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = -0.25
            .Transparency = 0.3000000119
            .Solid
        End With
    When I execute the macro, Excel trigger an error:
    Execution error -2147467259 (80004005)
    method "Fill" of object "ChartFormat" has failed   (this is a translated error message, as I run a french version)
    Any idea why Excel cannot run its own generated code ?
    Thanks in advance.

    Very surprisingly the following code (also generated by the macro recording) works ok.
    (I selected the serie inside the chart instead of selecting the serie in the legend)
        ActiveChart.FullSeriesCollection(1).Select
        With Selection.Format.Fill
            .Visible = msoTrue
            .ForeColor.ObjectThemeColor = msoThemeColorAccent3
            .ForeColor.TintAndShade = 0
            .ForeColor.Brightness = -0.25
            .Transparency = 0.3000000119
            .Solid
        End With
    If an MVP or Microsoft official come accross this, I suggest further testing as it is very likely a bug (with the first set of code generated by Excel)

  • Display values on a chart

    hi,
    in excel, you can display the value of a bar in a chart right on the chart.
    i've looked in cx 4.5 for the equivalent option, but did not see one.
    after looking at some of the chart samples, i noticed that i did not see this
    am i correct that this is not an option in cx?
    thank you
    tracy

    HI, Tracy
    In CX 4.5 Pro the option is in the following Path
    --> Double Click on the Chart from the Properties Window select the Appearance tab
    --> Now from the Title Button you can select or unselect the Show Legend Value
    Now the problem is that you want to display the Values but it display the Numbers as if there are categorize 1 to 9 than it show the Number from 1 to 9 and color of that Category in the Chart.
    But we can do a trick through you can achieve your Requirement.
    Like Just right side of you Chart Place a List View or Table view and Point the display Values of that Control to the Values you are displaying in the chart.
    In this way you will be able to display the Category name and amount in the right side or any where you want.
    Hope this help you to solve out your problem,
    Please Reply if any Issue,
    Kind Regards,
    Faisal

Maybe you are looking for

  • Problem inserting video into a page

    Hi, I have a page created using a custom page layout that I created.   I tried using the Video page field but when I configure the video, with youtube url it doesn't work.  here is the url I used,  https://www.youtube.com/watch?v=v6yvW66-ThI&feature=

  • Oracle error ORA-00600 when using Oracle 10g and Sun One Web Server 6.1

    I have a java application that was running under Solaris 8 and Oracle 9i. I am trying to get it up and running on a new server that is configured with Solaris 9 and Oracle 10g. Whenever the application tries to connect to the database it receives the

  • Hi. How I can add russian keyboard in to Firefox OS? I am using OS on nexus 4. Version 1.1

    Hi. How I can add russian keyboard in to Firefox OS? I am using OS on nexus 4. Version Firefox OS 1.1 Instruction to install http://www.addictivetips.com/android/dual-boot-android-ubuntu-touch-or-firefox-os-on-nexus-4-7-with-multirom/ Thanks.

  • Regarding RFC's

    Please tell me how to develope RFC's ????? It is very urgetnt....

  • Salary Stament from ESS

    Hi, I was wondering if there are any possibility to change the size of the font of the statement, because when i print it from SAP GUI it prints with a smaller font and fits perfect in the page, but when it comes to the portal the font gets bigger an