Dynamic chart type

Hi,
I know it's possible to generate a chart using a function returning a query. What I need to know is that if it's possible to dynamically choose the chart type using a parameter.
For instance, I have a chart and the user can choose using a select list if he wants the chart displayed as pie or bars.
Thanks,
Paulo

Oh. The details of your situation really help. Now are you looking at SVG charts or XML charts? Are you looking at "native" ApEx or at integrating some charting software outside of ApEx?
Could you create a page for each type of chart you want to support, have 6 to 10 frames on your user's dashboard allowing the use to select the type of chart (i.e. which page to display in the frame) and what the data criteria is for that chart?
Mike

Similar Messages

  • Setting Chart type property of iSPC chart dynamically doesn't work

    Hi all,
          I am trying to set the chart type property (XBAR, MEDIAN etc..) of iSPC chart dynamically from my html page.
    This is the code that I used.
    var chart_obj = document.iSPCChart.getChartObject();
    chart_obj.setChartType("MEDIAN");
    iSPCChart is my Applet name.
    But the code doesn't seem to work.
    The chart is always of the type that I have set in the iSPC display template.
    Can someone help me in this regard?
    Thanks a lot.
    Regards,
    M.Subathra

    M,
    Even though that method shows up in the script assistant and the docs it really doesn't work. 
    Just swap out the display template for one saved with the desired type:
    document.iSPCChart.setDisplayTemplate("Folder/MedianChart");
    document.iSPCChart.updateChart(true);
    With all of the alarm rules, colors, limits, settings, etc. it is not likely that you will have the same view (display template) that applies to every SPC chart type.
    There is also a predelivered example of an SPC Chart that uses an iframe and an irpt to dynamically pass the chart type (along with other settings) you can reference: http://<servername>/Lighthammer/Samples/SPC/Servers.irpt
    Regards,
    Jeremy Good

  • Chart type dynamic change

    Hi gurus,
    Is it possible to change the chart type during run time.
    Is this functionality readily available or should be coded in the template??
    please advice.
    Thanks,
    Kris.
    Message was edited by: kris

    Hi Kris,
    See http://help.sap.com/saphelp_nw04/helpdata/en/b5/b41d3c38b25313e10000000a114084/content.htm and also the 0ADHOC_CHARTS web template.
    Hope this helps...

  • InDesign CS5 -- dynamic charting workflow?

    Hi,
    I searched the forum but I feel like I haven't quite found my answer.  Basically, my organization, in the past, has produced a dynamic 'demographic fact sheet' document for communities in the Denver, Colorado USA region. (example: http://www.drcog.org/communityprofiles/PDFs/ArapahoeCounty.pdf)  This was previously done with an Access database and a mail merge in Microsoft Publisher (I know, I know), but we would like to bring this process into CS5, since our graphic designers work in InDesign CS5 and would like to redesign the look and feel of this document while automating this workflow so that it isn't as time-consuming as manually copying and pasting charts for each community.
    What kind of workflow would most easily produce a document like this?  It is essentially a mixture of charts and graphs along with some dynamic text.  I've read about Data Merge and XML, but I'm not sure about the charting and graph part of this -- most of the information I've found online talks about using Illustrator to make dynamic charts, but I'm not quite sure how to put everything together.  Basically, I'd like the process to work like it did with Publisher and Access, if possible.  We basically set up a template and then based on the data, Publisher generated a document that showed the appropriate data  (and correct values in graphs/charts) for every community.  The graphic designers have the CS5 Design Premium package, so they do have access to Illustrator and other Adobe apps if these are necessary.
    The data is stored in an enterprise database now (not Access), so extracting it to a CSV or other type of format is not a problem.
    InDesign is not my area of expertise, but I want to help with the process as much as I can.
    Thank you so much for any insight or recommendations!
    Jonathan

    This type of project would be too data intensive for Indesign. ID's data merge and ID's xml capabilities would not be sufficient either. Not to say that Indesign could not be used to create content, but the data portion would have to be driven with a 3rd party solution, something like XMPie.This type of solution typically is postioned at the print end and ties all the components: content created from ID, variable image, variable text, data export file to create custom chart, etc. to produce a finished customized print piece.

  • Dynamic charting in J2ME using SVG - based on SQL query from a web server

    Hi
    I am creating a J2ME application which needs to generate dynamic charts for the user.
    The data for generating the charts is stored on a web server. In order to have minimal computations on the mobile device, I want to generate the charts on the web server itself.
    I have written a code which generates svg (svg tiny) charts dynamically on a web server based on sql queries on a database . Now I want a J2ME client app to be able to retrieve this data through a web service.
    Can someone guide me as to how to return svg files from a java web service.
    Any help would be greatly appreciated.
    Regards
    Sparsh

    Hi
    Actually, I am developing my application using Netbeans 6. In order to connect to my web service , I am using the J2ME client to web service as the type of my project and that uses the above mentioned API's.
    My question is how do I enable my web service to return a SVG file , and then how do I retrieve it in the J2ME client. Any example application that anyone knows online would be really helpful

  • Dynamic Charting question - On maximum rows and omiy label interval values

    Hi,
    I was wondering if it was possible to define a application variable and then reference it from within a Chart series definition.
    I frequenctly need to go in and exapnd the maximum number of rows for my chart series definitions to a value greater than
    15. And, if I have a Chart with multiple series it seems to make sense that they all have the same value. This made me think
    of trying to use some sort of variable. I tried using a hidden page item. However, Apex seemed to want a static numerical value
    and so I needed to just hard code the value for now. Has anyone had success with somethin else?
    Another issue I have is with the label display. When ploting time series data that allows the user to define a date range its hard
    to know up front how to set the Omit Label Interval. An ida solution would be to define a number of desired points that the chart
    can handle and dynamically assign omit interval based on some sort of formula. Again, the static value assignment makes sense for some
    date inputs and not so much for others.
    Thanks for any suggestions!

    Thanks for your reply.
    Not sure how to change the Chart Type to Custom XML
    For example, for one of my charts under Chart Settings the Chart Type is set as 2D Line.
    I don't see Custom XML as an option on that drop down.
    I do see some XML code under Region Definition | Source. Is that what you are referring to?
    Thanks!

  • Different chart types in one chart

    Hi guys,
    I need to know if there is any wat to mix two different chart types in WAD.
    For instance, I have to key figures and I want to draw in the same chart Lines for one KF while I want Bars for the other KF.
    Is this possible ?
    Regards,

    This is done using the Secodary Axis. Check the following link.
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/ac553bf3a76258e10000000a114084/content.htm

  • How do you save dynamic data type, from the DAQ assistant, for use in Excel or matlab?

    Currently, I have the following basic VI setup to save Data from my PCI6221 Data Aquisition Card.  The problem I'm having is I keep getting the last iteration of the while loop in the measurement file and that's pretty much it.  When I try to index the data leaving the loop it gives me a 2D array of Data which cannot be input into the "Write to Measurement File" VI.  How would I save this to a useful Data/time step format?  I was wondering of a way to continuously collect the Data and then save it in a large measurement file that I would manipulate in Matlab/excel?  Am I using the wrong type of loop for this application?  I also noticed my Dynamic Data array consists of data, time, timestep and then a vector of the data taken.  Is it possible to just get a vector of the time change per sample alongside the data?    Sorry for the barrage of questions but any help would be greatly appreciated, and thanks in advance!
    -Bryan
    Attachments:
    basic DAQ.vi ‏120 KB

    There is a VI in the Express > Signal Manipulation palette called "From DDT" that lets you convert from the Dynamic Data Type to other data types that are more compatible with operations like File I/O....for instance, you could convert your DDT into a 2D array and use the Write To Spreadsheet File.vi.  Just a thought...
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    I don't get what you are saying.
    Is this all the same document?
    What version of Pages?
    Have you tried to revert to a previous version?
    Peter

  • Chart Type in SAP BI

    Hi Experts,
    is it possible to implement a new chart type for report in SAP?
    Because the the sap Type could not help us?
    Cheers
    Gilo

    This is not possible directly with SAP BI.
    You can try to implement a 3rd party add on similar to the one provided by IBS Solution. Please see attached link for some of the custom chart types implemented.
    http://ibs-solution.de/CMS/en/gallery-3.html
    Thanks.

  • Can not converted to be a charter-type field

    Hi everyone,
      As i m new in abap . i wrote this code and received charter type error.
    *& Report  ZT11
    REPORT  ZT11.
    DATA: aa type lfa1.
         tables lfa1.
         select * from lfa1 into aa where lifnr > 'Z' .
             write / aa.
            endselect.
        if sy-subrc <> 0.
             write / 'No records found'.
            endif.
    error is
    'AA' can not converted to a character-type field.
    plz help to reslove the error .
    thanks in advance.
    Edited by: Faisal Abbasi on May 9, 2010 11:19 AM

    Hi Dear,
    This is Unicode problem, In unicode systme some restriction in programing.
    There is three kid of data type
    Character Processing ( C, N, D, T and STRING ).
    Byte Processing Mode ( X and XString ).
    Numeric Data Type ( I, P , F ).
    whenever in structure all kind of data types are used then you can not use WRITE and then whole structure name.
    in LFA1 in ECC6.0 if any custom fields are not added then up to length 1232 is determined as Character.
    so if you will give aa(1232) it will work similarlly other kid of remainig data tpe you move in another structure of required format and then check.
    REPORT ZT11.
    DATA: aa type lfa1.
    tables lfa1.
    select * from lfa1 into aa where lifnr > 'Z' .
    write / aa(1232).
    endselect.
    if sy-subrc 0.
    write / 'No records found'.
    endif.
    For better Understanding Check
    The following structure has both character-type and non-character-type components:
    BEGIN OF STRUC,
      a TYPE c LENGTH 3,    "Length 3 characters
      b TYPE n LENGTH 4,    "Length 4 characters
      c TYPE d,             "Length 8 characters
      d TYPE t,             "Length 6 characters
      e TYPE f,             "Length 8 bytes
      f TYPE c LENGTH 28,   "Length28 characters
      g TYPE x LENGTH 2,    "Length 2 bytes
    END OF STRUC.
    The Unicode fragment view splits the structure into four areas F1 - F5.
    [ aaa | bbbb | cccccccc | ddd | AAA | eeee | fffffffffffff | gg ]
    [            F1               |  F2 |  F3  |       F4      | F5 ]
    Offset/length access is only possible for the character-type initial fragment F1. Specifications such as struc(21) or struc7(14) are accepted and are handled as a single field of type c. An access such as struc57(2), for example, is not permitted in Unicode systems.

  • CHART BUILDER ERROR WHEN TRYING TO GENERATE DYNAMIC CHARTS ON A JSP PAGE

    I'm working with J Develop 9.03 on Windows 2000 Professional Edition.
    I'm using the JSP demo files provided with Oracle Chart Builder to generate
    dynamic charts. The user specifies the query parameters, including the date
    range and the query results are returned by means of a line chart (with date on
    the x axis and values on the y axis).
    When trying to compile the project I get the following error messages:
    Error(165,2): class FileOutputStream not found in class _graph
    Error(170,5): class File not found in class _graph
    Error(176,4): exception java.io.IOException is never thrown in the
    corresponding try block
    I checked to see that the chartbuilder library (chartbuilder.jar) files are
    loaded into the project library. It's unusual that the class is not being
    found. I don't understand why. I developed my project using the following steps:
    1. Unzipped Chart Builder installation files into c:\Oraclechartbuilder
    2. Loaded chartbuilder class library
    c:\Oraclechartbuilder\chartbuilder\lib\chartbuilder.jar into J Developer class
    path (by selecting <Project Settings> <Paths> and browsing to the
    chartbuilder.jar file).
    3. Created a new JSP page in J Developer (graph.jsp)
    4. Copied JSP code syntax from the Word Pad demo file and pasted into graph.jsp
    5. Changed the DB connection parameters and static directory location on the
    JSP page.
    6. Compiled the project and received the above errors.
    I would like to know why the classes are not being found and how to fix the problem. Thanks, Jaafar

    Hi mshah101,
    This can happen if the applet is compiled using an higher version of java and the browser is pointing to an older version (even if minor version number is higher)

  • Bubble chart with scatter chart type and different bubble sizes

    Hello everybody,
    I would like to create a bubble chart (scatter chart) within Oracle 11g and Apex 4.2 with the standard chart types that come with Apex (anychart).
    I want to integrate two different KPIs (key performance indicators) in the chart, one for each axis (x and y) and additionally the size of the bubbles shall represent the size of the company, the KPIs belong to.
    That is to say, every bubble represents a company with two KPIs and its size.
    Now, I have problems changing the size of the bubbles. Can someone give me a hint where to start or how I could achieve this with  a standard sql query  (series) !?
    Is that possible with the standard charts (scatter type)?
    Can I control the color of the bubbles?
    How can I control the starting and ending points of the axes in order to show all bubbles completely even if they are e.g. 0,0 (x,y)  (this would show only a quarter of the bubble) or 0,3 (which would show only half of the bubble).
    I will be very thankful for some hints.
    Thank you very much in advance.
    Johnny

    Go to any chart and look at the examples.  You can view the xml, there are bubble chart examples.
    AnyChart - Cross-Platform Flash Charting Solutions For Your Project

  • Business Graphics, intermixing chart types

    Hi to all,
    Has anyone tried to intermix chart types?  Specifically, i'm trying to display a "column" type chart, but I would like to have a straight horizontal line through the chart indicating a key value or values.  Any help would be greatly appreciated.
    Thanks in advance

    Hi Michael,
    follow the following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro tutorial and sample applications.faq#q-20
    How to use Business Graphics in Web Dynpro applications?
    The following tutorial shows you step-by-step how to create a simple business graphic using Web Dynpro.
    A simple business graphic is a chart consisting of a category and one or more data series. Column charts, bar charts and pie charts are typical examples of simple business graphics.
    Simple business graphics differ from complex business graphics, such as scatter charts and portfolio charts.
    Requirements
    In order to use business graphics in your application, you must install the Internet Graphics Service (IGS) on your server environment. Furthermore, the IGS must be configured on the J2EE engine.
    Code Sample
    The ready-to-use project is available to download from SDN.
    Corresponding Tutorial
    Using Business Graphics
    Hope this helped you
    Regards,
    RK

  • Getting all chart types in IChart

    hai can some plz solve this problem
    here im trying to plot the complete chart types of
    Ichart in a single page with tag query.
    for this i did it through simulator server i took One TagQuery , selected Mode as Taglist .And i took IBrwoser for list of tags with multi selection nd in that i enabled AlwaysExpandedMode and the Multiple Selection mode.Here im taking Chart types with select option in html and passing that variables into irpt file.in html page im taking list box of tag name for selecting tags and drop down of chart type for selecting chart type and one submit button for submiting the form.
    for tagvalues im taking a array for counting the tag values nd passing it into irpt
    that nd all fine
    iam getting chart also but iam getting chart for only five values. so whats the problem im facing here is after refreshing if i select two tag values its getting replace with the first two values of previous chart .
    so where im getting the problem could u plz let me know how to solve this problem
    Thanks &Regards
    Apsara

    Hi apsara,
                 From what i understood, the problem seems to be that the array is getting overwritten. Is it true??? Can u be more clear on this??
    Regards,
    Sushma.

Maybe you are looking for

  • Don't know where to put this, but cannot go back to windows 8. Help please?

    Hello, Please forgive me, I do not know what forum to ask this question in. I downloaded the free windows 8.1 update a while back, and have decided that I do not like it. So I tried "Refresh your PC settings without afflicting your files". It restart

  • Authorization for a checkbox

    I need the steps to create an authorization check(allow specified users) for a checkbox in a custom screen which has been created. regards, sukumar.

  • Work with calculation forms on ipad?

    Hello, is it possible to work on the cases with calculation forms as http://individuelle-mitgliedschaft.aktivtreff.de/templates/injoy/images/vitalis. pdf The form was created with Adobe Lifecycle designer. With Acrobat Reader, I can open it, but the

  • Upgrading Student Edition?

    Hey all! I have the Student & Teacher edition of CS5.5 Design. There are several new feactures in CS6 that I am really excited about, but I'm graduating in less than a week, so I won't be able to qualify to purchase the S&T edition of CS6 when it com

  • BCS - No inversions while inversion task has been run

    Hi all, I have a question regarding the inversion task in BCS. We have a version that has as consolidation frequency "monthly" however this one has been used for quarterly reporting only up today. In June the inversion task has been correctly run, bu