Different bars in column chart

Hi All
I want to show a column/bar chart with huge amount of data.
Here each bar should be in different colors. May be five to six
colors dynamically changing regularly. Is there any way to add
custom bars to the chart like renderer for datagrid.
Any suggetios will be appreciated.

Are you going to show the bar going past the maximum value?
If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
if(itemYValue > maxAllowedValue) {
     itemYValue = maxAllowedValue;
Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array.

Similar Messages

  • Round Corners in Bars of Column Chart

    i m trying to build a column chart with rounded corner
    bars....like we can make a text box with rounded corners using
    cornerRadius property......
    also is there any way to show a mirror image(not a shadow) at
    the bottom of the vertical-rounded-corner-bar of column chart.....
    pls
    find the image of the issue
    pls help me on this if anyone has any idea......

    pls find the solution of the above issue on these below
    urls...
    http://www.degrafa.org/samples/
    http://merhl.com/flex3_samples/nikePlus/
    http://www.degrafa.org/blog/category/data-visualization/

  • Error bars on column charts

    I'm having a problem with inserting error bars into a graph. In the Series window I pull down the menu and select "standard error", but all my error bars are the same, no matter how many categories i have, or how variable the data are within each catergory. How do i get error bars to reflect the actual data from my spreadsheet? I've calculated the standard deviations and standard error and they are clearly different from what the graph indicates. I can't select my own standard deviation data and apply it to the chart?

    Hi Jim,
    I checked out your claim that the Standard Error bars don't change and I can't confirm it here. Everything seems normal. Here's my test with 20 data points, using a scatter plot for easier reading, but the result was the same...
    And, here's the same function of randomized data with 53 points...
    Same data with Standard Deviation...
    All looks ok to me. It does require that you get the scale big enough to see the change in the error bars. I used a fixed scale for all three shots, and the data is =2+1.5*RAND().
    Regards,
    Jerry

  • What is the difference between bar and column charts

    To me they are the same. When should I use one of the two,
    but another?

    "glen08" <[email protected]> wrote in
    message
    news:ghvjov$sgi$[email protected]..
    > To me they are the same. When should I use one of the
    two, but another?
    One faces east-west, the other north-south.
    HTH;
    Amy

  • Drill Down functionality not Availible on Column Chart Bars

    Hi Guys,
    I have about 10 Webi 4.0 reports which are all column charts and are all made with drill down functionality enabled on them.
    The issue we are facing is that we need all the reports have drill down functionality available on the column bars and axis values (ex. "drill down to date" is available when mousing over the bars and axis values.)
    However, reports which have variable measures on them do not have drill down functionality available on the actual column bar in the chart, drill down is only available when mousing over the axis values. Now, I created the variable measure on the universe level as an object to check if having the object pulled into the report instead of a variable would enable the drill down function on the chart but this did not work either, still having the same issue
    Its important for us to have the consistency of the functionality being available on the bars and axis because it is more user friendly.
    If anyone has ever faced this issue I'd really appreciate your input on how this can be fixed.
    Thanks in advance!
    Zenab

    hi
    try this
    /*SELECT FROM dbo.OPOR TT*/
    declare @docNum as int
    set @docNum =/* TT.DocNum */N'[%0]'          
    SELECT
         T0.DocNum,
         T2.ItemCode,
         T2.ItemName
    FROM
                        dbo.[OPOR] T0
         inner join     dbo.[POR1] T1 on T1.docentry = T0.docentry
         inner join     dbo.[OITM] T2 on T2.ItemCode = T1.ItemCode
    WHERE
         T0.DocNum = @docNum
         and T2.CstGrpCode = -1
    for browse
    it works on me

  • In column Chart when Y values are grater than y linear axis maximum it doesnt show the Bar

    Hi Guys,
    In column Chart when Y values are grater than y linear axis maximum it doesnt show the Bar.But i want show the bar upto the max limit of y linear axis without changing the max limit.
    Consider following example:
    Y values are 80 90 200 300
    and following are the output :
    Left:When i am not setting maximum property of linear axis.
    Right :When i am setting maximum property of linear axis to 200.
    In right 4th bar is not visible bcoz value for that bar is 300 which is excedding  maxium.But i want the 4th bar to appear same as 3rd bar.
    How i can do this?
    Thanks in advance.

    Are you going to show the bar going past the maximum value?
    If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
    if(itemYValue > maxAllowedValue) {
         itemYValue = maxAllowedValue;
    Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
    This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array.

  • Is Stacked Bar/Column chart Supports Multiseries..?

    Hi All
    Is Stacked Bar/Column chart Supports Multiseries..?
    I was trying to build a Stacked Bar chart .And add a line
    series to it But when i run this I'm getting an error
    like this
    "ReferenceError: Error #1056: Cannot create property offset
    on mx.charts.series.LineSeries."
    Here is My Code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var netPrByQtrData:ArrayCollection=new
    ArrayCollection
    {quarter:"Q4 05", bottom:88.89, middle:11.11, top:0.00,
    netPromoter:-88.89},
    {quarter:"Q1 06", bottom:80.00, middle:10.00, top:10.00,
    netPromoter:-70.00},
    {quarter:"Q2 06", bottom:16.67, middle:50.00, top:33.33,
    netPromoter:16.67},
    {quarter:"Q3 06", bottom:28.57, middle:28.57, top:42.86,
    netPromoter:14.29},
    {quarter:"Q4 06", bottom:80.00, middle:20.00, top:0.00,
    netPromoter:-80.00},
    {quarter:"Q1 07", bottom:80.00, middle:0.00, top:20.00,
    netPromoter:-60.00},
    {quarter:"Q2 07", bottom:60.00, middle:20.00, top:20.00,
    netPromoter:-40.00},
    {quarter:"Q3 07", bottom:80.00, middle:0.00, top:20.00,
    netPromoter:-60.00}
    ]]>
    </mx:Script>
    <mx:Panel title="Net Promoter By Quarters" width="500"
    height="350" x="31" y="34">
    <mx:ColumnChart id="mychart"
    dataProvider="{netPrByQtrData}"
    showDataTips="true"
    height="250"
    width="450" type="stacked">
    <mx:horizontalAxis>
    <mx:CategoryAxis categoryField="quarter"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries
    yField="bottom"
    xField="quarter"
    displayName="Bottom" >
    </mx:ColumnSeries>
    <mx:ColumnSeries
    yField="middle"
    xField="quarter"
    displayName="Middle" >
    </mx:ColumnSeries>
    <mx:ColumnSeries
    yField="top"
    xField="quarter"
    displayName="Top" >
    </mx:ColumnSeries>
    <mx:LineSeries
    yField="netPromoter"
    xField="quarter"
    displayName="Net Promoter" >
    </mx:LineSeries>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{mychart}"
    direction="horizontal"/>
    </mx:Panel>
    </mx:Application>
    If I omit type="stacked" from
    <mx:ColumnChart id="mychart"
    dataProvider="{netPrByQtrData}"
    showDataTips="true"
    height="250"
    width="450" type="stacked">
    The code will work perfectly..But unfortunately its not a
    Stacked Chart...
    Is there any solution for this....Please reply your valuable
    suggestions ASAP.....
    Thanks in Advance..
    Subin

    Hello,
    In Flex Builder 4 and Above.
    For composite charts with Multiple column series and line series,
    Remove type = “stacked” property from Column Chart.
    and Add columnset like.
    <mx:series>
        <mx:ColumnSet type="stacked">
           <mx:ColumnSeries yField="aSales" displayName="A Sales" />
           <mx:ColumnSeries yField="bSales" displayName="B Sales" />
        </mx:ColumnSet>
        <mx:LineSeries yField="total" displayName="Total Sales"/>
    </mx:series>
    Cheers,
    SaM.

  • SSRS Column Chart Design Returning values in a format different from SSRS -SSAS Query Designer

    Hi All,
    I have an SSAS cube Measure Group with Multiple Measures that I am attempting to return on one SSRS report and reflect the 
    values using a ssrs column chart.
    My Measure Group (Patients).
    Measures:
    PatientsOnMeds
    PatientOnRelapse
    PatientsCounseld
    TotalNumberOfPatientsRegisterd
    NewlyRegisteredPatients
    HealthPersonelTrainef
    Demension:
    Time (Year) :filtered to 2012 & 2013
    In my SSRS query designer I have filtered the above Measures with Time Dimesion year 2012 & 2013
    and the data is returned as :
    Year |PatientsOnMeds|PatientOnRelapse|TotalNumberOfPatientsRegisterd|NewlyRegisteredPatients|
    2012 | 700          | 526            |  25                          | 456
    2013 | 245          | 245            |  15                          | 70
    Now the problem is when I return this data on the column Chart it's in messed up mesh
    On the chart Data:
    -Values :Measures
    -Series Group: Dimension
    The report values are returned in multiple columns for each value segmented by year i.e year 2012,Year 2013.
    I want a single column for each Measure (value) for each single year and The chart axis to reflect the measures(values) 
    instead of grouping values according to series group.
    instead the legend returns:
    -Year A -PatientsOnMeds
    -Year A -PatientOnRelapse
    -Year B -PatientsOnMeds
    -Year B -PatientOnRelapse
    I would like the legend to reflect on -Year A,Year B in color code that will be highlighted in the column values.
    Please point me in the right course if you can.Your insights are highly appreciated.Thank you in advance.

    Hi Charlie, 
    Thank you for your kind response. 
    In actual I want the legend to show:
    -2012
    -2013
    And the bottom axis to show:
    PatientsOnMeds
    PatientOnRelapse
    PatientsCounseld
    TotalNumberOfPatientsRegisterd
    NewlyRegisteredPatients
    HealthPersonelTrained
    Indicating in color code for Year 2012 and Year 2013.
    This the challenge that I am struggling with.I hope you understand my scenario.
    It aint easy.

  • Different sort order with line chart and stacked column chart

    Hi,
    I have a problem with sorting within flash charts.
    The chart should be ordered by a date column.
    If I'm using a line chart everything is fine. The columns in the chart are in the same order as returned by the query.
    If I change the chart type to stacked column chart, I get a wrong order.
    It is orderd like 5, 6, 7, 8, 9, 10, 1, 2, 3, 4.
    What's wrong?
    Here the query i use:
    SELECT NULL AS link,
    TO_CHAR (zeitpunkt, 'dd.mm.yyyy'),
    MAX (DECODE (db_sid, 'TI06E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06E",
    MAX (DECODE (db_sid, 'TI06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI06T",
    MAX (DECODE (db_sid, 'TI14S', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14S",
    MAX (DECODE (db_sid, 'TI14T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI14T",
    MAX (DECODE (db_sid, 'TI16T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI16T",
    MAX (DECODE (db_sid, 'TI24K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI24K",
    MAX (DECODE (db_sid, 'TI33T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "TI33T",
    MAX (DECODE (db_sid, 'WF03E', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03E",
    MAX (DECODE (db_sid, 'WF03K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03K",
    MAX (DECODE (db_sid, 'WF03T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF03T",
    MAX (DECODE (db_sid, 'WF05K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05K",
    MAX (DECODE (db_sid, 'WF05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF05T",
    MAX (DECODE (db_sid, 'WF06T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF06T",
    MAX (DECODE (db_sid, 'WF07K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07K",
    MAX (DECODE (db_sid, 'WF07T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF07T",
    MAX (DECODE (db_sid, 'WF08K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08K",
    MAX (DECODE (db_sid, 'WF08T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF08T",
    MAX (DECODE (db_sid, 'WF09K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09K",
    MAX (DECODE (db_sid, 'WF09T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF09T",
    MAX (DECODE (db_sid, 'WF10K', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10K",
    MAX (DECODE (db_sid, 'WF10T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WF10T",
    MAX (DECODE (db_sid, 'WG04T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WG04T",
    MAX (DECODE (db_sid, 'WT05T', VALUE, NULL)) OVER (PARTITION BY zeitpunkt) AS "WT05T"
    FROM db_performance_temp
    ORDER BY zeitpunkt ASC
    SQL> desc db_performance_temp
    Name Null? Typ
    ZEITPUNKT DATE
    DB_SID VARCHAR2(30)
    VALUE NUMBER

    I found the solution.
    Anychart seems to have a problem with null values!
    The corrupted sorting only occured for a specific set of search criteria and a specific day. At this day some values have been null.
    I added a "nvl( [...], 0) for every value.
    No I get a correct sort order.

  • AnyGantt: How to set different bar color depending on data value.

    Need to have different colors for bars in a gantt resource chart.
    The color depends on certain data value not included in the visible part of the chart, so it must be provided 'extra' for the chart in some way without beeing visible.
    Have studied some examples but cannot figure out the mechanism for this, and the procedure to implement it.
    Any ideas?
    Apex 4.2.2
    Regards
    Per.

    Hi Per,
    You mention "+Among the samples I can see that it has been implemented, but not how.+" - in the Information region below the chart that Tony referred to (https://apex.oracle.com/pls/apex/f?p=36648:50) that I've stated the following:
    "The elements of the Timeline region have been customized via the Chart Attributes page, using the following settings: *Custom Colors*: #000000,#00FF00,#0033FF"
    So that's how I applied custom colours to that particular chart. However, that declarative option won't meet your requirements, where the colours you wish to apply are dependent on data not included in the chart series query. You mention "+Now, if I add another column to the statement I get a yellow error message telling that the statement is not valid.+". It is not possible to simply add an additional column to the chart series query. Each supported chart type expects the associated chart series query to use specific syntax - see About Creating SQL Queries for Charts in Chapter 10 of the APEX User's Guide, http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/bldapp_chrt.htm#BCEIJJID.
    So to answer your question "+How to add the new value if not providing another column to the graph?+", if you wish to customise your chart to that extent, then you will need to use custom XML. Depending on what exactly you're trying to achieve, this may require the generation of custom data for your chart. If you edit your chart, and take a look at the Custom XML region, you'll notice a substitution string, #DATA#, towards the end of the XML. When a chart is rendered, we use the chart series query to generate the necessary XML to represent the data on the chart, replacing the string #DATA# with the actual XML. The format of the data XML generated for gantt charts uses a bar style called "defaultStyle", and this handles the default appearance of the bars in the timeline region e.g.
    <period resource_id="1" start="2009.03.21 00.00.00" end="2009.09.21 00.00.00" style="defaultStyle"/>You'll see that the 'style="defaultStyle" ' attribute of the data corresponds to a segment of XML outlining what that style is e.g.
    <period_style name="defaultStyle">Now take a look at the Bar Style in Resource Project example in the AnyChart online documentation http://www.anychart.com/products/anygantt/docs/users-guide/bar-style.html#bar-style-application-resource-project. In that particular example, a number of different bar styles are used i.e.
    <periods>
      <period resource_id="server_1" start="2008.07.07" end="2008.07.8" style="Working" />
      <period resource_id="server_1" start="2008.07.8" end="2008.07.12" style="Maintance" />If you need to add a different bar style to particular rows of data on your chart, then you'll need to add new bar style XML for each colour you wish to use in the Custom XML on the Chart Attributes page, and then you'll also need to generate the data XML yourself, applying the necessary bar style to the relevant row of data. I've got an example of how custom data can be generated for a Resource Gantt here e.g. https://apex.oracle.com/pls/apex/f?p=36648:73 but keep in mind that particular example doesn't demo adding different styles to the data...but it can certainly give you an idea of what's entailed in the generation of custom data for your chart.
    I hope this helps.
    Regards,
    Hilary

  • Business Graphics: Time Scatter, Line Chart, Column Chart

    Hi all,
      I have a requirement of intermixing of Bar/Column-Chart and Line-Chart. How to do this? I also need to color the columns.. Any Documents or Ideas will be appreciated.
    Thanks,
        Vinod V

    Hi, Rohit & Neha
       I think, my question is not clear..
    My requirements are on Business Graphics (Not in IWDTable), where i need to represent my data in different columns (Levels). Each level will be Represented in different colors.
    Eg: Top level of my Graph will have RED,
          Middle by YELLOW and
          Bottom part would be with GREEN.
    My Second Question is on using Multiple Graph types in same graph...
    Where data will be represented in Column/Bar Chart and in the same graph i need a curve to display the max value pointed by Column Chart..
    How can i achieve this?
    Regards
       Vinod V

  • Alterts for Column Charts

    Hi,
    I have created a few column charts in Crystal XCelsius and have enabled value alerts so that the bars show up as different colours depending on the data. When I first assign the range for the alerts, the colours show up correctly. However, when I preview the chart, the bars are not coloured correctly-- i.e. not according to the specified range. Has anyone encountered a similar problem with alerts?
    Thanks.

    I believe this issue has to do with linking an alert to a cell.  If that cell changes value, then everything seems to go to downhill.  I believe this was supposed to be fixed in SP1, but it does not appear to be.  I have a gauge with a value, a maximum limit, and an alert range that are all linked to dynamic cells, and the values change, but the needle never moves.
    As an example, the lower limit is 0, the upper limit is 10, the value is 5, so the needle points straight.  The user does something to change the value to 2, and the lower limit stays at 0, and the upper limit stays at 10, and the value label changes to 2, but the needle still points up and down.

  • WebI 4.0 Combined Column Chart Customization

    Hi,
    Is there a way to customize the cobined column chart if I have 3 metrics and I want to specify different colors for each metric.
    Metric 1 - Bar - Blue color
    Metric 2 - Line - Red Color
    Metric 3 - Bar - Green color
    Is this do able in WebI. we are on SP 7 for Webi 4.0 and using SAP Bex Query.
    Please advice.
    Thanks

    Hi,
    Custom palette colours in Webi 4.0 are tricky, but possible.
    From here: http://www.pieterverstraeten.com/blog/custom-color-palette-sap-bo-bi-40-bi4-change-analysis-crystal-webi-house-style/
    Open C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\images\VisualizationConfig.template.xml
    Save the file as VisualizationConfig.xml
    Edit the colours as you please.
    Save the file.
    Restart Tomcat.
    Yeah, a tomcat restart to change colours. I'm sure this will be tidied up in a future version.

  • Stacked Column Chart with Line

    Hi
    I need to Create a Stacked Column Chart representing 1 set of measures with a Line representing a target.
    I want to create a chart where the Sales Amount in different Sectors is represented as a stacked column and the targets are represenetd as a line.
    Currently BO supports Bar charts with line.
    Does anyone know if such a feature will be supported in the new release of BO XI. Also is it possible to raise a request for this feature to be included in the new release
    TIA

    We are also a 30 persons department (Marketing) using in the same BO charts (since 2001) quarters made of :
    - first single column ( 2014 billing in a query1)
    - second stacked column (2015 billing +2015  firm orders backlog, 2015 frame orders backlog in a query2)
    - third single column (2016 backlog in a query3)
    and a superposed budget line
    the first and the third column are offset respectively to the left and right of the second column by blank and dummy single columns of data called ghost1 and ghost2. 2016 is still empty here but the principle is clear.
    This principle is used liberally in 200 + different reports. Also with transparent columns and other complicated, but graphically intuitive reports.
    How can we continue to use this very natural representation of our several hundred million $ business. I have not found the mixed single column, stack column and line option in BO XI 3.1 . Please re-develop one asap if necessary. SAP should please please report asap on the recovery timeline of this lost feature. The switch from Visual Basic development to Java development should not lead to regression of any feature.
    Regards.
    Jean-Marc Imbert
    Marketing manager

  • Strok property in column chart

    In my application, there is a column chart. if the user click
    on any bar of the histogram(column chart), that time, stroke
    property will be set in different colour.
    <mx:ColumnSeries id="series" xField="xxx" yField="yyy"
    >
    if i add strok property in above line then it always shows
    the strok in the column chart.
    but i need it dynamiccaly. like
    <mx:ColumnChart id="chart" dataProvider="{xyz}"
    name="Histogram Chart" width="100%"
    selectionMode="multiple"
    height="100%" toolTip="{ccToolTip}" showDataTips="true"
    itemClick="histogramBarClick(event)"
    >
    I want to set the stroke on the click event.
    I tried in the function histogramBarClick(event){
    ColumnChart.ColumnSeries .setStyle("stroke",s3);
    and s3 is
    <mx:Stroke id="s3" color="0xFFCC66" weight="2"/>
    there is no compile time error but when i run this the i m
    getting
    Error #1010: A term is undefined and has no properties.
    can any body help me?
    Thanks

    Are you going to show the bar going past the maximum value?
    If not, then you should change the Y value when entered into the array to the maximum value allowed. i.e.
    if(itemYValue > maxAllowedValue) {
         itemYValue = maxAllowedValue;
    Where maxAllowedValue is a variable you set on the application to control the maximum value for the chart.
    This is assuming that you are loading the values into an Array before updating the chart dataprovider with that array.

Maybe you are looking for

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott CA Forum: .NET If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Applica

  • Accessing SAP ECC6 from EP

    Dear All, Our Netweaver EP developer is requesting for SAP_ALL to access sap ecc6 system. Are there any standard role from sap to support RFC call from Netweaver AS to SAP ECC6. in reality the requirement is only to make web based application for edi

  • Query calculation

    hi friends ,I am working in Bex.I want define KF based on requirement.I bit confused any one can help about this please. Tonnes streamed  = sum(Tonnes streamed) with the condition on shutdown analysis : Item 31 and type A (31A)  or Item 31 and type D

  • A web link I viewed has remained as a tab I cannot remove or close . How can I get this off? ?

    I was using Bing on a topic-family trees- yestrday. One link I viewed has hijacked my browser and Icannot close it. Help, please.

  • Alert/Notifications in 11.5.8 OM Suite

    I want to create some alerts/notifications in Order Mangement based on the status of the Sales Order. These alerts need to be executed on a daily basis and is to be sent to the planner who created the sales order. What would be the best way to do thi