Chart Display

Hi Friends,
I am facing problem with the chart.
Problem: If data is small then chart is displaying fine but if data is huge, chart was disappering.
Can anybody fix this issue.I am using BI7
Regards
Madhu

It is not the issue with the product. If you have large result to display in chart, based on the chart area you have set (Size of your chart Web item in web template), it would not be feasible to display the entire result set and due to the fact, system does not display the chart.
I am sure, instead of chart, you might be getting msg that "current result set can not be displayed".
Solution is, to limit your result set or the width and the hight of the chart needs to be set accrodingly that system can accomodate the chart with the same time it is readable.
- Danny

Similar Messages

  • Problem with chart displaying data correctly

    I have created a bar chart that displays data for each day of the month. The majority of the time this chart displays the information corrrectly. However now and again the bars of the chart appear much larger than they should meaning that instead of showing 30 or 31 seperate bars it can only display half that amount due to the increased size of the bars. If you display the same chart again then the problem will often disappear.
    I am using Coldfusion MX 7 version 7.0.2 Enterprise Edition. Ihave installed all the latest updates up to Cumulative Hot Fix 3.

    Hi,,
    I have checked that the data being passed is correct and it seems to be. Chart code below.
    Thanks
    <cfchart chartwidth="700"
       chartheight="300"
       pieslicestyle="solid"
       show3d="no"
       showlegend="no"
       fontsize="12"
       xoffset="0.0"
             yoffset=".0">
    <cfchartseries type="bar"
       query="chartquery"
       serieslabel="Date_Accessed"
       valuecolumn="namecount"
                itemcolumn="date_created">
        </cfchart>

  • Problem with Chart display in WAD

    Hi All,
      We have a Web Report in which we want to display the data in <b>table</b> format and also in <b>chart</b> format. We have two tabs : Data display and Chart display.
    In Data display tab we want the data in table format and in the Chart display tab we want the data in Chart format.
    Problem we are facing is that we are getting both table and chart displayed in the Data display tab. We want only the table in this tab and want to hide the chart which is coming there.
    Please help me on this.
    Thanks in advance,
    Prakash

    Try to use hide an unhide commands:
    <a  href="<SAP_BW_URL ITEM='GR' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1&MULTI=X&HIDDEN=''>
    In this example, all Items containing GR are hidden and in a second step, all Items containig GR1 are displayed.
    Regards,
    Beat

  • Pie chart  display error

    Hi
    I created pie chart using CFCHART tag. In the chart display,
    data values overlap on one another in the display. How to rectify
    this error.
    Kindly help me in this regard.
    Advance thanks

    I am using  ColdFusion Report Builder 9 to generate a PDF, so there is no code to provide, but here is an example of my data:
    fruit
    count
    apples
    112
    oranges
    304
    bananas
    0
    pears
    0
    grapes
    16
    strawberries
    80
    plums
    48
    pineapples
    32
    blueberries
    16
    raspberries
    32
    apricots
    256
    tangerines
    705
    cherries
    1
    peaches
    0
    With 'label column: fruit' and 'value column: count', when I select 'data label: pattern', for my pie chart, the labels overlap.

  • Chart displays real quick

    I am using buffered data acquisition and i acquire at the rate of 20,000 samples per second and i write my data to a binary file. The problem is I view my data in a chart when recording the data. The chart is too fast, I want to reduce the speed of the chart say at around 2000 samples per second but i want to record data at 20,000 samples per second. Is there a way so that the chart displays my data at a slower pace?
    Thanks,
    Oxygen

    see attached vi.
    just pass the data array to the decimate function as illustrated.
    Attachments:
    Decimate array.vi ‏79 KB

  • 0PUBLISHING_TEMPLATE chart display

    Hi,
    We have BW3.10. I set up a web template with a ROLE MENU item as the navigation frame, and the result gets loaded in the 0PUBLISHING_TEMPLATE in another frame. When a query is selected, in the application toolbar, there are chart options - bar, pie, line, etc. However, it does not work correctly because, for example, bar chart and pie chart displays exactly the same graphic.
    Does anyone know what I need to do in order for the chart to display correctly?
    Thank you very much.
    Hsiao-Chun

    Hi,
      Usually 0QUERY_TEMPLATE is the default template for any query you run from BEX query designer whcn you use 'Display in web' option.
    But you can create a new web template and use your query.
    Insert this code into your web template for the correct toolbar,
    <!-- Toolbar --->
    <table>
    <tr><td style="padding:5px;">
    <table cellspacing="0" cellpadding="1" border="0" class="SAPBEXNavLineBorder" width="450"><tr><td width="100%">
    <table border=0 cellspacing=0 cellpadding=5 width="100%"><tr>
    <!-- Display table and nav block --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR1*&MULTI=X&HIDDEN=''>"><img src="Mime/BEx/Icons/S_B_TVAR.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="622">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Display Bar Chart--->
    <td class="SAPBEXNavLine"><a href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_COLUMNSTACKED&GENERATE_CAPTION='>"><img src="Mime/BEx/Icons/S_GISBAR.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="657">"></a></td>
    <!-- Display Pie Chart--->
    <td class="SAPBEXNavLine"><a href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_PIES&GENERATE_CAPTION='>"><img src="Mime/BEx/Icons/S_GISPIE.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="658">"></a></td>
    <!-- Display Line Chart--->
    <td class="SAPBEXNavLine"><a href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_LINES&GENERATE_CAPTION='>"><img src="Mime/BEx/Icons/lines.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="659">"></a></td>
    <!-- Display 3D Bar Chart--->
    <td class="SAPBEXNavLine"><a href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=GR1GR2NavBlock&HIDDEN=' CMD_2='CMD=RESET_ITEM&ITEM=GR2Chart&WIDTH=600&HEIGHT=400&HIDDEN=&ITEM_ID=0QUERY_TEMPLATE_3DCOLUMNS&GENERATE_CAPTION='>"><img src="Mime/BEx/Icons/columns_3D.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="660">"></a></td>
    <!-- Display Switch Axes --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='SWITCH_AXES' DATA_PROVIDER='DP'>"><img src="Mime/BEx/Icons/S_B_RESH.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="312">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Display Infos --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR3*&MULTI=X&HIDDEN='>"><img src="Mime/BEx/Icons/S_B_TXDP.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="T70">"></a></td>
    <!-- Display Exceptions--->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR4*&MULTI=X&HIDDEN='>"><img src="Mime/BEx/Icons/S_BWEXMO.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="281">"></a></td>
    <!-- Display Conditions--->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR5*&MULTI=X&HIDDEN='>"><img src="Mime/BEx/Icons/S_SUMMAR.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="282">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Display Variable Input --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='PROCESS_VARIABLES' VARIABLE_SCREEN='X'>"><img src="Mime/BEx/Icons/S_B_VARB.gif" valign="middle" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="T76">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Query Definition --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL ITEM='QueryDesigner' HIDDEN=' '>"><img src="Mime/BEx/Icons/adhoc_querydesign.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="320">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Display Bookmark --->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='BOOKMARK'>"><img src="Mime/BEx/Icons/bookmark.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="309">"></a></td>
    <td class="SAPBEXNavLine"> |</td>
    <!-- Display Export Excel--->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DP'>"><img src="Mime/BEx/Icons/S_X_XLS.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="T77"> <SAP_BW_TEXT program="SAPLRRSV" key="T72">"></a></td>
    <!-- Display Export CSV--->
    <td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='EXPORT' FORMAT='CSV' DATA_PROVIDER='DP'>"><img src="Mime/BEx/Icons/csv.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="T77"> <SAP_BW_TEXT program="SAPLRRSV" key="T73">"></a></td>
    <!-- Display Print Preview--->
    <!-- <td class="SAPBEXNavLine"><a  href=""><img src="Mime/BEx/Icons/S_B_LAYT.gif" border="0" alt="Druckvorschau"></a></td> --->
    </tr></table>
    </td></tr></table></td></tr>
    </table>
    Thank you
    Arun

  • MTA - CNMT Chart display issue

    hi All,
    I am having issue displaying all the 'Milestones' associated to a Network in CNMT.
    Milestones created are checked with 'Trend Analysis' checkbox in 'Milestone - Basic Data' tab.
    The activities are 100% confirmed and the Actual date of the activity is copied over to 'Actual date' field for the Milestone.
    I checked the graph axis to display the 'Date range' which falls within the 'Actual Dates' of Milestones. It is showing only 'One' milestone, but not others (there are 2 more milestones which fall in the same date range and the activity is 100% confirmed).
    Please suggest if I am missing something here.
    -thnx in advance

    Yes, I did create a new project version and Saved it Via CN41. The Data has been refreshed via Edit -> Scope of current data -> All fields in CN41. The chart is still showing only 'ONE' milestone.
    Ex: The milestone currently being displayed in the chart is related to an activity which was confirmed on 26 Dec 2011. There are two more milestones related to two different activities which were confirmed on 30 Dec 2011, 10 Jan 2012. These are missing from the chart display.
    Moreover, the system displays the following message:
    Diagnosis
    You have restricted the number of milestones to be displayed by using operative milestone data.
    Procedure
    To display all the milestones for the project, choose View -> Historical milestones.
    SAP Library states:
    Historical curve:
    This standard view displays those milestones that have the MTA indicator set at the time of the current report.
    These milestones are displayed across the entire reporting period, also when the indicator was not set for them at an earlier reporting time.
    The Historical Curve is what I am assuming is needed to display all the Milestones on a particular reporting date. I checked in CNMT -> View -> Choose Dates, which shows the Milestones & Reporting times. I guess I am missing something else.
    Please advise.
    Edited by: sdn sap on Jan 13, 2012 8:40 AM
    Edited by: sdn sap on Jan 13, 2012 8:41 AM

  • Access 2010 Charts - Query runs but Chart displays black screen

    Hi,
    I developed a db in MS Access 2007 on my old PC and everything worked perfectly.  After trying to open it on my new PC using Access 2010 the db works except the charts display as a black area.
    After a bit of playing around I can say for certain that the queries for the charts are running correctly, (and of course the colouring of the chart is correct).
    I tried deleting the charts but I got an error message saying "cant find the OLE library".
    As I'm relatively new to creating exe files for transferring db's I'm thinking I need to bring the ole library with the db?? but I cant seem to find it on my old pc (maybe being stupid)
    Please could you tell me if I'm barking up the wrong tree with this, or if there is a simple fix that I'm overlooking?
    Many thanks
    Tom.

    I was having this exact same problem, then it just stopped. I am using the nouveau driver and I have a tnt2 card.
    IIRC, I was having an unrelated problem with xorg or udev or something was having problems detecting my monitor, it claimed I had two monitors connected, I wrote an xorg.conf file and that fixed the problem. IDK if its is related or not because I don't recall exactly when things started working when I would switch ttys.
    Try using the nouveau driver and see if it does the same thing, it has a kernel module so it might make difference,
    Last edited by RiceKills (2010-07-06 23:39:27)

  • XY chart display(multiple plots) --help required

    Hi All,
    I have problem in showing data(scale on y-axis)..on the xy-chart display...
    Chart contains 2 plots...
    1.length vs 1st Speed
    2.length vs 2nd Speed..
    my problem is with the scale on y-axis and plotting 1st speed and 2nd speed(on y-axis..) with respect to length(on x-axis)....
    I attached my front panel window diagram for ur kind help....
    I can able to view the plot on the chart....but the plot's are not like plots...they are plotting like in straight lines
    One more Doubt ....in some chart if we right click it ..we can able to view the chart history length....
    but in some chart ...why it's not appearing when we right click it ..
    In that cases how we can set chart history size length...or how to enable the option.....
    Regards
    Rajasekar
    Attachments:
    speed251.vi ‏433 KB
    Front-panel2.PNG ‏110 KB

    Dear friend,
    First i misunderstood the concept...now i am clear with the graph and chart concept..Since i am new user to Labview....
    I need the xy-graph behaving like chart..with history length..(data acquistion type  by serial)..
    Now i am completed the task...with the  examples comes from NI example finder..but i need clarification.....
    I attached my vi...could u please see through it....
    if u see the attached front panel diagram named front-panel.png file...in that the xy-chart is showing a straight line...
    This is where i am facing problem...It should be continous instead of straight line....
    Latter i find that this problem is  because of history length problem of  xy-graph.
    so i added buffer.vi..(sub-vi) available in variable-time xy-chart example to overcome this issue..
    Please say ur suggestion...
    Attachments:
    Front-panel2.PNG ‏110 KB
    speedhistorylength26.vi ‏434 KB

  • Chart display and camera trigger

    Hello,
    I’m new to Labview and using it for my thesis to acquire data and initiate the image capturing of a camera. But I came across some problems with the data display and camera trigger, if anyone could offer some advice
    My Hardware consists of a MC-USB-2404-UI DAQ-device (including MCCdaq-Drivers with Ulx-Libary and an extra LV vi pallet), a thermocouple type K and a TEMATEC pressure sensor MAP350-S / F (0-10V/0(4)-20mA). Since the DAQ-device supplies itself through USB with just 5V Power, I connected the pressure sensor in series with an additional 10V power supply unit.
    The VI that I am constructing should read the measured values (pressure and temperature) and display them in a chart and on a numerical indicator. Above 200°C and 200bar the data logging should be manually started and a high-speed camera simultaneously triggered. Apart from the camera trigger, the VI is almost complete except for a few problems with measuring the value display.
    Here are my problems:
    1) How can I initiate the camera simultaneously with the data logging? Since the hs camera will capture more than 1000fps, I would restrict the image acquisition to a simple trigger that initiates the capturing. The appropriate VI’s IMAQ and IMAQdmx are already available. Should I create a new loop and connect it to my case-structure through a Rendezvous?  And what kind of vi’s do I need for a simple trigger?
    2) Also I couldn’t figure out how to convert 1D-Array of Waveform to DBL or at least how to connect the data wire with a numerical indicator. The indicator is crucial for the manual start of the data logging.
    3) Another problem is with the chart display. As soon as I start the data logging, the graph disappears and the chart displays only n-samples of the currant loop pass. The enlargement of the chart length history brings no improvement. Before the data logging is started the charts are showing the all points from the start. So what changes when I Press “Aufnahme starten” (start acquisition)?
    Any ideas would be much appreciated.
    Attachments:
    Blockdiagramm.png ‏153 KB
    Frontpenal.png ‏172 KB
    Temp+Druck_daqmx.vi ‏595 KB

    Hello annaei,
    thanks for your quik help... the numeric indicator is now implemented. thanks to you.
    Explaination:
    1) I have construkted an experimental vessel, which builds up pressure through a stamp. There is a heating jacket around it and on the bottom is a sight glass to capture the intirior with a highspeed camera. The starting conditions for the experiment are 200bar and 200°C. So I will need to monitor the current state of the intirior to know when i can start the actual data logging. With the data logging i want to start my image acquisition silmutaneasly. 
    3) For the Chart problem i attachted two pictures... After experimenting with the sample clock, reading vi and timing of the loop, i figured out that the greatest influence is the loop timing.
    At 250ms (wait Xms multiple for loop pass) there is all data displayed even if i press the data logging button. At 100ms i was logging the data from 5s on and as one can see in the picture below the graph disappears after 28s. At 20ms loop pass interval the graph disappears randomly and with the data logging activated it is just a single point displayed.
    In general the 250ms loop pass interval is a totally suitable solution for me, but i just can't help the feeling that the problem is not resolved. And i would like to know what i am doing wrong or what i could do better.
    Thanks, Tobi.
    Attachments:
    mit 250ms multiple loop pass.png ‏171 KB
    with 100ms multiple loop pass.png ‏160 KB
    Temp+Druck_daqmx.vi ‏600 KB

  • My App Store is showing white screen on features and charts display

    My App Store is showing white screen on features and charts display. Any ideas what I should do?

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Hiding lines on a line chart (Display marker only)

    I would like to only view Markers along with bars in combination chart. Need to make lines transparent or hidden (disable).
    The X category  axis is (different companies), so connecting line is not appropriate.
    There are setting to hide other elements: Markers (Enable or Transparency), Column (Transparency).

    Hi,
    I don't think that is possible out-of-the-box. What you could do is the following:
    1) Create a Bar chart
    2) Create a XY chart (this will be your markers). Create a new series on the XY chart. Point the x-values to the x-axis labels on you bar chart. Point the y-values to the values you would like to display as markers.
    3) Disable display of most of the elements of the XY chart, e.g. chart back ground, legend, vertical axis, gridlines etc.
    4) Move the XY chart on top of you Bar chart
    This will work, but might take a little fiddling :o)
    Hth.,
    Jacob

  • Pie Chart display problem

    Hello,
    Pie chart is not displayed when I tried this sql with 'order by' clause.
    select null, b.subject_name, count(a.subject) cnt
    from schooltemp a, subject b
    where a.subject = b.subject_id
    group by b.subject_name
    order by cnt desc
    This sql works only when 'order by' clause is removed.

    Hello Marco,
    I think I've found the cause.
    That was not because of "order by" clause, but because of the length of column data used in the legend section.
    When the column data for legend is longer than 38 chars, this SVG chart becomes blank in my case.

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

Maybe you are looking for

  • Team Development with Subversion

    Hallo, we have a model with nearly 1,900 tables. We were on Oracle Designer before and now started with a fresh reverse engineered Data Modeler model. Since Data Modeler does not have a database repository like Designer had, we use integrated subvers

  • How to use todate function in JDBC adapter

    Hi All, How can we use the todate function to update a date field in Oracle database. I am getting a java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected Exception, when I am mapping the date fields with  t

  • Convert iTunes movies to DVD

    I have purchased several movies from iTunes. Since most of the times these movies are played on my APPLETV. However from time to time the children want to watch the movies in their room. I can not find any menu option that will allow me to burn purch

  • Oracle ODBC and DAO extremely slow

    Hi I'm using Microsoft DAO 3.6 with an Oracle ODBC connection (version 9.2) in an VB6 application. Opening an updateable dynaset is extremely slow, I have measured the performance with Oracle ODBC, Microsoft Oracle ODBC and Microsoft SQL-Server ODBC

  • ClickAfter of a CheckBox, UserDataSource not what it should be ?

    Hi, I'm experiencing strange behavior with the event ClickAfter of a CheckBox. When I check it and debug into the event, the oDataSource (User Data Source) for this CheckBox reports "N" and when I uncheck the CheckBox, it reports "Y" ???  I'm very co