Dynamic bar charts in smartforms

hi all,
          i have got a requirement to design a smartform with dynamic bar charts and line(scatter) charts.could any body give sample code or way to proceed.
Thanks,
Srikanth.A

Hi,
Refer to GFW_PROG* programs.
thanks,
sama

Similar Messages

  • Dynamic bar chart based on LOV selected

    Apex 2.1 with XE : running on windows xp.
    I am trying to create charts based on selected criteria such as level 1, level 2 and level 3. If the user selects level 1 chart is expected to group level 2 and level 3 parameters else if the user selects level 2 criteria on top of level 1 then it should filter to the next category and so on. To make it simple I created three different queries which would generate the required graphs.
    To achieve this I decided to use PL/SQL function that would return three different chart queries based on the LOV selection. Although the function works well for each of the queries they dont work with a if else condition based on LOV selection. So what is the problem with creating such as dynamic query. Can I use the "%" values of LOV in my if else condition if not why ?
    Any alternatives ?

    Well. The queries for the charts run independently well. I guess I might be using the if else condition in an improper fashion.
    If the second LOV filter is not used.. I am matching the :LOV2 value with "%" and execute appropriate chart query based on single selection criteria and for the else case I use the other query and so on.
    I wish to show the code but since I upgraded to 3.0.1 today my application page views don't render properly. The images are missing ..and whole page is missing for editing.

  • Dynamic Pie charts in smartforms

    Hi All,
    I need to print a pie chart dynamically in smart forms.
    I have seen all the threads available on this.
    Can anyone guide me step by step process of doing this.

    Hi,
    Refer to GFW_PROG* programs.
    thanks,
    sama

  • BAR CHARTS IN SMARTFORMS

    HAI
      PLEASE SEND THE STEPS  HOW TO CREATE A BARCHARTS IN SMARTFORMS?
    FROM
    SITARAM

    Go through this threads... it may help you...
    /thread/210384 [original link is broken]
    Creating charts with ABAP
    Issue related to Barcharts
    Regards,
    SaiRam

  • Dynamic Pie Chart in Smart Form

    Hi Frn's ,
      How can i show the dynamic Pie chart in Smartform .
    Thanks and Regards
    Priyank Dixit

    Hi,
    Refer to this link [How to display pie chart in smart forms|Re: how to display pie chart in smart forms]

  • Dynamically Growing Bar Chart

    Can a bar chart grow dynamically?
    I have a report that can have hundreds of items on its bar chart. I made the chart horizontal so they would presumably all show. Crystal displays it in the amount of space I have given it and only displays the text for as many items at it thinkks it can fit comfortably
    So I get a chart that looks like
    Item 1         |----
                      |----
    Item 13       |---
                      |---
    Item 37       |---
    I would like to have a chart that would display the text of all of the items and grow down the page so if I happen to have 128 items the chart will be a lot longer than it will be if I have 30 items.
    Is this possible?
    Thanks,
    Dick

    hi Dick,
    Right Click the Chart,
    Format Chart -> Can Grow (Option is Grayed out/Disabled)
    From the above, Chart can't grow dynamically based on data in CR.
    If you want all labels to appear,
    Chart Expert -> Axes ->Number of Divisions -> manual :1
    But when data is more, these labels appear very smaller.
    Also, you can fix the size of chart based on estimated data before hand.
    Regards,
    Vamsee

  • Colors of bar chart dynamically

    Hi,
    I need help on this requirement.  I have a product as a dimension and hex# color code as its attribute,  and they both coming over through the datasource.  I want to create a bar graph that would use the color hex from each product to display it on the graph.  For example,  if product A with hex #0000F1 comes up, then the bar chart for that particular product should display the color #0000F1.  Any information or examples would be very helpful. Thank you in advance.
    Vinh

    Hi Vinh,
    Do you mean that you will have the product on the x-axis of the chart and you want to display a different colour for each product bar on the same chart, or will you have a product selector that displays a single chart only for that product against a specific dimension so that all bars are the same colour determined by the colour attribute of the product?
    I am assuming your requirement is the former, in which case rather than jumping through scripting and CSS hoops, I would encourage you to reconsider the business need for this requirement in the context of Stephen Few's Rule #4 in the article Practical Rules for Using Color in Charts, an excerpt of which is shown below:
    Regards,
    Mustafa.

  • How to add dynamic visibility between pie chart and 2 bar charts?

    I have 3 section in pie chart. If i click on one section according bar chart have to appear...

    Hi Riaz,
    your subject-line and query seems to be different, please elaborate me the question properly so that i can explain you in clear in a single reply.
    For the query you have posted bar chart based on pie selection, if i understood your question clear. Goto File menu-->samples-->user guide samples-->Chart-Insertion will show the same what you have asked.
    Hope this Helps!!!
    --SumanT

  • Stacked Bar Chart with data from a Web Service

    Hi,
    I'm working on Dashboard Design (version 14.0.1.287) and I'm trying to create a chart linked to data from a webservice.
    With a Year in input, my webservice gives an Amount per Cities and Products
    Data retrieved look like this (Sheet1) :
    Paris          Tablets          45
    Paris          Laptops          12
    Paris          Cellulars          89
    New-York     Tablets          56
    New-York     Laptops          36
    New-York     Cellulars          1
    Londres          Tablets          150
    Londres          Laptops          3
    Londres          Cellulars          45
    Then I use a Pivot Table (created manually in Excel) looking like this (Sheet2) :
                   Tablets     Laptops     Cellulars
    Paris          45          12          89
    New-York     56          36          1
    Londres          150          3          45
    The chart is a Stacked Bar Chart plugged on the previous Pivot Table
    I create 3 series (one per Product), values (X) are set with Amount
    Category labels (Y) are set with Cities
    The goal is to have a dynamic chart (series and categories must update if a new city or a new product appears)
    So my question is : how can I set up the chart directly with data retrieved from webservice on Sheet1?
    Thx a lot !
    Nicolas
    Edited by: nicolasheurtevin on Sep 14, 2011 4:58 PM

    hi
    First thing , bad news if you are using .Net framework 1,
    just forget it, Flex 2 doesn't work well with framework 1, but 2nd,
    good news, if you want to use webservices, you'll have to make an
    array of objects on .Net Side and send it as objects to flex, i saw
    an example on the net but i can't seem to remember where, on the
    other hand,if you want to simply use, like i do, HTTPSERVICE its a
    very nice way to talk with .Net and you can see my example here
    http://flex1-for-dummies.blogspot.com
    By the way, in your code, you have a request tag , but you
    aren't requesting anything, because if you were you would have to
    make like this
    <mx:request>
    <Artist>{yourinputtext.text}</Artist>
    </mx:request>
    So if you don't have an input text, you don't need a request
    tag, only the operation.

  • Stacked Bar Chart Question

    Hi, I am creating a stacked bar chart, and I am encountering 3 issues I hope you can help me with:
    1)  The chart has positive and negative values.  I have zero based centerline checked, but I do not see 0 on the Y axis.
    2)  The applet width is 900 pixels.  The chart can have a variable number of bars.  When it has a small number of bars, they fill the entire chart.  Is there a way to set the width to a fixed amount?
    3)  Is there a way to set a logical interval amount?  Currently the numbering is not intuitive.
    Thanks
    p.s.  We are using 11.5.3
    Edited by: Richard Keegan on Jun 13, 2008 5:18 PM

    Depending upon your query structure, you can force a zero based centerline by setting the Y-axis ranges dynamically.  I am not working in 11.5.3 currently, but ran into a problem with line charts in 12.0.2.  The zero centerline flag did not work, so I dynamically generated the ranges and linked them in.
    You can probably do the same with a little extra BLS coding.
    Mike

  • Return Links at top of Report?  Legend Labels on Bar Chart Rollovers?

    Hi,
    I have two questions.
    1. Is there a way to easily put the 'Return' links at the top of all reports? i.e. is there a template I can edit to do this to all my reports? I have hundreds of reports and changing them all by hand by putting a static text with HTML isn't really an option for me.
    2. Is there a way to show the Legend value when you hover over a Bar on a Bar Chart. I'm pretty sure pie charts do this, but in my Bar Chart, hovering over the individual bars only shows the value. I would like for it to also show which legend item it is when a user hovers over.
    Thanks,
    Kevin

    Kevin,
    I was looking into the issue. I can confirm that the scid code that's generated is dynamic.
    I also looked into the return link - the code is the following (you already know this).
    td class="ResultLinksCell"><a href="javascript:void(null)" onclick="return ViewBack('d:dashboard~p:9md8uku78u84kdge~r:kug9avdjlblr24fq','DrillBack','1pnm8a1lmln3ml08v6lil3d8gi');" title="Return to the previous page" name="SectionElements">Return</a</tdI checked several JS files in OracleBI\web\app\res\b_mozilla folder - tableview.js, viewhelper.js- although I found the function responsible for Return link (viewback) - I couldn't find the xml where you'd need to put that link in front of the following code - div id="idResultsTableParent"><table id="saw_146_3" class="ResultsTable" I suggest you search for the place in xml where it's generating table view and put the return link on top of the table.
    Edited by: wildmight on Apr 14, 2009 8:04 AM

  • Generating JFreeChart Bar chart in jsp

    Hi Everyone,
    I have never worked with charts earlier. I created one demo for generating a bar chart using a java class. I am using awt classes here. Chart was rendered successfully on running this java class. My problem is i want to integrate this class with a JSP, by involving servlets. I tried to do it many a times now but yet not successfull.
    My requirement is, on the hit of 'generate chart' in one jsp, bar chart should be rendered.
    Can somebody plz help???
    Thanks in advance

    Has no update on the problem mentioned. However, you can try elegantj charts. It creates customized, dynamic charts in few minutes.
    Link: www.elegantjcharts.com

  • Mapping between Icon component and Bar chart component

    Hi experts,
    I have added one world map, on which i have added 3 icon component in different area of world. At present i have added 3 different bar chart for each icon component. Now i want to take only one bar chart which sohws data according my selection of icon component.
    can anyone help on this, plz?
    Thanks in Advance,
    Rishit

    Hi
    Try the following:
    Icon1 Source data = Unchecked 0, Checked 1
    Icon1 Destination Cell $D$2
    Icon2 Source data = Unchecked 0, Checked 2
    Icon2 Destination Cell $D$3
    Icon3 Source data = Unchecked 0, Checked 3
    Icon3 Destination Cell $D$4
    Have all the icons set to be unselected.
    In cell $D$5 have the formula =max($D$2:$D$4).  This cell now controls the Dynamic Visibility of the Bar Charts.
    Barchart1, Dynamic Visibility Status = $D$5, Key = 1
    Barchart2, Dynamic Visibility Status = $D$5, Key = 2
    Barchart3, Dynamic Visibility Status = $D$5, Key = 3
    I think that's what you are asking! Please keep in mind that you have to click the icons on and off to show/hide the charts.
    Regards
    Charles

  • Bar chart display problem

    Hello,
    In a page bean, a code is written to produce a bar chart image. The chart image is successfully created in app server's local directory c:\mycharts
    What URL should be given to view this image from the browser. Since this image is created dynamically I can't have it placed in a resources folder during design time.

    Hi,
    The dynamically created image needs to be in a folder under the domain. An absolute path can be supplied to access the image from your page. For example, an absolute path to an image file created under a folder called images which resides in the domain would look like:
    http://www.mydomain.com/images/myImage.gif
    I hope this helps
    Cheers
    Giri

  • Maximum Rows for series in Charts (Cluster Bar Charts)

    Question
    Is there a way to dynamically define the "Maximum Rows" value for all the series in a cluster bar chart? I tried putting "&item_name." into the "Maximum Rows" field for a series, but get an Application Builder error indicating that the value should be numeric. I would like to set the "Maximum Rows" for all the series in a chart "on the fly".
    Details
    I have one horizontal cluster bar chart with 4 series on my page that has a variable number of rows i.e. the number of bar clusters that I want plotted varies based on the user's criteria. For one set of data there may be 10 clusters. If the user changes the criteria, the chart could then have 20 clusters. I have the "Maximum Rows" field for all 4 series in the chart set to 31 rows.
    The Problem
    The chart with only 10 clusters is two thirds whitespace. The 10 clusters fills up the bottom third of the chart. The top two thirds of the chart is blank. The chart with 20 clusters fills up the chart with no whitespace. The chart with 40 clusters gets the top 10 clusters cut off and only displays the bottom 31 clusters.
    Any Suggestions
    If you have any suggestions how I can accomplish this, please post them. Currently I am not interested in going outside of HTML DB. I may end up doing that though to get a more dynamic charting tool.
    Thanks,
    Mike

    Note 367711.1 deals with this issue. The contents of the note are the below:
    At this time, this is not possible to dynamically set these charting attributes, however, an internal enhancement request has been created requesting that this functionality be incorporated into the product. The current plan is to incorporate this feature into 3.0 version of the product, however, this is just the current plan and can change depending on the complexity of the implementation.

Maybe you are looking for

  • Xf86-video-intel-2.5.0-1 causing "underrun in pipe b" errors

    Since todays upgrade to xf86-video-intel-2.5.0-1 I've been getting "Underrun in Pipe B" errors. The initial start of Openbox worked, but as soon as I switched to the virtual console and back, I'd only get a black screen in xorg, and the VC would be f

  • Adobe 9 plugin save function does not always work

    This may not be a problem with Adobe Reader or Internet Explorer, but my credit card company says it is, so I need to look. When I try to get my on-line statements from a particular credit card company, a new IE window with Adobe Reader running "unde

  • What is the oldest PS file type that can be opened in CS5?

    I have a lot of work that was created in PS 7.0. I want to get the latest version. What is the oldest file type that can be opened in CS5?

  • Accessing my home network through the internet?

    Is it possible to access my home network through the internet via my AirPort Express? I would like to have full access to my Mac Mini's hard drive from my MacBook while at work.

  • FTPS connection to GXS

    Hello! I am trying to establish a FTPS connection to our VAN GXS using these settings/credentials: The processing starts and after 20-30 minutes I am getting the following error message: I am using SAP PI 7.1. Does anyone know how to configure the co