Column Chart displaying blank columns

I've this column chart whose data provider is set dynamically. The chart has a two Column Series. Occasionally the columns are displayed as blank.
Although the corresponding labels on x-axis and tool tips are displayed correctly. Has anyone experienced similar issue? Kindly suggest a solution.

Thanks for the reply. No the data provider is surely not null as the same collection
is being set as data provider for a data grid too. And data grid always displays the data.
Besides if the data provider was null it wouldn't have shown the x-axis labels and the
tool tip values.
Code Sample:
Basically chartData is a XMLListCollection object, its being populated on a call back method of a
HTTPService request.
The following method is called once the chartData is populated.
//Populate columns for abcChart
private function populateColumns():void {
     abcChart.series = new Array();
     var haltsSeries:ColumnSeries = new ColumnSeries();
     var haltsFill:SolidColor = new SolidColor(0xFF0000);
     haltsSeries.dataProvider = chartData;
     haltsSeries.displayName = "Halts";
     haltsSeries.yField = "HALTS";
     haltsSeries.setStyle("fill",haltsFill);
     abcChart.series.push(haltsSeries);
     var warningsSeries:ColumnSeries = new ColumnSeries();
     var warningsFill:SolidColor = new SolidColor(0xFFFF66);
     warningsSeries.dataProvider = chartData;
     warningsSeries.displayName = "Warnings";
     warningsSeries.yField = "WARNINGS";
     warningsSeries.setStyle("fill",warningsFill);
     abcChart.series.push(warningsSeries);
     return;
Following is the Columnchart with its children and properties.
<mx:ColumnChart id="abcChart" showDataTips="true"
width="100%" height="95%" visible="false"
dataTipFunction="chartDataTip">
<mx:backgroundElements>
<mx:GridLines direction="horizontal">
<mx:horizontalStroke>
<mx:Stroke color="0xCCCCCC" weight="1"/>
</mx:horizontalStroke>
</mx:GridLines>
</mx:backgroundElements>
<mx:horizontalAxis>
<mx:CategoryAxis displayName="Area"
categoryField="AREA"/>
</mx:horizontalAxis>
<mx:horizontalAxisRenderer>
<mx:AxisRenderer fontSize="8"
cachePolicy="off" rotation="40"/>
</mx:horizontalAxisRenderer>
<mx:verticalAxis>
<mx:LinearAxis title="Count"
minimum="0" autoAdjust="true"/>
</mx:verticalAxis>
</mx:ColumnChart>

Similar Messages

  • Help we column chart display

    HI,
    I'm extending my dashboard to display printer information.
    From the sample data below I want to display, each printers
    job total count for each quarter.
    Bottom access should show Q2-07,Q3-07-Q1-08 vertical axis
    should show integers.
    From the table below I want to display in each quarter a
    column bar for each printer showing total jobs, and another column
    in same quarter showing page total for each printer
    AEc2880->JOBCOUNT:AEc2880->PAGECOUNT:CreativeFirey240->JOBCOUNT:CreativeFirey240->PAGECOUN T:
    I can either get the grid to show quarters but only on
    printer, or printers but only one quarter.
    <ColumnChart id="colChart" width="100%" height="100%"
    showDataTips="true" visible="true" >
    <horizontalAxis>
    <CategoryAxis categoryField="Quarter" />
    </horizontalAxis>
    <series>
    <ColumnSeries yField="JOBCOUNT" xField="Quarter" />
    <ColumnSeries yField="JOBCOUNT" xField="Quarter" />
    <ColumnSeries yField="JOBCOUNT" xField="Quarter" />
    </series>
    </ColumnChart>
    +------------------+----------+-----------+---------+-------------------+
    | PrinterName | JOBCOUNT | PAGECOUNT | Quarter |
    printStartQuarter |
    +------------------+----------+-----------+---------+-------------------+
    | AEc2880 | 748 | 1034 | Q2-07 | 2007-04-01 |
    | CreativeFirey240 | 2404 | 5454 | Q2-07 | 2007-04-01 |
    | AEc2880 | 2248 | 6552 | Q3-07 | 2007-07-01 |
    | AEiR5055 | 979 | 2845 | Q3-07 | 2007-07-01 |
    | CreativeFirey240 | 5017 | 12321 | Q3-07 | 2007-07-01 |
    | AEc2880 | 1439 | 6256 | Q4-07 | 2007-10-01 |
    | AEiR5055 | 1753 | 5587 | Q4-07 | 2007-10-01 |
    | CreativeFirey240 | 4731 | 9990 | Q4-07 | 2007-10-01 |
    | AEc2880 | 1817 | 2707 | Q1-08 | 2008-01-01 |
    | AEiR5055 | 1158 | 2817 | Q1-08 | 2008-01-01 |
    | CreativeFirey240 | 3822 | 9665 | Q1-08 | 2008-01-01 |
    +------------------+----------+-----------+---------+-------------------+
    Thanks in advance
    Dean

    Sorry this losses formating:
    I'm posting this hoping that it will point others in a
    direction right or wrong. Also hoping to get some feed back on
    improvements or even 'dude what where you smoking this code is
    awful'.
    Test Data I'm playing with from mysql.:
    +------------------+----------+-----------+---------+-------------------+
    | PrinterName | JOBCOUNT | PAGECOUNT | Quarter |
    printStartQuarter |
    +------------------+----------+-----------+---------+-------------------+
    | AEc2880 | 748 | 1034 | Q2-07 | 2007-04-01 |
    | CreativeFirey240 | 2404 | 5454 | Q2-07 | 2007-04-01 |
    | AEc2880 | 2248 | 6552 | Q3-07 | 2007-07-01 |
    | AEiR5055 | 979 | 2845 | Q3-07 | 2007-07-01 |
    | CreativeFirey240 | 5017 | 12321 | Q3-07 | 2007-07-01 |
    | AEc2880 | 1439 | 6256 | Q4-07 | 2007-10-01 |
    | AEiR5055 | 1753 | 5587 | Q4-07 | 2007-10-01 |
    | CreativeFirey240 | 4731 | 9990 | Q4-07 | 2007-10-01 |
    | AEc2880 | 1817 | 2707 | Q1-08 | 2008-01-01 |
    | AEiR5055 | 1158 | 2817 | Q1-08 | 2008-01-01 |
    | CreativeFirey240 | 3822 | 9665 | Q1-08 | 2008-01-01 |
    +------------------+----------+-----------+---------+-------------------+
    Each row is a printerName, JobCount, PageCount,Quarter,
    printStartQuarter (first day of each quarter)
    Requirements:
    I need to display summaries in a column chart of Queue
    (printer) usage. For each Queue summary I need to show total jobs
    sent (printed) and total pages sent (printed) for a given period.
    The one I'm dealing with here is quarterly view. With the
    sample data above I want to show for each quarter total job, total
    pages for AEc2880,CreativeFirey240 and AEIR5055
    If I use the data has is, I only get one queue per quarter. I
    need to have each queue its own column, twice. One for total jobs
    and total pages. Then one row per quarter for it to work.
    AEc2880_TJ - AEc2880_TP - CreativeFirey240_TJ -
    CreativeFirey240_TP - AEIR5055_TJ - AEIR5055_TJ - Quater -
    printStartQuarter.
    Now for the big issue, the queues are dynamic. The test data
    is from 3 queues only. There could be 1 to n number of queues and
    not all quarters will be the same as queues get added and deleted.
    This is how I approached this in AS Flex 2, I have flex 3 but
    not installed yet, I can not find much info on the new grouping
    classes to see if they will help.
    Most examples are with the advanced data grid. There is also
    very little information on charting bar the basics around.
    My data comes in from PHP middle ware as JSON.
    First think we need to do is pass the de-serialized array
    into a function that finds all the unique queue names.
    [Bindable]
    private var groupQueueEvent:ArrayCollection;
    private function setUpHandler(event:ResultEvent):void{
    //get the raw JSON data and cast to String
    var rawData:String = String(event.result);
    //decode the data to ActionScript using the JSON API
    //in this case, the JSON data is a serialize Array of
    Objects.
    var arr:Array = (JSON.decode(rawData) as Array);
    //Send array for processing.
    groupPrinters(arr);
    //function that takes quartly events and finds unique queues
    private function
    populateComboYearArray(eventsArray:Array):Array {
    var queueArrayHashMap : Object = new Object(); //create hass
    array, used to make sure array unique
    var queueArray : Array = new Array; //create arry to hold
    queues
    //now run through each row of passed data looking for queue
    names
    for (var i:int = 0; i < eventsArray.length; i++)
    //check to see if this
    queue is all ready in hash.
    if (queueArrayHashMap[eventsArray .PrinterName] ==
    undefined){
    //it not in hash so add it
    queueArrayHashMap[eventsArray
    .PrinterName] = new Object();
    // now add the queue array
    queueArray.push(eventsArray .PrinterName);
    return queueArray; //send back final array
    private function groupPrinters(data:Array):void {
    //create array to hold unique names
    var printerNames:Array = new Array();
    //process data and get unique queue names back
    printerNames = populateComboYearArray(data);
    var printGroup:Array = new Array;//hold the final array
    var tempRowArray:Object;//used to build each row of new data
    var pgCountColumnName:String;//used to build queue names for
    page count
    var jobCountColumnName:String;/used to build queue names for
    job count
    for (var printRow:int = 0; printRow < data.length; ) {
    //run through each row of data
    tempRowArray = new Array; //create a new row each time
    // we will always want the Quarter and printStartQaurter in
    every row so add now
    tempRowArray.Quarter = data[printRow].Quarter;
    tempRowArray.printStartQuarter =
    data[printRow].printStartQuarter;
    // now for the tricky bit, we need to process each queue
    name
    for (var i:int = 0; i < printerNames.length; i++) {
    // we need to see if we have a queue name match not all
    quarters will
    // have the same queue names
    if (printerNames
    .PrinterName == data[printRow].PrinterName) {
    //if match found add to our row
    //make dynamic column name would like to use queue name but
    may be tainted
    pgCountColumnName = "column" + String(i) + "pgcount";
    jobCountColumnName = "column" + String(i) + "jbcount";
    now create the columns with the names and add the data to
    them
    tempRowArray[pgCountColumnName] = data[printRow].PAGECOUNT;
    tempRowArray[jobCountColumnName] = data[printRow].JOBCOUNT;
    // we found a match so move along in outer loop
    printRow++;
    // we didn't find a match don't advance outer loop
    // we checked all the queue names advanced outer loop where
    needed,
    // next time trough we should be in new quarter
    printGroup.push(tempRowArray);// push temporary row to our
    array
    //assign are data to an array collection
    groupQueueEvent = new ArrayCollection(printGroup);
    //assign data to test grid for checking
    detailedPrintReport.dataProvider = groupQueueEvent;
    //assign data to chart.
    colChart.dataProvider = groupQueueEvent;
    //now make up the dynamic series
    //PLEASE NOTE this code does not work yet still playing with
    it
    // testing purpose hard coded in mxml
    var dynamicColumnSeries:ColumnSeries = new ColumnSeries;
    colChart.series = [dynamicColumnSeries];
    for ( i = 0; i < printerNames.length; i++) {
    pgCountColumnName = "column" + String(i) + "pgcount";
    jobCountColumnName = "column" + String(i) + "jbcount";
    dynamicColumnSeries = new ColumnSeries;
    dynamicColumnSeries.yField = 'jobCountColumnName;
    dynamicColumnSeries.xField="Quarter";
    dynamicColumnSeries.displayName =
    printerNames.PrinterName;
    colChart.series.push(dynamicColumnSeries);
    dynamicColumnSeries = new ColumnSeries;
    dynamicColumnSeries.yField = pgCountColumnName;
    dynamicColumnSeries.displayName = printerNames
    .PrinterName;
    colChart.series.push(dynamicColumnSeries);
    <ColumnChart id="colChart" width="100%" height="100%"
    showDataTips="true" visible="true" >
    <horizontalAxis>
    <CategoryAxis categoryField="Quarter" title="Quartly"
    labelFunction="defineLabel"/>
    </horizontalAxis>
    <series>
    <ColumnSeries yField="column0jbcount" xField="Quarter"
    />
    <ColumnSeries yField="column0pgcount" xField="Quarter"
    />
    </series>
    </ColumnChart>
    <DataGrid id="detailedPrintReport" visible="true"
    width="100%" height="100%"/>

  • Help: Column Chart Display Issue

    Post Author: ermiller
    CA Forum: Xcelsius and Live Office
    I have a chart that displays its data correctly 11 out of 12 times...and I can't seem to get the last one to work correctly. Here's the issue:
    I have a table of data that looks like this:
    REGION                                   GAIN                           LOSS                      NET
    ALL                                           =SUM(BELOW)          =SUM(BELOW)       =SUM(BELOW)
    REGION 1                                  10                               (1)                          9
    REGION 2                                  20                               (2)                          18
    REGION 3                                  30                               (7)                          23
    REGION 4                                  40                               (0)                          40
    I have a "Data Display" area that has the following formulas in it:
    CRITERIA                                   GAIN                           LOSS                    NET
    &#91;USER INPUT&#93;                           =VLOOKUP(&#91;USER INPUT&#93;,&#91;TABLE ABOVE&#93;,0,&#91;2,3,4 FOR EACH COLUMN&#93;)
    If the user enters 'REGION 1', 'REGION 2', 'REGION 4, or 'REGION 4', the data is displayed in the column chart perfectly. However, if the user selects 'ALL', the process doesn't work and displays 0s in each of the columns above.
    Does any one have any ideas on how to fix that issue or what could be causing it in the first place? I just noticed that the same thing occurs if I use a Grid component as well...even though Excel is processing the data accurately.
    Thanks in advance,
    Erik

    Post Author: debdeb
    CA Forum: Xcelsius and Live Office
    Hi,
    Without trying out your actual data, the first thing that comes to mind is that you aren't using all the options in VLOOKUP. I've discovered that Xcelsius requires all arguments even optional ones in many formulas but this isn't document). The last argument is TRUE (default) for the closest match, and FALSE for exact match. If the user can only enter from a set of values which are known to be in your lookup table, then either one will work but you should still specify this last argument.

  • Column chart display

    Hi experts,
                  I amusing column chart, its having 100 line of date, but when  i preview its showing all the 100 line of data, but i need scroll right to see the columns first 10 columns should display, then i have to scroll n see the data, how to achieve this
    thanks

    Hi Russel,
    Use the range slider to achieve this, give 1 in beginning range and 10 to end range value.
    hope this helps!!!!

  • Display Blank Column in Bex Analyzer without Error

    Hi Experts,
    i have created a report with several columns.
    To display the coorect descrition i use a new selecion and insert the required infoobject or Key Figure" it is ok.
    Whe want to display two blank columns.
    The problem i have is that there are some errors saying i should define thoses columns.
    How to define a blank cloumn which is displaying the description but empty?
    Thank you for your Input.
    Gilo

    Inside the query designer there should be a "columns" section.  Formulas can be configured either by:
    - creating a structure (dragging a structure from the left or creating a new structure)...or....
    - dragging a key figure from the left window pane over to the "columns" section.
    - you could create a new calculated key figure or restricted key figure, but this is not necessary in our example. 
    Right click on the structure or Key Figures.  There should be 2 options:  New Selection or New Formula.  We chose new formula,  add appropriate text/heading/description and put a =0 in the formula box, prior to clicking OK.    The wider the heading text, the wider the new blank column will look.
    Then right click on the column you just created to change it's properties to = suppress result for both the "calculate result as" and the "calculate single values as"....

  • ADF Data visualization Gantt chart displaying 10 columns only

    hi
    i am using Gantt chart and it is only displaying 10 columns from the view object the 11 column is not visible
    how can i solve this??
    also these columns are taking so much space, and i want to make their width smaller, but when i change the style --> box --> width, the column alone change its width but without the header.
    thanks

    People are not prone to answer questions that are not really a problem. You want to know something about a free product, install it and see for yourself. In any case spreading your question around is not going to help you, the people who know about ADF are still going to be looking in the ADF forum. If you don't get an answer there, what chance do you think you have that you'll get one here where it is off-topic?
    I'll close with a word of advice: you generally pay for quality. If you want professional looking charts, you'll probably have to look at commercial products.

  • FAGLL03 : customer and vendor columns displaying blank

    hi experts,
    In FAGLL03 tcode , customer and vendor columns are displaying blank .
    Is there any settings need to be done in SPRO for displaying the 2 columns .
    kindly give me any suggestions.
    thanks & regards,
    Raghul

    hi Radhika,
    Thanks for your prompt reply.
    I already defined table and field names as mentioned by you .
    Also i checked FAGLPOSYEXT structure the two fields were appearing as it was not there previously.
    When i checked by running FAGLL03 , the fields customer and vendor were appearing blank only.
    Also  i tried by executing the report  BALVBUFDEL - for buffer reset.
    Kindly give me any suggestions how to rectify this .
    Thansk & regards,
    Raghul

  • Blank column in a chart

    Hi gurus,
    I'm trying to insert a blank column into a column chart because the columns of different measures are together.
    I tried to insert a blank serie and it works, but if I show the legend, I have a blank value into the legend and I can't hide it.
    Any ideas?

    Hi Javier:
        Try following:
        There are two column chart overlapped. First chart binds to all series. Second chart binds to the same series but then remove one series which will filled with blank values at run time.
        1. Do formula in the excel, hide the first chart when the column data is filled with blank (equal 0). (then it will show the second chart with one less series)
        2. Show the first chart back when the column data is filled with data. (not equal 0).
    thanks!
    Bill

  • How to reset drill-down column-chart based on map-chart?

    Hi guys,
    I'm facing pritty common issue while designing one of my dashboards.  Let me describe a little bit  more:
    1. I have some data extracted from BW using Query as WebService into my Xcelsius spreadsheet.
    2. I have map-chart - regions for some country.
    3. I have a drill-down column-chart, which displays data for a selected region.
    At the beginning column-chart displays results for entire country (which, in fact, is not exactly drill-down). The issue I'm fasing is, that in case I select any region and the data is drilled-down into my column-chart, I have no option to show data for the entire county in the column-chart anymore (the only one way is to restart the report).
    Are there any possible way to do this, or am I doing a design error while displaying data, which is not drilled-down, into a chart which is intended to display drill-down data only?
    Any help would be highly appreciated.
    Thanks in advance.
    Ivaylo Mutafchiev
    Varna Business Services
    Project Manager BOBJ

    Ivaylo Mutafchiev,
    I understand your problem now. So your column chart data which is coming from the QAAWS query should be having a prompt which is bound to some cell in excel. and your map might be passing the values for prompt isn't it? in your case the map might be passing a region.
    All you need to do is put the prompt in the web service for region as a optional prompt. Now pull in a check box or a Push button(name it as reset or something.). while binding the data to the check box or push button (source data) bind it to a blank cell. when user clicks on it , it passes a blank vlaue to the region(this is ur input for region) which will inturn makes the prompt optional for the region web service. which should pull all the data for all the region.
    The whole idea lies in somehow passing a blank cell to your  web service whose region prompt is optional.
    Thanks,
    Karthik

  • Overlapping data when more data column chart SSRS

    Hi guys,
    In my ssrs report the column chart  display is not good when more number of datas are viewed.How to overcum this issue
    I searched more on this issue no good solution found.
    I attached screenshot for this report,
    any suggestions pls
    Thanks,
    R.B

    Hi R.B,
    I can reproduce the issue in my local environment. If there are more column data with adjacent values in the chart, the label will be overlapped due to the insufficient space. In this scenario, there are several properties you can use to try to get the labels
    to fit better. Click the data point to open the Properties Windows, then go to the SmartLabels node.
    Expand the "NoMoveDirections" node. This will give us a lot of directions that we can use to restrict the directions that the labels can move in. We can try to change directions to see if it helps.
    Try to enlarge the chart size and use the method below to adjust the column size, it will free up more space to contain the label.
    http://www.bidn.com/blogs/ChrisAlbrektson/bidn-blog/1832/ssrs-adjust-bar-chart-width
    If we want to remove the black arrow, we can refer to the following thread:
    http://social.technet.microsoft.com/Forums/en-US/e3019086-4f72-4898-ba86-2e7c97c8fae4/ssrs-series-lable-overlaping-issue?forum=sqlreportingservices
    Alternatively, we can use Tooltip property to instead of actually displaying. Type the same expression with Value field in the Tooltip property.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Reporting -Blank columns

    Experts,
      Can you please tell me how to remove blank columns in BW report.I tried to surpress in the properties of query ,but still displaying blank columns for periods.
    Any suggestions greatly appreciated .
    Regards
    Mano

    Bhanu,
      My query got structure and periods.My query have completly  empty columns AND some zero values  and I tried to right click on Structure properties and check  Zero surpress values ...
    It is removing all blank columns as well as zero values .
    I want to remove only blank columns.
    Any suggestions ?
    Thanks a lot
    Regards
    Mano

  • Column Chart Issue

    I have a column chart with multiple column series. The
    vertical axis is of DateTimeAxis and formatted for hours. In one
    instance the minimum y-value displayed on the axis is 3:00 hours.
    Two column series with values of 5:20 and 8:03 are being displayed.
    The third, whose value is 2:15, is not being displayed. I can,
    however, mouse over the x axis where the column series should be
    displayed and its dataTip pops up with the correct information,
    most importantly the time 2:15. Any thoughts???

    It seems like your veriticalAxis minimum value is above 2:15.
    Why not set it lower and see if that helps.

  • Colour by series in combination and column charts

    I am trying to create combination charts and column charts where each column or line in the charts can be assigned its own colour. This can be acheived by using the "By Series" option in the properties "General" tab. However, when this approach is taken, all the columns are grouped in the middle of the chart, with large ammounts of unused space on the left and right of the columns. Usual behavior with other charting programs is that the columns start from the left hand margin. Indeed, this is the case if I choose the "By Range" option, but then all the columns are the same coluor, and individual column and line colours can not be changed. Anybody got any ideas on how to resolve this please.

    Hi Darrell,
    Here's an example using COUNTIF. I've moved the count to a separate table. Table names are shown above each table:
    Formula:
    Summary::B2, and filled down to B6: =COUNTIF(Main :: $A,"<"&A3)-COUNTIF(Main :: $A,"<"&A2)
    Note that A7 must contain a numberlrger than the starting number for the last category you are recording.
    B7 should be left empty.
    Row 1 on each table is a Header Row.
    Regards,
    Barry

  • In the new Numbers, How can I get a 2D stacked column chart to display only 1 column?

    In the new Numbers, How can I get a 2D stacked column chart to display only 1 column?

    This is one of those things that I find really strange about Numbers 3. The control for what you want to do is not where anyone would expect to find it.
    Select the Chart
    Click on Edit Data References
    Look at the bottom left corner of the Numbers window. It should say "Plot Columns as Series" or "Plot Rows as Series"
    Click on it and change it to the other

  • How to avoid blank column display in output in ALV TREE

    how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
    Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
    Thanks for reply.
    Edited by: morpeous on Jul 1, 2009 1:53 PM

    Hi,
    Check BCALV_TREE_02 on how to hide columns.
    Thanks & Regards,
    Anand Patil

Maybe you are looking for