Stacking + mx:BarChart

Hi
Is it possible to stack just one value of a dataProvider on
top of each other rather than stacking different values of the same
entity within an <mx:BarChart> ???
E.g.
dataProvider:
[Bindable]
public var competitors:ArrayCollection = new
ArrayCollection([
{competitor: "Competitor 1", startTime:0, endTime: 16 },
{competitor: "Competitor 2", startTime:0, endTime: 11 },
{competitor: "Competitor 3", startTime:2, endTime: 12 },
And I only want to display the endTime result in this
particular <mx:BarChart>, however I don’t want to show
the results aas 3 individual bars within the <mx:BarChart>
but by using 1 bar and "stacking" the results over each other.....
Thanks,
Jon.

Yes.
Tracy

Similar Messages

  • Stacked BarChart with drag and drop

    Hi,
    I have a BarChart with a stacked BarSet that can be drag and
    dropped. The problem is that when I click on a BarSeries in the
    chart to initiate a drag, only that BarSeries is being visually
    dragged. I would like to visually drag all the BarSeries in the
    stacked BarSet.
    This is better explained with a "picture". Suppose I have the
    following stacked mini-chart:
    XXXXXYYYYYYYYYYYYYYZZZZ
    XXXYYYYYYYYYZZZ
    XXXXXXXXXXXXXXXXXXXXXXYYYYYYYZZZ
    XXYYYYYYYYYYYZZZ
    XXXYYYZZZZZZZZZZZZZZZZZZZ
    Here X, Y and Z are BarSeries. When I click on ZZZ to
    initiate a drag, only the ZZZ is visually dragged. I understand
    that this is okay, but in my case I want to see XXXYYYZZZ visually
    dragged.
    How can I do this?
    Cheers,
    Andrej

    "mavdzee" <[email protected]> wrote in
    message
    news:gavo13$lpu$[email protected]..
    > Does anybody know this? How can I select sub-bars in a
    stacked BarSeries
    > in ActionScript? Is this possible?
    At a guess, I'd hide the real bars and make a dragProxy from
    a bitmap
    capture of the entire stack...

  • Stacked BarChart issue

    Hi there,
    I'm having a kind of "random issue" going with my Flex app.
    I've got a component with a BarChart in it, that has two stacked
    series, that represent assets/debt from a bank account.
    Sometimes, a Serie doesn't display, having the space reserved
    for it, but not showing. The behaviour just happens from time to
    time, and can't specify the circumstancies. I attach these two
    links to captures of the component for a better understanding...
    (two different executions of the same code).
    - BarChart displayed correctly
    here
    - BarChart displayed wrong
    here
    The code is nothing strange... basically:
    <mx:SeriesInterpolate id="interpol" duration="1000"/>
    <mx:Stroke id="st" weight="1" color="0xEEEEEEEE"
    alpha=".6" caps="square"/>
    <mx:Stroke id="axis" weight="1"/>
    <mx:Stroke id="callouts" weight="2" color="0x999999"
    alpha=".8" caps="square"/>
    <mx:HBox width="100%" horizontalScrollPolicy="auto"
    verticalScrollPolicy="off" id="monthChartBox"
    horizontalAlign="center" paddingTop="-15" paddingBottom="-15">
    <mx:BarChart id="theChart" paddingLeft="-4" width="100%"
    height="100" type="stacked" showDataTips="false"
    dataProvider="{Model.getInstance().graphObject}"
    mouseEnabled="false">
    <mx:series>
    <mx:BarSeries id="assetsSeries" xField="assets"
    stroke="{st}" showDataEffect="{interpol}" width="100%">
    </mx:BarSeries>
    <mx:BarSeries id="debtSeries" xField="debt" stroke="{st}"
    showDataEffect="{interpol}" width="100%">
    </mx:BarSeries>
    </mx:series>
    <mx:verticalAxis>
    <mx:CategoryAxis title="" id="vax"/>
    </mx:verticalAxis>
    <mx:horizontalAxis>
    <mx:LinearAxis id="hax"
    maximum="{Model.getInstance().maxGraphValue}"/>
    </mx:horizontalAxis>
    <mx:backgroundElements>
    <mx:GridLines visible="false">
    </mx:GridLines>
    </mx:backgroundElements>
    <mx:horizontalAxisRenderers>
    <mx:AxisRenderer axis="{hax}" width="0" height="0"
    visible="false" showLabels="false" axisStroke="{axis}" />
    </mx:horizontalAxisRenderers>
    <mx:verticalAxisRenderers>
    <mx:AxisRenderer axis="{vax}" width="0" height="0"
    visible="false" showLabels="false" axisStroke="{axis}"/>
    </mx:verticalAxisRenderers>
    </mx:BarChart>
    </mx:HBox>
    I'm not sure, but I've got the impression that if I remove
    the interpolation show data effect I don't get the problem. Makes
    sense to anyone?
    thanks,
    Marc

    If I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
    Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
    But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1.

  • Bar label  missinng in a stacked barchart

    Hi,
    I have a stacked barchart. I have bar labels with labelposition="inside".
    When the bar heights of consecutive bars are very small, bar labels of the bars in the inside of the outer bars are ignored or not displayed. Have any of you faced this problem, and if you have found a resolution, could you please share it with me. Looks like the label renderer just ignores the label if there is not enough space to draw it.
    I have also attached the problem I have mentioned here in the chart. You can see the datatip for the bar but the label for that bar is not drawn in the chart.
    Thanks Saroj.

    I've find a thread related to my problem Help need in Stacked bar vertical - No data found message
    It seems that to make a stacked bar working fine you need to build your queries with outer join a create a default 0 value with nvl. If you do so the chart display values correctly.

  • How to add 3 legends for a single series barchart?? JAVAFX

    Here is my code to generate 10 bars of different colors. I want to add legend respectively but it only one shows yellow legend
    1. I think it shows only 1 color because there is only 1 series. Is it possible to add more than 1 legend for a single series?
    or
    2. or can i display another image for legend in barchart??
    output :http://i.stack.imgur.com/fSNu7.png
    file i want to display in barchart:http://i.stack.imgur.com/cchch.png
    public class DynamicallyColoredBarChart extends Application {
        @Override
        public void start(Stage stage) {
            final CategoryAxis xAxis = new CategoryAxis();
            xAxis.setLabel("Bars");
            final NumberAxis yAxis = new NumberAxis();
            yAxis.setLabel("Value");
            final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
            bc.setLegendVisible(false);
            XYChart.Series series1 = new XYChart.Series();
            for (int i = 0; i < 10; i++) {
                // change color of bar if value of i is >5 than red if i>8 than blue
                final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
                data.nodeProperty().addListener(new ChangeListener<Node>() {
                    @Override
                    public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
                        if (newNode != null) {
                            if (data.getYValue().intValue() > 8) {
                                newNode.setStyle("-fx-bar-fill: navy;");
                            } else if (data.getYValue().intValue() > 5) {
                                newNode.setStyle("-fx-bar-fill: red;");
                series1.getData().add(data);
            bc.getData().add(series1);
            stage.setScene(new Scene(bc));
            stage.show();
        public static void main(String[] args) {
            launch(args);
    ...Edited by: 993431 on Mar 12, 2013 1:42 PM

    Either:
    1. Use a chart which displays multiple series, then you can allow the built-in legend to show OR
    2. Use a single dynamically colored series have you have done and create your own custom legend.
    import javafx.application.Application;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.stage.Stage;
    public class ThreeSeriesBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        XYChart.Series lowSeries = new XYChart.Series();
        lowSeries.setName("Not Achieved");
        XYChart.Series medSeries = new XYChart.Series();
        medSeries.setName("Achieved");
        XYChart.Series hiSeries  = new XYChart.Series();
        hiSeries.setName("Exceeded");
        bc.setBarGap(0);
        bc.setCategoryGap(0);
        for (int i = 0; i < 10; i++) {
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          if (data.getYValue().intValue() > 8) {
            hiSeries.getData().add(data);
          } else if (data.getYValue().intValue() > 5) {
            medSeries.getData().add(data);
          } else {
            lowSeries.getData().add(data);
        bc.getData().setAll(lowSeries, medSeries, hiSeries);
        bc.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(bc));
        stage.show();
      public static void main(String[] args) {
        launch(args);
    import javafx.application.Application;
    import javafx.beans.value.*;
    import javafx.geometry.Pos;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.scene.control.Label;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.*;
    import javafx.stage.Stage;
    public class DynamicallyColoredBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        bc.setLegendVisible(false);
        XYChart.Series series1 = new XYChart.Series();
        for (int i = 0; i < 10; i++) {
          // change color of bar if value of i is >5 than red if i>8 than blue
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          data.nodeProperty().addListener(new ChangeListener<Node>() {
            @Override
            public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
              if (newNode != null) {
                if (data.getYValue().intValue() > 8) {
                  newNode.setStyle("-fx-bar-fill: -fx-exceeded;");
                } else if (data.getYValue().intValue() > 5) {
                  newNode.setStyle("-fx-bar-fill: -fx-achieved;");
                } else {
                  newNode.setStyle("-fx-bar-fill: -fx-not-achieved;");
          series1.getData().add(data);
        bc.getData().add(series1);
        LevelLegend legend = new LevelLegend();
        legend.setAlignment(Pos.CENTER);
        VBox chartWithLegend = new VBox();
        chartWithLegend.getChildren().setAll(bc, legend);
        chartWithLegend.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(chartWithLegend));
        stage.show();
      class LevelLegend extends GridPane {
        LevelLegend() {
          setHgap(10);
          setVgap(10);
          addRow(0, createSymbol("-fx-exceeded"),     new Label("Exceeded"));
          addRow(1, createSymbol("-fx-achieved"),     new Label("Achieved"));
          addRow(2, createSymbol("-fx-not-achieved"), new Label("Not Achieved"));
          getStyleClass().add("level-legend");
        private Node createSymbol(String fillStyle) {
          Shape symbol = new Ellipse(10, 5, 10, 5);
          symbol.setStyle("-fx-fill: " + fillStyle);
          symbol.setStroke(Color.BLACK);
          symbol.setStrokeWidth(2);
          return symbol;
      public static void main(String[] args) { launch(args); }
    /** colored-chart.css: place in same directory as other bar chart application files and setup your build system to copy it to the output directory */
    .root {
      -fx-not-achieved: red;
      -fx-achieved:     green;
      -fx-exceeded:     blue;
    .default-color0.chart-bar { -fx-bar-fill: -fx-not-achieved; }
    .default-color1.chart-bar { -fx-bar-fill: -fx-achieved; }
    .default-color2.chart-bar { -fx-bar-fill: -fx-exceeded; }
    .level-legend {
      -fx-padding: 10;
      -fx-border-width: 2;
      -fx-background-color: rgba(211, 211, 211, 0.5);
      -fx-border-color: derive(rgba(211, 211, 211, 0.7), 10%);
    }

  • 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 Column Chart with Lines

    Requirement:
    User stacked Column chart to display data for defects for 4 departments.
    1 or 2 lines to show baseline for defects(constant).
    Is there anyway that I can do that just like we can create one in Excel?
    (stack a Stacked column chart with a line chart is not a solution.)
    Any advises?
    Thanks,
    Wen

    Hi Wen,
    I realise that you are not going to get this to work with a standard component on its own. I think it might be possible to acheive it with overlaying barcharts and combination charts.
    My assumption is that you are looking for something that has a stack with 3 separate items in it. Two target lines crossing over the stacked chart.
    I will have a look at this to see if I can come up with something. Let me know if this is not your requirement.
    No, I don't work for SAP. I think those that do have the SAP logo beside them.
    Regards
    Alan

  • Chart (stacked bars) - corresponding legend

    hi everyone,
    i've got the following situation: I'm creating an vertical stacked bar chart (type:BAR_VERT_STACK) with the following code:
    <DataValues>
    <xsl:for-each-group select=".//ROW[COUNTRY!='']" group-by="COUNTRY">
    <xsl:sort select="COUNTRY" order="DESCENDING"/>
    <xsl:variable name="my_country" select="COUNTRY"/>
    <RowData>
    <xsl:for-each-group select="../ROW[MONTH!='']" group-by="MONTH">
    <xsl:variable name="my_month" select="MONTH"/>
    <Cell><xsl:value-of select="../ROW[COUNTRY=$my_country] [MONTH=$my_month]/AMOUNT"/></Cell> </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    and the legend:
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="COUNTRY">
    <xsl:sort select="COUNTRY"/>
    <Label><xsl:value-of select="current-group()/COUNTRY"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    everything works fine, but my problem is, that the created stacks are not in the same order as my legend .... so, if my first stack for example shows US, then the last item of the legend should show US as well.
    does anyone know how to create this behaviour?
    thanks

    Mike,
    thanks - I am aware of the stacked barcharts - the question is, if this type is available in a clustered manner as well ?
    I so far cud only see either "stacked barcharts" or "clustered barcharts" - but not "clustered , stacked barcharts" which wud be series of stacked barcharts ...
    TIA
    Bernhard

  • Chart "Stacked bars" - clustered available ?

    Hi,
    as anymore developed a chart with stacked bars, which are clustered ?
    Development team: when will/might we have this available in APEX?
    TIA
    Bernhard

    Mike,
    thanks - I am aware of the stacked barcharts - the question is, if this type is available in a clustered manner as well ?
    I so far cud only see either "stacked barcharts" or "clustered barcharts" - but not "clustered , stacked barcharts" which wud be series of stacked barcharts ...
    TIA
    Bernhard

  • Render BarChart with many bars

    Hello,
    I have a BarChart that has over 15000 bars to render within a chart. The problem is that, once the number of bars grow, the bars actually fades out and become invisible. I have recreated this issue with the ensamble2.jar file that comes with JavaFX 2.2 by adding a lot of extra data points to the "Advanced Horizontal Bar Chart".
    I am trying to replace using JFreeChart, which does render a chart with this many bars in it.
    Is there a way to either program or style the bar charts so that I will be able to display this many bars in them ?

    I am having the same problem...(out of memory on renders)
    I've been watching my activity monitor and cancelling the render before I run out of memory... but I'm not getting much done and I can't do a big render at night.
    I've done all the usuall things... no CMYC files. Trash Prefrences... etc..
    Two questions:
    I am using Magic Bullet filters and they seem to stack up the inactive RAM. (When the incactive ram fills up that's when I get the "out of memeory") You said you saw a post about that a few days ago...Was there an answer besides changing out the filters? or can you point me towards the posting?
    I'm also trying to figure out how to dump or clear the inactive RAM once I'm done with a render. I found that if I do a full restart I can clear my RAM and get a bunch of renders done before I fill up the inactive ram again. This is going to be a long project if I have to do that.
    thanks
    Mark

  • CategoryAxis in BarChart

    Hello,
    I have a barchart, that I am transforming to a gantt chart since Flex Base Charts don't have a gantt chart,
    Anyhow, the issue that I am facing, is tha the vertical axis (which is category type now) does not sort and combine same datapoints...
    Anyone can help...code is below
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" minWidth="955" minHeight="600" initialize="test()">
         <mx:Script>
             <![CDATA[
                 import mx.charts.series.BarSet;
                 import mx.collections.ArrayCollection;
                 import mx.formatters.*;
                 [Bindable]
                 public var datarows:ArrayCollection;
                 public var dem:ArrayCollection = new ArrayCollection();
                public function myParseFunction(s:Number):Date {
                     var gmtDate:Date = new Date();
                     //s = s / 1000;
                     gmtDate.setTime(Math.round((s/1000)*(1000))+(gmtDate.timezoneOffset*60*1000));
                     return gmtDate;
                     // Get an array of Strings from the comma-separated String passed in.
                     //var a:Array = s.split(",");
                     // Create the new Date object. Subtract one from
                 private function removedDuplicates(item:Object):Boolean
                     if (myCombinedArray.contains(item)) {
                         /* If the keys Object already has this property,
                         return false and discard this item. */
                         return false;
                     } else {
                         /* Else the keys Object does *NOT* already have
                         this key, so add this item to the new data
                         provider. */
                         myCombinedArray.addItem(item);
                         var objx:Object = new Object();
                         objx.combinedArray = item;
                         return true;
                public function test():void
                     var collection:ArrayCollection = new ArrayCollection();
                     collection.addItem(new ArrayCollection(["1282927901000", "mi", "100.0", "130", "6", "9"]));
                     collection.addItem(new ArrayCollection (["1282927905000", "mi", "50.0", "130", "5", "7"]));
                     collection.addItem(new ArrayCollection (["1282927910000", "mi", "300.0", "340", "4", "8"]));
                     collection.addItem(new ArrayCollection(["1282927930000", "mi", "400.0", "540", "3", "10"]));
                     collection.addItem(new ArrayCollection (["1282927940000", "mi", "500.0", "820", "2", "12"]));
                     collection.addItem(new ArrayCollection (["1282927950000", "mi2", "600.0", "930", "8", "15"]));
                     collection.addItem(new ArrayCollection(["1282927960000", "mi2", "700.0", "620", "1", "6"]));
                     collection.addItem(new ArrayCollection (["1282927970000", "mi2", "800.0", "420", "9", "17"]));
                     collection.addItem(new ArrayCollection (["1282927980000", "mi2", "900.0", "730", "14", "28"]));
                     collection.addItem(new ArrayCollection(["1282928040000", "mi12", "59000.0", "140", "13", "18"]));
                     datarows = new ArrayCollection();
                     var myCombinedArray:ArrayCollection = new ArrayCollection();
                     for each(var ac:ArrayCollection in collection){
                         var obj:Object = new Object();
                         obj.time = ac[0];
                         obj.url = ac[1];
                         obj.endDT = ac[2];
                         obj.sumEndDT = ac[3];
                         //obj.hits = ac[4];
                         datarows.addItem(obj);
                         dem.addItem(ac[1]);
                         //obj.combinedArr = dem[1];
                     //    obj.combinedArr = dem[2];
                     dem.filterFunction = removedDuplicates;
                     dem.refresh();
                     obj.combinedArr = dem;
            ]]>
         </mx:Script>
         <mx:BarChart type="stacked" width="100%" >
             <mx:verticalAxis>
                 <mx:CategoryAxis categoryField="combinedArr" dataProvider="{datarows}"/>
             </mx:verticalAxis>
             <mx:series>
                 <mx:BarSeries xField="time" visible="false" dataProvider="{datarows}" />
                 <mx:BarSeries xField="endDT" visible="true" dataProvider="{datarows}"/>
                 <mx:BarSeries xField="sumEndDT" visible="true" dataProvider="{datarows}"/>
             </mx:series>
             <mx:horizontalAxis>
             <mx:DateTimeAxis  parseFunction="myParseFunction" autoAdjust="true" dataUnits="seconds" displayLocalTime="true"/>
             </mx:horizontalAxis>
         </mx:BarChart>
         <mx:ArrayCollection id="myCombinedArray">
         </mx:ArrayCollection>
    </mx:Application>

     

  • How to combine a stacked bar chart and a line graph together in one report

    I have a report in excel that has stacked bar chart and a line graph together in one report. I am trying to recreate the same in Webi, Is this possible? Did any one have similar requirement, could you please share the thoughts?
    Thanks,
    Hema

    May be I don't understand correctly...
    But if its really to separate chart area's;
    just copy the datablock and format one as line and the other as barchart...
    Hope this helps,
    Marianne

  • Show Data labels on stacked bar chart

    Hi All:
    I am trying to show an inside data label on a stacked bar chart.  For some reason Flex 4 does not like labelPosition="inside" in the mx below.   Thanks  Bob
    <mx:BarChart 
    id="ProxChart" x="85" y="76" height="192" width="630" type="stacked">
    <mx:horizontalAxis>  
    <mx:LinearAxis maximum="20"/>  
    </mx:horizontalAxis>
    <mx:series>
    <mx:BarSeries id="MySeries" displayName="Test" xField="" labelPosition="inside"/>

    This will do it.
    import mx.charts.*;
    private function myLabelFunction(element:ChartItem, series:BarSeries):String
      return(element.item.toFixed(1));
    <mx:series>
      <mx:BarSeries id="MySeries" displayName="Test" xField="" labelPosition="inside" labelFunction="myLabelFunction"/>

  • Clearing barchart data

    Hi, i'm making some barchart with this code
    public var datachart : BarChart.Data[];and i do insertion of data like
    insert BarChart.Data {value : 100} into datachart;now that i want the datachart to become an empty BarChart.Data[] again, but i can't find the way to do that..
    maybe this is simple and stupid question, but there is a way to make datachart empty?

    i got some warning like this
    WARNING * WARNING * WARNING * WARNING * WARNING
    An attempt has been made to add node to a new group without
    first removing it from its current group. See the class
    documentation for javafx.scene.Node for further information.
    This request will be granted temporarily but it will
    be refused in the future. Please change your code now.
    node=Rectangle oldgroup=Panel newgroup=Panel
    Stack trace follows.............
    that's amazingly long, until the scroll pane become so small...
    what's wrong with this warning?
    and Philho, are there some sites that documented javafx chart api well? i hardly can find some good documentation

  • Error while comitting a transaction in oSB. The following is the error stack

    Error while comitting a transaction in OSB. The following is the error stack
    <Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
            java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
            java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
            at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

Maybe you are looking for