Please, example for Grouped bar chart

I need to creat grouped bar charts in an Applet. Could you please forward instruction?
Thanks.

Try jfreechart
http://www.jfree.org/jfreechart/

Similar Messages

  • Problem with Group Bar Chart

    Hi all ,
              i  need help as my requirement is  like i have three values (material,value1,value2) now i want to display data with the help of Group bar chart like for material1 value1 and value2 should be in BAR then again for material 2 value1 and value2 in BAR......  
    right now i am assining  value1 and value 2 to Value column of display template but i am gettin a graph like material1 value1(BAR) material2 value1(BAR) .....  material1 value2(BAR) material2 value2(BAR)...........which value i should set so i should get graph what i mentioned above .
    thanks in advance
    regards,
    Praveen

    Hi,
    Give the material in the label columns...( check with the requirement as the Legend show only the Material )
    Check this also.(May solve your problem)
    Change the type to Bar chart and give the value1 and value 2 in the value columns..
    Hope this may help you...
    Regards,
    Kishore

  • Setting legend layer attributes for SAP Bar Chart Graphics

    Hello!
    I'm using the SAP Bar Chart for displaying a calendar which is easily printable.
    Because the chart contains lines with colored layers without text I need to show a legend at the bottom of a printed page.
    I am using the CALL FUNCTION 'BARC_SET_LEGEND_ATTRIB' for setting up the legend and CALL FUNCTION 'BARC_ADD_LEGEND_NODE' to add the nodes/layers and texts to the legend.
    The only problem is that the width of each layer displayed in the legend in very narrow. Only ten letters are shown for each legend entry and this is not enough to display the meaning of my colored bars in the chart area.
    I tried changing layer-values in the bar chart customizing ( /ocng ) but nothing helped to make the legend entries wider.
    Does anyone have an idea?

    Hi,
    Try this link  
    [http://help.sap.com/saphelp_40b/helpdata/fr/52/670cd2439b11d1896f0000e8322d00/content.htm]
    You can find sample SAP reports for graph and graphics
    [http://www.erpgenie.com/sap-technical/abap/sample-codes-for-sap-graphs-a-graphics]
    Ben.

  • Newbie - help with a SQL query for a bar chart  - Originally posted in APEX

    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESC
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.
    Is this enough info for some assistance? Any help would really be appreciated.
    Thanks,
    Rachel

    Hi, Rachel,
    user10774102 wrote:
    I originally posted this in the APEX forum but someone there suggested this is more of a SQL question.  Anyone out there who can provide some assistance?
    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESCIs there a problem with the code above?
    It's curious that the WHERE clause includes "PROJECT_STATUS='6'", but there is no pivoted column for project_status='6', like there is for '1' through '5'. That's not necessarily a mistake, and it wouldn't raise an error in any case.
    Instead of
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')you could say
    where PROJECT_STATUS  IN ('1', '2', '3', '4', '5', '6')but that probably has nothing to do with your current problem.
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.Is that an Apex error message? Sorry, I don't know anything about Apex.
    If you can't get a more specific error message from Apex, then try debugging this statement in SQL*Plus. When you get it fixed, then you can copy it back into Apex.
    If this is a SQL problem, then you should be able to re-create the problem in pure SQL.
    If you can't re-create the problem in pure SQL, then it's probably an Apex problem, and belongs in the Apex forum, not here.
    I don't see anything obviously wrong with your code, but I can't tell if, for example, you spelled a column name wrong, or if something has the wrong data type
    Is this enough info for some assistance? Any help would really be appreciated.It wiould be better if you posted a completE script that people could run to re-create the problem, and to test their ideas.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle (and any other software, such as Apex) you're using.

  • Newbie - need help with a SQL query for a bar chart

    Hi,
    I'm a new user on APEX with no real SQL knowledge and I'm trying to build a dashboard with charts into an existing APEX application. Based on another application, I have come up with the following SQL code:
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORY
    Order by COUNT(PROJECT_ID) DESC
    The code from the other app was:
    select null link
    , FUNCTIONAL_AREA label
    , count (decode(PROJECT_STATUS,'Active',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'Complete',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'On Hold',PROJECT_ID)) "On Hold"
    , count (decode(PROJECT_STATUS,'Recurring',PROJECT_ID))"Recurring"
    , count (decode(PROJECT_STATUS,'Pipeline',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'Not Approved',PROJECT_ID))"Not Approved"
    from PM_V2
    where LOB='S2S' and (FUNCTIONAL_AREA='Accounts Payable' or FUNCTIONAL_AREA='Expense' or FUNCTIONAL_AREA='Procurement' or FUNCTIONAL_AREA='Fixed Assets')
    group by FUNCTIONAL_AREA
    Order by COUNT(PROJECT_ID) DESC
    I'm getting a "Failed to parse SQL query!" error when I try to run validation.
    Is this enough info for some assistance? Any help would really be appreciated.
    Thanks,
    Rachel

    Hello,
    This is more of an SQL question, rather than specifically APEX-related. It's notable that you say: I'm a new user on APEX with no real SQL knowledgeWhich is fine (we all have to start somewhere, afterall) but it might be worth de-coupling the problem from APEX in the first instance. I'd also strongly recommend either taking a course, reading a book (e.g. http://books.google.co.uk/books?id=r5vbGgz7TFsC&printsec=frontcover&dq=Mastering+Oracle+SQL&hl=en#v=onepage&q=Mastering%20Oracle%20SQL&f=false) or looking for a basic SQL tutorial - it will save you a whole lot of heartache, I promise you. Search the oracle forums for the terms "Basic SQL Tutorial" and you should come up with a bunch of results.
    Given that you've copied your query template from another, I would suggest ensuring that the actual query works first of all. Try running it in either:
    * SQL Editor
    * SQL*Plus
    * an IDE like SQL Developer (available free from the OTN: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html ) or TOAD or similar.
    You may find there are syntax errors associated with the query - it's difficult to tell without looking at your data model.
    select null link
    , CATEGORY label
    , count (decode(PROJECT_STATUS,'1',PROJECT_ID))"Active"
    , count (decode(PROJECT_STATUS,'2',PROJECT_ID))"Complete"
    , count (decode(PROJECT_STATUS,'3',PROJECT_ID))"On Hold"
    , count (decode(PROJECT_STATUS,'4',PROJECT_ID))"Pipeline"
    , count (decode(PROJECT_STATUS,'5',PROJECT_ID))"Pending Review"
    from GRAPO_PROHEADTRK
    where (PROJECT_STATUS='1' or PROJECT_STATUS='2' or PROJECT_STATUS='3' or PROJECT_STATUS='4' or PROJECT_STATUS='5' or PROJECT_STATUS='6')
    group by CATEGORYNote that your "order by" clause references a field called "PROJECT_ID", which exists in the old query but you've changed other similar references to "PROJECT_STATUS" - is it possible you've just missed this one? The perils of copy-paste coding I'm afraid...

  • Anychart bar charts generated for each row of a report

    I am looking for ideas on, or existing examples of how the above requirement could be implemented in Apex 3.2.1.
    My initial thoughts are to:
    - use a pipeline table function as the report region source
    - generate the JavaScript for creating bar charts with one series of 48 points, as a column returned by the table function.
    The source data will be unlikely to be more than 15-20 records pulled from a well indexed underlying record set of several million records.
    My worry is that this may not be a particularly responsive solution and I would like to know if anyone can validate or improve on my approach?
    Cheers
    FunkyMonkey

    You would need to define a separate column to hold the required output for each possible parameter value in the first column.
    Each column would need to be conditional, where the condition is based upon the value in the first column, which you can reference using #column_name# syntax.
    Try that...
    CS

  • CR XI Issue with Stacked Bar Chart

    I'm hoping this question is easy.
    I'm having trouble creating a stacked bar chart.
    I want to do a Bar Chart which will show one "Bar" for each Priority (Priority 1, 2, 3, 4 or 5) and then for each Priority divide out, by color, the Status (Submitted, Reviewing, Working, Testing....).
    For example, let's say that there are 10 Priority 1 records. Of those 10, 5 have a Status of Submitted, 3 are being Reviewed and 2 are being Tested. Then the Priority 1 bar should show a count of 10 which is comprised of 3 colors which will correspond to the 3 Statuses that make up the 10 Priority 1 records.
    I can't get the Stacked Bar Chart to display this correctly.
    In the Chart Expert, the Data Tab says:
      -- On change of: Priority - Ascending
      -- Show Value(s): Count of Status
    When I run the CR, it get's the Priority correct and I see the total for each Priority. But it does not then take each Bar and color code by Status.
    Any ideas how to get it to do that?
    Thanks,

    Hi,
    You should have in On change of field a sub group as well.
    For stacked bar charts it is necessary to have a group and a sub group fields in on change of section.
    Say you have the month.
    no of priority1 in jan etc.
    Hope that helps!!
    Thanks
    -Azhar
    Edited by: Azhar on Aug 4, 2009 8:23 AM

  • Question regarding 3-D stacked bar chart

    Hi All,
    I'm creating a report that has a view of a horizontal stacked bar chart. I was wondering if there's a way to portray that stacked bar chart as a 100% stacked bar chart like in ms excel?
    Thanks,
    Wayne

    Hi Wayne,
    I'm not sure if I understand your query correctly but I'll have a go at answering your question. I'm guessing that you have a horizontal bar chart that looks something like this, even after you've indicated that you want it to be a stacked chart -:
    |{color:#ff0000}@@@{color}
    |{color:#008000}#########{color}
    |{color:#ff00ff}++{color}
    |{color:#0000ff}===={color}
    However, you want it to look more like this -:
    |{color:#ff0000}@@@{color}{color:#008000}#########{color}{color:#ff00ff}++{color}{color:#0000ff}===={color}
    For the purposes of the example, let's assume you are using two fields for the bar chart - Account Type and *# of Accounts*. By default, your chart options would be set such that Account Type is the value used for the Y axis and *# of Accounts* is the value used for the X axis. Indicating that you want a stacked graph results in the first graph example I listed above. However, if you indicate that Account Type is the value to be used for the measure labels and that there is no value for the Y axis, then a stacked graph will look like the second graph example I listed.
    Hope this helps to answer your question.
    Regards,
    Cameron

  • Standard error of mean for column/bar graphs

    Hi,
    Is it possible for me to have different standard errors in a column graph? (i.e. in a graph with 2 or more columns/bar to have their individual error bars drawn out?) So far I have only been able to have a single number for both columns in the graph.
    V

    V,
    Numbers does the best it can with the information you give it. If you ask for Error Bars, Numbers will calculate the standard deviation for the series and assign that calculation result to each of the bars in the series.
    If each of your values represents some statistic that in itself is accompanied by a standard error, that's another thing, but Numbers doesn't know what the error values are unless you tell it. The way to tell Numbers what the error bar values should be in these special cases is to use Custom values.
    Here's an example:
    I like to use the Scatter Chart, but you will find similar controls for the bar chart.
    Jerry

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Adding Spacing Between Groups of Bars in a Bar Chart

    I am using Word 2010. How can I add a subtitle to a grouping of bars (that each set of two bars has a descriptive title) as well as additional spacing between the groups of bars. In other words, if I have two sets of two bars in two separate "categories"
    that in both categories the two sets of bars are labeled as "Trial 1" and "Trial 2", I want to add a "category" subtitle under each "Trial 1" and "Trial 2" bar grouping as well as additional spacing between
    these two sets of two bars (that is greater than the spacing between the two sets of two bars for each category) to help make the distinction between the two categories of bars.

    Hi CyberAmazon54.
    Per my understanding that you have designed an Bar chart and have two category groups, you want to add space between each category group and also add subtitle for the category, right?
    I have tested on my local environment and use some sample data to design the bar chart like below:
    Details information below about how to design the bar chart for your reference:
    1. I assumed you have three kind of values in Category group1(HotelName:A,B,C) and you need to add some blank values for Categroup2(RoomType) to make this group display between A,B,C as the blank bar like the add the space between, Modify the query like
    below:
    SELECT HotelName, RoomType, totaloccupancy1,1 as Bar_Sort
    FROM TableName
    where HotelName='A'
    Union All
    Select '1' as HotelName
    , '' as RoomType
    , 0 as totaloccupancy1
    ,2 as Bar_Sort
    Union All
    SELECT HotelName, RoomType, totaloccupancy1,3 as Bar_Sort
    FROM TableName
    where HotelName='B'
    Union All
    Select '2' as HotelName
    , '' as RoomType
    , 0 as totaloccupancy1
    ,4 as Bar_Sort
    Union All
    SELECT HotelName, RoomType, totaloccupancy1,5 as Bar_Sort
    FROM TableName
    where HotelName='C'
    Note: the field " Bar_Sort " will be used to order the bar group.
    2. Right click the category group1(HotelName) to select the Category group properties and add below expression in the label add your subtitle in each bar group:
    =Switch(Fields!HotelName.Value="A","SubTitle1" & chr(10)& Fields!HotelName.Value,Fields!HotelName.Value="B", "SubTitle2" & chr(10)&Fields!HotelName.Value,Fields!HotelName.Value="C","SubTitle3"
    & chr(10)& Fields!HotelName.Value,Fields!HotelName.Value="1" or Fields!HotelName.Value="2",Nothing)
    3. Click the sorting to sort the bar group by the "Bar_Sort ":
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Cann DSC x-bar R chart vi be configured for real time charting

    I have an extensive vi written to perform automated testing on my product (pump).  I am collecting pneumatic & electrical performance at multiple load points and intend on charting x-bar & R charts for each individual pneumatic test point and electrical test point.
    The VI for x-bar & R charting has an input that requires a 2-dimensional array.  The data that I intend to supply to the chart is my 1-dimensional array containing the results from my sub-group. (I will be collecting data for 5 units out of every 20 initially)
    The help is not real clear on what is required in the 2-dim array and so I either need to understand better what it is expecting or how to change it to accept a 1-dim array of data.
    Any assistance wiht this is much appreciated.
    Thanks
    Doug
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

    OK  Got the binary write and read figured out (mostly)  The issues I ran into were more what I would call syntax related, like having to use the open vi and set file position vi to complete the appending write vi but then not using the refnum from the write to feed the file info to read vi instead having to feed the original file path again.
    I found another thread that gave a good example on decompiling (my word) the array info from the cluster format that the read vi generated back into an array format and in fact, it ended up taking my 1D array and after all the functions, turning it into a 2D array that was ready to feed into the control chart vi.
    I have posted a snapshot of the code so that if there is any really bad form that I am using, I am open to making it more efficient.  I kow that my method for pulling the desired variable out of the original subgroup results clusters is a little cumbersome but it does work.  I may make part of that routine into a subvi just to better organize this vi.
     Hopefully the attachment is clear enough to be readable.  Could not figure out how to paste it directly into the post.
    My only open item now is on the file read, setting it up to read only the most recent 25 (or some number) of data sets.  Since my data set size should never change once I am running, I am expecting that on my first write to a new file, I can read the file size and determine what the value will be for each data set and then with some math, complete an offset and set position before performing the read.
    If this doesn't sound correct, I am open to other options for sure.
    I do have another issue that has cropped up that I am struggling with that I will mention briefly but will start a new thread as it is not relted to this issue but am mentioning it in case anyone reading this thread has any insights.  That is essentially sending command strings to a serial connected power supply using TQLP library functions. Details will be in a new thread.
    Thanks for the continued assistance
    Doug
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Attachments:
    Analysisvi.pdf ‏129 KB

  • Stacked 100% bar chart - Problem with datatips for zero value data points

    I have a stacked 100% bar chart that shows datatips in Flex 4.   However, I don't want it to show datatips for
    data points with zero values.   Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
    Here's the code that illustrates this problem.    Of particular concern is the July bar.    Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
    Any ideas on how we can hide/remove the datatips for zero value data points ?        Thanks.
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="
    http://ns.adobe.com/mxml/2009"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:s="
    library://ns.adobe.com/flex/spark"creationComplete="initApp()"
    height="
    1050" width="600">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script><![CDATA[ 
    import mx.collections.ArrayCollection;[
    Bindable] 
    private var yearlyData:ArrayCollection = new ArrayCollection([{month:
    "Aug", a:1, b:10, c:1, d:10, e:0},{month:
    "July", a:1, b:10, c:10, d:10, e:0},{month:
    "June", a:10, b:10, c:10, d:10, e:0},{month:
    "May", a:10, b:10, c:10, d:0, e:10},{month:
    "April", a:10, b:10, c:0, d:10, e:10},{month:
    "March", a:10, b:0, c:10, d:10, e:10},{month:
    "February", a:0, b:10, c:10, d:10, e:10},{month:
    "January", a:10, b:10, c:10, d:10, e:10}]);
    private function initApp():void {}
    ]]>
    </fx:Script>
    <s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <mx:BarChart id="myChart" type="stacked"dataProvider="
    {yearlyData}" showDataTips="true">
    <mx:verticalAxis>
     <mx:CategoryAxis categoryField="month"/>
     </mx:verticalAxis>
     <mx:series>
     <mx:BarSeries
    xField="a"displayName="
    aaa"/>
     <mx:BarSeries
    xField="b"displayName="
    bbb"/>
     <mx:BarSeries
    xField="c"displayName="
    ccc"/>
     <mx:BarSeries
    xField="d"displayName="
    ddd"/>
     <mx:BarSeries
    xField="e"displayName="
    eee"/>
     </mx:series>
     </mx:BarChart>
     <mx:Legend dataProvider="{myChart}"/>
     </s:Panel>
     <s:RichText width="700">
     <s:br></s:br>
     <s:p fontWeight="bold">The problem:</s:p>
     <s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">For example:</s:p>
     <s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
     <s:br></s:br>
     <s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
     <s:br></s:br>
     <s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
     <s:br></s:br>
     <s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">Challenge:</s:p>
     <s:p>How can we hide/remove datatips for zero value data points?</s:p>
     <s:br></s:br>
     </s:RichText></s:Application>

    FYI.
    Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.   
    Posted this as a bug in the Adobe Flex Bug and Issue Management system.     JIRA
    http://bugs.adobe.com/jira/browse/FLEXDMV-2478
    Which is a clone of a similar issue with Flex 3 ...
    http://bugs.adobe.com/jira/browse/FLEXDMV-1984

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

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

Maybe you are looking for

  • Can you help me with this problem? Please!

    I had just created this program that calculates the amount due from an international phone call. and I was wondering what I can do to get the program to execute when the user inputs let's say 3min and some amount of seconds. The program works when th

  • I can't acces my Itunes movies from my Time Capsule

    I am trying to access my Itunes movies from my time capsules after I did the backup. When I click on the movie I can see the movie icon, however when I doble click it I am getting this message: "protected video, it can only be play with itunes or qui

  • Substitution variable for Web Service URLs

    Hello all, I'm building some RESTful web service references into an Apex 4 application. I have a requirement to incorporate different web service URLs, depending on the environment (Dev, Test, Live etc.). I'd like to design this so that Apex can pick

  • HT201342 How can I change my iCloud email adress?

    How can I change my iCloud email adress?

  • Is it possible to Edit Mpegs from DVDs?

    Hi there. I am just strating a project, a museum installation, that requires footage to be edited together from a variey of sources. Some of these are DVDs. How can I get footage from the DVDs and into FCP for editing. I can convert into Mpeg4 using