Stacked Column linking question

APEX 4.0
Anychart 5
SQL formatting for a Stacked Column or Bar chart is pretty simple.
SELECT
link,
label,
value1,
[value2,]
[value3,]...
FROM ...
This will allow your entire bar/column to become a link.
Is there a way to allow each value in a column/bar to link to a different location?
For example -
Given the data set:
Label:Footballs:Baseballs:Tennisballs
East:100:30:20
West:40:50:60
North:50:50:50
A stacked bar will create three bars, each with three regions. If a link were specified using the format outlined above, each region in the East bar would link to the same place. The same for the West and North bars. However, I would like to have a 9 different links for this dataset. Is this possible?
Austin

Hi Austin,
Yes, it's possible to define a different link on each element of your chart series. It just comes down to how you write the chart series query. You could use a CASE statement, to define a different link depending on the LABEL value of your query, or you could do a UNION of multiple statements, with a different link defined in each select statement. Using your sample data set, I've put the following example together on my sample application - http://apex.oracle.com/pls/apex/f?p=36648:59 - and I've outlined the three queries used to generate the chart. The Series 1 query uses a CASE statement, and the other two series queries are doing a UNION of various select statements. Is this what you're looking to achieve?
I hope this helps.
Regards,
Hilary

Similar Messages

  • Multiple Links in Stacked Column Graph

    Hi,
    I have created a Stacked Column Graph with following Query
    Select 'http://x.x.x.x:0000/pls/apex/f?p=101:26:&APP_SESSION.::NO::P26_MONTH,
    to_char(approve_date, 'MM/YYYY') Month,
    SUM(S_AMOUNT) SERVICED_AMOUNT,
    SUM(R_AMOUNT) RCPT_AMOUNT,
    SUM(D_AMOUNT) DEBT_AMOUNT from V_MY_VIEW
    group by to_char(approve_date, 'MM/YYYY') Month,
    It displays ok. But I have only one link here. I want to have multiple links so when user clicks on "SERVICED_AMOUNT" on the graph it should go to Page 26, when he clicks on "RCPT_AMOUNT" then Pager 27 And when clicks on "DEBT_AMOUNT " Page 28.
    How can I achieve this?
    Cheers
    Prasad.

    Prasad:
    A multi series column graph will let you specify a separate link for each series.
    The series queries would be
    Series 1
    Select 'http://x.x.x.x:0000/pls/apex/f?p=101:26:&APP_SESSION.::NO::P26_MONTH,
    to_char(approve_date, 'MM/YYYY') Month,
    SUM(S_AMOUNT) SERVICED_AMOUNT,
    from V_MY_VIEW
    group by to_char(approve_date, 'MM/YYYY') Month
    order by 2
    Series 2
    Select 'http://x.x.x.x:0000/pls/apex/f?p=101:28:&APP_SESSION.::NO::P26_MONTH,
    to_char(approve_date, 'MM/YYYY') Month,
    SUM(R_AMOUNT) RCPT_AMOUNT,
    group by to_char(approve_date, 'MM/YYYY') Month
    order by 2
    Series 3
    ....Varad

  • Drill on Staked Column chart should open another Stacked column in a new dashboard (Link) Falsh Variable helps?Any examples please?

    Hi,
         I have a stacked column chart which shows demand(past 12 months) and forcast (future 12 months) of various 10 different regions.X axis shows time period and on Y axis shows demand.
         When ever user clicks on a particular region, it should open another dashboard that shows demand drilled down to product level for same time period as above. It also should be another Stacked Column chart having time period on X axis and demand on Y axis but only for a selected region.
         Does Flashvariable passes data to the second chart?
         Please help.
    Regards,
    Nanda Kishore.

    Else, I want to have one more different approach.
    Region level demand Stack Chart occupies entire space of dashboard. When user selects a region in Stacked column chart, region chart is hidden and product level chart gets visible and there should be a close button the chart with the help of which user comes back to region chart and again drill down to view another drill down chart for product level demand for the other selected region.
    Please help.
    Regards,
    Nanda Kishore

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • How to set up a column link to the column attribute in a report

    Hi All
    I have 6 column in a sql report in a page, column names are (Devicename devicerole,from etc).
    Now i need to set a link to this column and this need to link to the another page
    Thanks & Regards
    Srikkanth.M
    Edited by: Srikkanth.M on Apr 6, 2011 6:17 PM

    Hi
    Read this and follow it...
    >
    Go to the report attributes, then click on the edit link button by the side of the column you want to be a link to get to the column attributes.
    >
    So...
    1. Go to edit the page that contains your report.
    2. Click on the report region as if you were going to edit the report query.
    3. Click the Report Attributes tab.
    4. Click the button at the side of the column in question.
    5. Scroll down to the Column Link section and fill in the details.
    I really can't put it much more simply than that...
    Cheers
    Ben

  • How do you pass more than 3 items to another page via a Column Link?

    I know this is a simple question, but I don't see it covered in the manual.
    I have a report on page 1, when the user clicks on a column link, I'd like to pass 4 items to the page that is called.
    The Column Link area allows you to specify 3 items. How do people normally accomplish this?
    Do you somehow use page zero? Do you use Application Items for this purpose?
    Also, can someone recommend a good APEX book to supplement the manuals?
    Thanks

    hI
    Oh Varad I didnt know this, Thanks for a new tip ;)
    Just change the target to URL and enter a simple statement
    in the URL section
    f?p=&APP_ID.:50:&SESSION.:10:&DEBUG.::P50_item1,P50_item2,P50_item3,P50_item4:value1,#column_name2#,#column_name3#,#column_name4#
    Use value when u know a fixed value to be passed
    and column names on the same report can be passes by using #column_name#
    Hope this helps
    Thanks
    Ashri
    Edited by: Ashri on Nov 14, 2008 8:34 AM

  • Stacked Column Report bug when one series has zero for data

    Hi,
    I'm encountering an issue with the stacked charts. In my chart, I want to show the total of active and expired records for each year. I created a series for each, and the SQL for them is below:
    Active (1st series created):
    select '' link,to_char(preparedate,'YYYY') label,count(*) Active
    from cts.contract
    where preparedate is not null and
    to_char(preparedate,'YYYY')>to_char(sysdate,'YYYY')-10
    and expired = 0
    group by '',to_char(preparedate,'YYYY')
    order by '',to_char(preparedate,'YYYY')
    Expired (2nd series):
    select '' link,to_char(preparedate,'YYYY') label,count(*) Expired
    from cts.contract
    where preparedate is not null and
    to_char(preparedate,'YYYY')>to_char(sysdate,'YYYY')-10
    and expired = 1
    group by '',to_char(preparedate,'YYYY')
    order by '',to_char(preparedate,'YYYY')
    When I see the chart output, I expect the chart to show the stacked columns with expired stacked on top of active, and ordered by year. However, for the two years in our database where there are no active (series 1) records, only expired (series 2) ones, these bars are displayed to the right of the other years. Oddly, for the year where all records are active, and none are expired, there is a sliver at the top of the bar for that year showing as the color for expired, and hovering over that portion of the bar displays zero. I understand that with the other two years where the series with zero would be stacked on the bottom, and therefore not visible, but why does the chart put these years after the other ones that are in order? Since my records are from 1998-2007, and the two years without series 1 records (active) are 1999 and 2002, the years are shown in this order: 1998, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 1999, 2002.
    Any help with how to make these two years show in the correct order with the others is appreciated.
    Thanks,
    Brian

    After switching from Thin driver to OCI the problem went away.

  • How to set an application item when report column link is clicked?

    I am trying to set the short name of a bread crumb entry when I drill into a detail from an interactive report page.
    The master report has a column link with target = detail - "page in this application"
    I can pass page items through the URL and they are set on the target page.
    How can I set an application item before the target page is called?
    Is there a way to set a process before the link is followed?

    Kenneth,
    I'm not totally sure that I understood the question but, it soounds like you want to set the value of some page items on the page that is opened when you click a link on a column in the master window. Is this right?
    If so, you can achieve what you want by creating hidden page item(s) on the target page. In the master page, on which every column provides the link, go into Report Attributes, click on the link column and scroll down to the section labeled "Column Link" Within this section, set the link text to the current column value, e.g. #MASTER_REPORT_COLUMN_NAME_HERE#. Set the target to "Page in this Application" and pick the page number for the target window.
    Underneath this you will see a section to set set the value for page items. If you click the flashlight, you can search for the hidden page item that you created above. Use the same value to set it as you did the link text, i.e. #MASTER_REPORT_COLUMN_NAME_HERE#. Do this and let APEX take care of passing the values on the URL.
    On the child page, just set whatever control you want to dynamically pick up the value from the hidden field. For example, if you hidden field where named P4_CLEARER_NAME. You could set the title attribute to "Contact Information for &P4_CLEARER_NAME."
    You need the preceeding "&" and terminating "." around the name of you hidden page item to do this.
    -Joe

  • Problem with Stacked Columns in Business Graphics

    Hi,
    Has anyone used the stacked columns chart type in business graphics?  Am facing a problem with this.
    I am using the SimpleGraphics example demo with 2 dataseries, the values ranging from 0-10.  It works fine if the chart type is Columns (this is default).  When I change the chart type to stacked_columns, the graph goes for a toss.  The y-axis range automatically changes to 0-1 (values as 0, 0.2, 0.4 ... 1.0) and it does not display stacked columns as expected.
    Is there any specific property(s) that need to be set for this chart type?
    Appreciate any quick response.
    cheers,
    Vittal

    Hi friend,
    See the link below it is having the solution of hiding the columns in smart forms
    Hide table columns in smart form?
    Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
    I think this will solve your issue if you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari

  • Master-Detail Form, Conditional Display of a Column Link

    Hey Guys,
    I've got a little question for you:
    I use a Master Report with a Column Link that i would like to hide when my Column in the Report named "NUMBER" is 0.
    I can't get it to work though. Using the "Conditional Display" stuff doesn't seem to work.
    I have looked at some CASE statements but i cant seem to make them fit!
    Any suggestions?
    Thanks alot,
    max

    sorry for the trouble, i am quite new to this.
    Yes, i took my Master Report and added a [column link]. I understand now how the sql has to look like but where do i put this?
    I cant find any space for a sql code, or does it belong in the conditional display section?
    I changed the Column Attributes to standard column, however, this seemed to have no effect.
    Do i have to chance my sql select query for the Report?
    It looks like this at the moment...
    SELECT
    "CONTENT_LOCALES"."CONTENT_LOCALE_ID" "CONTENT_LOCALE_ID",
    "CONTENT_LOCALES"."CONTENT_ID" "CONTENT_ID",
    "CONTENT_LOCALES"."LOCALE_ID" "LOCALE_ID",
    "CONTENT_LOCALES"."NAME" "NAME",
    "ORIGIN_TEXTS"."ORIGIN_NAME" "ORIGIN_NAME",
    "DESIGNS"."DESIGN_ID" "DESIGN_ID",
    "DESIGNS"."DESIGN_NAME" "DESIGN_NAME",
    "CONTENT_LOCALES"."SEQUENCE" "SEQUENCE"
    FROM
    "CONTENT",
    "DESIGNS",
    "CONTENT_LOCALES",
    "ORIGIN_TEXTS"
    WHERE (("ORIGIN_TEXTS"."GID" =:GID and "CONTENT"."CONTENT_ID" =CONTENT_LOCALES.CONTENT_ID and "CONTENT"."DESIGN_ID" =DESIGNS.DESIGN_ID and >"CONTENT_LOCALES"."CONTENT_LOCALE_ID" =ORIGIN_TEXTS.CONTENT_LOCALE_ID))

  • Partial Refresh from column link

    Hello,
    I am working on a page with two classic reports.
    Report A is always displayed and has a column link which sets item Z with a value from a column in report A and then redirects the page to itself.
    Report B uses item Z in his where clause and is only shown when Z is filled. This all works fine.
    However I want to use Partial Page Refresh to only reload Report B instead of the whole page.
    Because report A is a heavy report it can't and it won't get lighter.
    So my question is how does this partial page refresh stuff work and does it improve preformance?
    I think it would help if Ii don't have to load report A everytime I reload Report B.
    I have found this:
    Link
    But it uses a selectlist and I use a hidden item and a column link. The column link does not set session state so it won't work...
    Hope someone could help me out.

    Robert Hantink
    Robert Hantink wrote:
    Yes, thank you that was what i was looking for!!!
    2. Report B is only shown when item Z is filled. But we use javascript:$S('Z',#column#) tot set is and thus the condition stays false.Report B has to be rendered on page load.
    Play with the show and hide dynamic action to show report B to the user at the appropriate time.
    Use CSS to hide the report on page load. Using the hide dynamic action will show the report before the dynamic action is fired. Causing a slight flicker.
    As for
    1. The title of the region is based on the value of item Z. Now that the session state is not updated and &Z. remains null it show null.You'll need some javascript for that. I have seen a forum post before of someone doing used that. So have a look around
    Nicolette

  • How can I add encoding code before column link works?

    Hi, guys:
    I have a question that may be silly. I want to pass multiple parameters of a row in an interactive report to another page through column link by specifing URL. It works OK. However, I found some of the parameters such as address in the report including character "#" or ".", parameters behind these characters cannot be passed by APEX. I know I need to encode it, and I know how to encode it. But I do not know where to add PL/SQL code so whenever user click the column link, the address can be encoded at first then to pass to another page?
    Thanks in advance.
    Sam

    Always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    lxiscas wrote:
    I am using such a query in page 211, Offender_id is primary key, In the column of MAP, I add URL as follows to pass values to page 3006 to generate a google map (I am using APEX 4.1):
    f?p=&APP_ID.:3006:&SESSION.::&DEBUG.::P3006_H_OFFENDER_NAME,P3006_H_OFFENDER_ID,P3006_H_ADDRESS_LATITUDE,P3006_H_ADDRESS_LONGITUDE,P3006_H_PHYSICAL_LATITUDE,P3006_H_PHYSICAL_LONGITUDE,P3006_H_ADDRESS,P3006_H_PHYSICAL_ADDRESS:#Offender Name#,#Offender ID#,#Address Latitude#,#Address Longitude#,#Physical Latitude#,#Physical Longitude#,#Address#,#Physical Address#The problem is Address and Physical Address canot passed successfully.
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'Unkown Address')  as "Address",
    nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'Unkown Address')  as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, sor_code sc, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((so.first_name is not null and so.first_name like '%'||:P21_TF_FIRST_NAME||'%')
    or (:P21_TF_FIRST_NAME is null)
    and ((so.last_name is not null and so.last_name like '%'||:P21_TF_LAST_NAME||'%')
    or (:P21_TF_LAST_NAME is null))
    and ((sl.address1||sl.address2 is not null and sl.address1||sl.address2 like '%'||:P21_TF_ADDRESS||'%')
    or (:P21_TF_ADDRESS is null))
    and ((sl.city is not null and sl.city like '%'||:P21_TF_CITY||'%')
    or (:P21_TF_CITY is null))
    and ((sl.county is not null and sl.county =:P21_SL_COUNTY)
    or (:P21_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.state and sc5.description=:P21_SL_STATE) is not null )
    or (:P21_SL_STATE is null))
    and ((sl.zip is not null and sl.zip =:P21_TF_ZIP_CODE)
    or (:P21_TF_ZIP_CODE is null))
    I'd suggest passing <tt>sor_offender.offender_id</tt> and <tt>sor_location.location_id</tt> to items on page 3006. Retrieve the derived values for <tt>P3006_H_OFFENDER_NAME, P3006_H_ADDRESS_LATITUDE, P3006_H_ADDRESS_LONGITUDE,P3006_H_PHYSICAL_LATITUDE, P3006_H_PHYSICAL_LONGITUDE, P3006_H_ADDRESS, P3006_H_PHYSICAL_ADDRESS</tt> using queries in a Before Header process.

  • Column Links in Apex Reports

    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?

    Doug wrote:
    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?
    When discussing "reports" it is essential to indicate whether this means a standard report or an interactive report in order to receive an appropriate response.
    It is possible to create a link column that is distinct from report data columns. In standard reports, this is done using the Add Column Link option from the Tasks menu in the right sidebar of the Report Attributes page. In interactive reports, define a Link Column on the Report Attributes page.
    To provide further information about links to users in both cases, specify an HTML title attribute for the link in the Link Attributes property of the link definition. This will be rendered as a tooltip when the cursor hovers over the link in visual browsers, and as an audio cue on navigation to the link when using a screen reader.

  • Add Total to Stacked Column Chart on the top and another important thing is the data are from SharePoint site

    the same with the following description from another question:
    "How can I display a total on top of each column on a stacked column chart (using
    reporting services 2008)? If I use Data Labels I can display the
    values for each part of the stack on a stacked column, but I want to be display the total.
    For Example: If I have stacked column on chart with a value of 10 for the 1st stack, 20 for the 2nd stack,
    and 20 again for the 3rd stack - I want to display 50 (the SUM total) as the data label on top of the entire column..."
    and a solution for this would create a new column named SUM(category group), this can be done with data source from SQL server, but my data is from SharePoint site list. its query seems can't be changed which means I can't add a SUM column.
    what should I do with this? Can anyone give me a hand?
    thank you very much.

    Hi sophiexu,
    If we want to display a total for each column on the top of a stacked chart, we can use a matrix control to display the column total value to work around this issue.
    The following thread about how to simulate chart legend is for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Axis labels with clusters of stacked columns

    I've created a ColumnChart that contains clusters of stacked columns.  Each of the 6 clusters contains 3 stacked columns.
    The ColumnChart creates the chart nicely (thanks to the dataFunction property), but the xAxis only displays the cluster label (so, "Cluster 1", or "Cluster 2", etc.).  That means the only way to tell which data set you're looking at, you have to mouse over the data to get the datatip to show up.
    Using the labelFunction of the Category axis lets me output each of the dataset names along with the cluster set name, but I'm unable to center the dataset names below their respective datasets because the labelFunction just returns a single string for the cluster (as oppose to a string for each of the stacked columns within the cluster).
    Is there a way to get an xAxis label for each of the stacked bars?  I've included the sample code below.  The labelFunction has been removed from this sample code because it wasn't working as I had hoped.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
         <mx:Script>
              <![CDATA[
                   import mx.charts.HitData;
                   import mx.charts.series.ColumnSeries;
                   import mx.charts.ChartItem;
                   import mx.charts.chartClasses.Series;
                   import mx.messaging.AbstractConsumer;
                   import mx.collections.ArrayCollection;
                   [Bindable] private var _dataProvider:ArrayCollection = new ArrayCollection(
                                  label: 'Skill 1',
                                  fpr: {
                                       label: 'Fall progress report',
                                       E: 30,
                                       G: 40,
                                       S: 20,
                                       N: 10
                                  term1: {
                                       label: 'Term 1',
                                       E: 25,
                                       G: 35,
                                       S: 25,
                                       N: 15
                                  term2: {
                                       label: 'Term 2',
                                       E: 20,
                                       G: 45,
                                       S: 30,
                                       N: 5
                                  label: 'Skill 2',
                                  fpr: {
                                       label: 'Fall progress report',
                                       E: 30,
                                       G: 40,
                                       S: 20,
                                       N: 10
                                  term1: {
                                       label: 'Term 1',
                                       E: 25,
                                       G: 35,
                                       S: 25,
                                       N: 15
                                  term2: {
                                       label: 'Term 2',
                                       E: 20,
                                       G: 45,
                                       S: 30,
                                       N: 5
                   private function onDataTipFunction(hitData:HitData):String
                        var columnSeries:ColumnSeries = hitData.element as ColumnSeries;
                        if(columnSeries)
                             var dataTip:Array = new Array();
                             dataTip.push('<b>'+ hitData.item.label +'</b><br />');
                             dataTip.push('<b>'+ hitData.item[columnSeries.xField].label +'</b><br />');
                             dataTip.push(hitData.item[columnSeries.xField][columnSeries.yField] +'%');
                             return(dataTip.join(''));
                        return('');
                   private function onDataFunction(series:Series, item:Object, fieldName:String):Object
                        var columnSeries:ColumnSeries = series as ColumnSeries;
                        if(fieldName == 'xValue')
                             return(item.label);
                        }else if(fieldName == 'yValue')
                             return(item[columnSeries.xField][columnSeries.yField]);
                        return(null);
              ]]>
         </mx:Script>
         <mx:SolidColor id="fill1" color="0xF8B64F" />
         <mx:SolidColor id="fill2" color="0x4B9EF8" />
         <mx:SolidColor id="fill3" color="0x9ACC33" />
         <mx:SolidColor id="fill4" color="0xAD77D2" />
         <mx:Stroke id="stroke" color="0xFFFFFF" />
         <mx:ColumnChart id="columnChart" dataProvider="{_dataProvider}" dataTipFunction="onDataTipFunction" showDataTips="true">
              <mx:series>
                   <mx:ColumnSet type="clustered">
                        <mx:series>
                             <mx:ColumnSet type="100%" displayName="Fall progress report">
                                  <mx:series>
                                       <mx:ColumnSeries xField="fpr" yField="E" displayName="Excellent"
                                            dataFunction="onDataFunction"
                                            fill="{fill1}" stroke="{stroke}" />
                                       <mx:ColumnSeries xField="fpr" yField="G" displayName="Good"
                                            dataFunction="onDataFunction"
                                            fill="{fill2}" stroke="{stroke}" />
                                       <mx:ColumnSeries xField="fpr" yField="S" displayName="Satisfactory"
                                            dataFunction="onDataFunction"
                                            fill="{fill3}" stroke="{stroke}" />
                                       <mx:ColumnSeries xField="fpr" yField="N" displayName="Needs improvement"
                                            dataFunction="onDataFunction"
                                            fill="{fill4}" stroke="{stroke}" />
                                  </mx:series>
                             </mx:ColumnSet>
                             <mx:ColumnSet type="100%" displayName="Term 1">
                                  <mx:ColumnSeries xField="term1" yField="E" displayName="Excellent"
                                       dataFunction="onDataFunction"
                                       fill="{fill1}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term1" yField="G" displayName="Good"
                                       dataFunction="onDataFunction"
                                       fill="{fill2}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term1" yField="S" displayName="Satisfactory"
                                       dataFunction="onDataFunction"
                                       fill="{fill3}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term1" yField="N" displayName="Needs improvement"
                                       dataFunction="onDataFunction"
                                       fill="{fill4}" stroke="{stroke}" />
                             </mx:ColumnSet>
                             <mx:ColumnSet type="100%" displayName="Term 2">
                                  <mx:ColumnSeries xField="term2" yField="E" displayName="Excellent"
                                       dataFunction="onDataFunction"
                                       fill="{fill1}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term2" yField="G" displayName="Good"
                                       dataFunction="onDataFunction"
                                       fill="{fill2}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term2" yField="S" displayName="Satisfactory"
                                       dataFunction="onDataFunction"
                                       fill="{fill3}" stroke="{stroke}" />
                                  <mx:ColumnSeries xField="term2" yField="N" displayName="Needs improvement"
                                       dataFunction="onDataFunction"
                                       fill="{fill4}" stroke="{stroke}" />
                             </mx:ColumnSet>
                        </mx:series>
                   </mx:ColumnSet>
              </mx:series>
              <mx:horizontalAxis>
                   <mx:CategoryAxis categoryField="label" />
              </mx:horizontalAxis>
         </mx:ColumnChart>
         <mx:HBox width="100%" horizontalAlign="center">
              <mx:Legend dataProvider="{columnChart}" direction="horizontal" width="500" height="30" />
         </mx:HBox>
    </mx:Application>

    Hi id,
    Thank you for your response. I hope you are doing well.
    There is an example in the LabVIEW Example Finder (Help>>Find Examples..). It is titled, Stacked Bar Graph. You can search for it if you switch tabs in the Example Finder window. This should help you create a stacked bar graph. To help you with your veritcal axis labels, here is a knowledge base link that details the process:
    How Can I Customize the X-Axis Labels On My LabVIEW Graph/Chart So They Appear Vertically?
    http://digital.ni.com/public.nsf/allkb/1F7C1B089E4​5908E86256C8C0051894A?OpenDocument
    Let me know if these examples help.
    Best regards,
    Anna L
    Applications Engineer
    National Instruments

Maybe you are looking for