Chart adustments

Hello All,
I am having an issue with charts. My setup is Apex 4.1.1 Internet Explorer. I currently have drilldown charts
setup to pass values to the next page for the next chart to render the new information. Here's my issue
when I pass 2 to 4 values instead 5 or more the chart renders with thick bars for the bar graph. Question
is there a way to fix the chart width and height to automatically adjust based on the number of values
rendered?
thanks!!!

I've had a similar problem and I think I've found a solution.
I found an almost solution in the Oracle forums (dynamic chart size but it suggested entering a few variables in the Custom XML. Happy to do that, but the location it suggests doesn't exist. So off I toddled to AnyChart and read its manual and a few live examples, tried to put the height and width into the chart definition in the same way AnyChart does, but that caused a parsing error in Flash/Apex.
I also tried popping a variable into the chart width definition box in Apex (4.1.1) which results in it complaining that the value must be numeric and non-zero/null.
What seemed to work was the following:
I have a variable all ready to go (P9_CHART_WIDTH) and the Chart XML on the Chart Attributes page looks like this (you need to allow Custom XML):
<chart plot_type="Column" name="Chart_Name" height="&P9_CHART_HEIGHT." width="&P9_CHART_WIDTH.">
...some more code...
</chart>
And within the HTML on the Region Definition page, put in the same variables for height/width respectively e.g. change height="#HEIGHT#" to height="&P9_CHART_HEIGHT." in both places in the HTML.
What you'll also need to do is put a computation in the "Before Header" section of the Page Rendering to calculate the value for P9_CHART_WIDTH before the chart is rendered. Set up P9_CHART_WIDTH as a "Static Assignment" Source Type. Put the calculation code to calculate P9_CHART_WIDTH in the Computation.
Hope this helps!
Edited by: 957346 on 06-Sep-2012 03:49

Similar Messages

  • Not able to view data in Aria People search Org Chart

    Hi,
    I have uploaded my data into aria_tmp_people, aria_people_a & aria_people_b.
    While doing the search from Aria poeple, the uploaded data is not displaying in org chart.
    Your help is highly appreciated.
    Thanks
    Aneesh

    Hi Aneesh,
    First be more clear about Aria Application. As Aria, is been related to an hrms part of an organization carrying the people infomation and it has some separate features too.
    But in your prespective i couldnt able to understand what do you want to do with that packeged application.
    Since you want to customize the aria application according to your organization needs means, First collect all your necessary organization information that is needed(like tables etc.). Then substitute those (i.e) your organization tables in the appropriate places in the form of query.
    Please dont use the same Aria people table, as the Oracle may framed according to their employee information. Nearly Aria application has 200 supporting objects. If you want to use the same objects means whether u r going to creating nearly 200 supporting objects..It is not worth at all.
    Please be more clear in your requirement that, what you are doing, and then raise the question. Be more prepared with your tables along with datas, and let give your reply once you were been prepared with your organization details table.
    As there are more peoples in the forums to help you other than me.
    Brgds,
    Mini
    Mark Answers Promptly

  • How can I represent more than one plot in an only one chart?

    Hello everyone,
    i got a code where I don't understand how to represent more than two plots, with different scales each, in the same waveform chart.
    As brief review:
    * 2 adquisition data wired to Bundle
    * wire from Bundle to waveform chart.
    * options of th chart: stack plots.
    I've tried to expand the Bundle but the problem is that I'm wiring a 3 element cluster to a 2element cluster chart. I don't understand how to upgrade the chart...
    (there's the two plots in each chart)
    (there's the code, where I've already tried expanding any bundle and wiring other signals, then wiring the bundle's output to the chart)
    I think if I could add more scales, it will be possible to plot three plots on the same chart.
    Thank you for your time
    Marcelo A J

    Since you are dealing with waveforms already, I think you actually want to have an array of waveforms to go into your chart.  You also need to map the plots to the scale that you want to use.  You can do that in the plot tab of the properties window.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i display Waveform chart in a subpanel using Vi templates.

    Hi All
    I am new to Labview hence need  some help. I am trying to develop an application which reads some data from a Wireless Sensor Network (WSN). The WSN consists of base station connected to the USB port which recieves data from other sensor nodes.  The data comes in a certain format.  Node name, temperature reading, humidity reading etc. I want to read the data from the serial port and  based on the Node name, i want to display the information for each node in s separate window or subpanel etc. So if a new node is detected then a new window is created for that node. Since all the nodes have the same sensors on board i only need a one template. I can read the data using the serial port, parse the data to detect which node it is and also what the sensor readings are. I have created a template VI for the sensor node. I am having problems in displaying the template VIs in a subpanel. I can succesfully display a Waveform graph in the subpanel but i am having problems in displaying a waveform chart in the subpanel. I can see the actual waveform chart in the subpanel, but i cannot see the plot. Would be greatful if someone could point out what i am doing wrong here.
    Many Thanks
    Raza
    Solved!
    Go to Solution.
    Attachments:
    template_graph.vi ‏16 KB
    graph_template.vit ‏11 KB

    Hi All
    I think i have solved the problem. It seems like i was running the Vi in a loop. I have taken the Run Vi outside the while lopp and this works fine. Also i need to close the reference at the end.
    Raza

  • Adding a single quote in the flash chart legend

    Hi all,
    I am using a following code to create a line chart.
    SELECT null link
    ,TO_CHAR(monat, 'MON-YY')
    ,ROUND(No_of_hits/1000) "No of Clicks(''000)"
    FROM
    SELECT DISTINCT TRUNC(ref_month,'MONTH') monat
    ,SUM(no_of_hits) OVER (ORDER BY TRUNC(ref_month,'MONTH') RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) No_of_hits
    FROM goodnews_hits
    WHERE ref_month BETWEEN :p77_DATE_startline
    AND :p77_DATE_endline
    ORDER BY monat;
    I get the following legend in the top region of the chart
    No Of Stories
    No of Clicks(''000)
    I need the No of Clicks to be displayed as
    No of Clicks('000)
    i.e.
    Only one single quote before 000
    Could you please tell me , how this can be achieved?
    Thanks,
    Archana

    As I said in my earlier post, I am looking for the tooltips for the Presentation tables and columns. The tooltips for these were extracted from the RPD using the externalize Strings option and these externalized strings are stored in the database.
    So I am escaping the single using a single quote both in rpd and in the database.
    Example text I have used both in the rpd and database is something like "Shipment's start time". I tried with "Shipment''s start time", " Shipment'''s start time", but it didn't work.
    Thanks!!
    Vasantha.P

  • How can i print out the waveform chart?

      hello everybody,
    how can i print out the "waveform chart". can i do it just push the button. ( example; stop button is stop the program etc..)
    i checked the NI examples but i can't understand. i'm new to the Labview.
    pls help me.
    i added the my program
    look forward your reply
    regards from turkey...
    Message Edited by hknmkt on 05-29-2008 04:15 AM
    Attachments:
    29.05.2008_11.vi ‏37 KB

        hi jim,
    i tried the program but it's not running. When i run the program, it's print out without run the program
    i added the printed file.
    look forward your reply
    hakan
    Attachments:
    error8.JPG ‏8 KB

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • SSRS show trend chart over column chart per series groups

    Need help in designing following report in SSRS, where I have a chart report with 2 category grouping fields and 1 series group field (as with category grouping, the reason being, i need to show columns in group of 4 joined together based on their grouping
    on top) .
    Below are my queries
    1. how to show my category grouping values on top of chart (showing group in different color) and series grouping values on bottom of chart (under each bar)
    2. I need to show trend line over each series group data.
    For example, First category group is over hotel name, second category group is over room type (deluxe, executive & suite) and one Series group over week number (for a month report), and the chart value is total occupancy (per hotel per room type per week
    number). Now for point 1, Hotel name and room type needs to be on top of the column (total occupancy) chart, where a week iteration number (1,2,3,4 for a month) at the bottom of the chart under every column.
    And for point 2, I need to show trend line per room per week occupancy was improved or not.
    Regards, Sujay

    Hi Sujay,
    According to your description, you want to display the two category group values at the top of the total occupancy value. Also you want to create a trend line over series values.
    For your first requirement, you can specify the Label data as a combination of two category group values and total occupancy values. Then change the location of series group value legend. Please refer to below screenshot.
    For your second requirement, you can add additional total occupancy values to the Chart Data panel, then change the chart type as Smooth Line.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • SSRS Chart group dataset by Year (series groups)/Month (category groups) force intervals to start at JAN?

    Hi all,
    trying to figure this out in REPORT BUILDER, but I guess I can go to VS if needed...
    I've got a data set that says "sales" and its basically order summarycontaining:
    id, dateplaced, and other stuff...
    I want to use this dataset to show trendline for annual qty of orders
    created line chart with "countDistinct(id)" as the series for X
    category groups = groupby "=Month(dateplaced)" and label "=MonthName(Month(dateplaced)"
    series groups = group by "=Year(dateplaced)" and label the same.
    I think this is working as intended, please correct if not.
    The PROBLEM I'm seeing is that since my dataset returns data starting around september so my "axis" starts in september... I really would prefer it starts at Jan and ends in December... I can't see any way to do this...
    The only things I could think of are;
    put fake data in dataset that returns "empty" values for jan in the first year of data...
    change the query completely to make sure tehre are "year" "month" groupings... somehow...
    but both of these approaches seem to be "hacky" and not very maintainable or clear...
    Help!

    Hi noJedi,
    According to your description, you want to you have the category group in your chart always start from January. Right?
    In Reporting Services, when we set category group, the records will sort by the sequence of data in database by default. However, we can apply expression in
    Sorting so that those records can sort by the month. We have tested your scenario in our local environment, here are steps and screenshots for your reference:
    1. Create a chart and put the corresponding expression into category and series group.
    2. Right click on category group. Go to Sorting tab. Put the expression below into sorting expression.
    3. Save and preview. The result looks like below:
    Reference:
    Sort Data in a Data Region (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error while assigning Chart fo dep to Company code.

    Hi,
    I am getting an error "Inconsistency between FI company code PJP1 and chart of deprec. ZJCD" when i am trying to assign chart of depreciation to company code.
    The details description is below:
    Inconsistency between FI company code PJP1 and chart of deprec. ZJCD
    Message no. AC481
    Diagnosis
    You tried to assign chart of depreciation ZJCD to company code PJP1. According to its Customizing definition, this company code manages parallel currencies.
    The chart of depreciation does not contain a corresponding depreciation area for each of the currency types that are defined in the company code.
    System Response
    This assignment is not possible.
    Procedure
    1. Check the currency types of the company code.
    2. Specify a corresponding depreciation area for each currency type.
    Please let me know what should i do in this case.
    Regards,
    Dinesh Lakhotiya

    Hi Paul,
    It is already defined for my chart of depreciation.
    However, i think i am missing one step: Define depreciation areas for foriegn currencies.
    When i went into this step, i found that my company code is missing. No depreciation area currency is maintaine for my company code. There is no options of new entries also. If i want to maintain the same, how would i do that?
    Awaiting response.
    Regards,
    Dinesh Lakhotiya

  • Chart of accounts

    Hi,
    While creating PO, i'm getting following error.
    Define a chart of accounts first for company code MP00
    kindly give the menu path for the same.

    Hello,
    A chart of account is nothing but a list containing all the G/L accounts. Every company code should be assigned to a chart of account.
    ie for us to use a G/L account in a company code, it should be there in the chart of account assigned for that company code.
    Chart of account creation and assignment of it to the company code is done by FI people. It is better to consult with your FI person for the same.
    The steps are :
    SPRO - Financial accounting - G/L accounting - GL accounts - Master records - Preprations - Edit chart of accounts list  - T.Code : OB13
    SPRO - Financial accounting - G/L accounting - GL accounts - Master records - Preparations - assign company code to chart of accounts T.Code : OB62.
    Regards

  • Windows 7 and Windows 8 Driver Availability Chart for Creative's products

    Hello Everyone,
    There is a Knowledge base article that contains the Windows 7 and 8 Driver Availability Chart for Creative's products.
    Thank you.
    Mod Notes: Updated the link and include Windows 8.

    For Windows 7
    To run the Hardware and Devices troubleshooter in Windows 7, follow these steps:
    Open the Hardware and Devices troubleshooter by clicking the Start button , and then clicking Control Panel.
    In the search box, enter troubleshooter, and then click Troubleshooting.
    Under Hardware and Sound, click Configure a device.

  • Mandatory fields while using Group chart of accounts

    Hi,
    Which are the mandatory fields while maintaining GL accounts in FS00 if i am using Group chart of accounts.
    And how attached these group chart of accounts gl to the operational chart of account GL.
    raj

    Hi,
    the assignment from operational chart of accounts to group chart of accounts is done in OB13. Follow the steps in Customizing IMG FIn. Acc. (new) / Consolidation preparation (new) / General specifications / G/L and FS Charts of accounts...
    Best regards, Christian

  • Help Needed in Crystal Reports 2008 Charting - XY Scatter

    Hi,
    I need to create a XY Scatter plot using CRYSTAL 2008.i have to create 7 graphs of same XY Scatter plots in one single report.the 7 graphs i said because i have a Cost category object which will have 7 categories.so for each category i have to show one XY Scatter plot.
    However the data only changes between  each category. i have to use the same objects for all the 7 plotters.
    there will be a 1 dimension object and two measure objects in this.
    So how to develop the report for this requirement?
    Urgent help is needed.
    Regards,
    Kishore. .
    Edited by: NandaKishore A.V on Feb 23, 2012 8:30 AM

    hi Kishore,
    if you Insert another Group on Category, and then move your chart into the Category Group Header, does that solve the issue?
    jamie

  • Text in legend in line chart

    Hello all.
    I have line chart with the legend. This legend contain text with length more then 20 characters. The text cuts off by some characters from the end, for example, it should be
    1. Test1Test2Test3
    2. Test4Test5Test6
    and it will be shown like
    1. Test1Test2Te
    2. Test4Test5Tes
    Changes in legend config window in Answers and in file cordalayout.cxml don't work.
    How else can I fix this problem?

    What OS is on your server? All browsers?
    I'm actually getting the exact opposite situation as you, I created legend items with really long text and they aren't being truncated at all. Even if I set the truncate value. I'm on Windows Server 2K3 and the same version of OBIEE.
    I'll keep testing to see if I can come up with something, but if someone else out there knows what's going on, I'd love to hear it.
    -Joe

Maybe you are looking for

  • Recovering from a crash - how to get all your iTunes settings back!

    Failed hard drive? Have a backup? Can't use Time Machine? Have an iPhone and a lot of music and don't want to go through setting it all up again? If you answered yes to all those questions, this is for you! So this isn't really a question, and I'm no

  • Window Loses Focus After Modal Dialog is Dismissed

    hi, I need a JDialog to be opened when i click on a button in JFrame.and it should be modal so that user must not get control to its parent window and rest of the windows can be accessed. So, i tried setting property like setModalityType(Dialog.Modal

  • Macbook Pro Audio - Share with Another Computer

    I just bought a new set of speakers for use with my Macbook Pro. I would like to be able to keep it plugged in to my docking station but also have them available when I am using my WIndows PC. Can anyone recommend a way to do this? Do I need a KVM sw

  • MIDI not working in GarageBand

    I am about ready to rip my hair out on this one. I have surfed through a ton of forums and can't get a straight answer. I bought an MIDI to USB interface to play my keyboard in GarageBand. It is a E-MU X midi 1x1 Tab connector and a Casio CTK-558 key

  • De-activate button "New Ship-to Party"

    Hi experts!! I am working on B2B scenario in ECC 6.0 and i have a requirement to de-activate  button "New Ship-to Party" during sales order creation. How can i achieve this? Maybe via authorizations??? Users are internet users with type KNA1 created