Custom Clickable Charts Objects and Legends

Hi,
The Requirement is a little bit weird but urgent as well .
Well all I need is a complete flexible chart where each element on x-axis or each element on y-axis is clickable. Also, considering I am using a bar chart. I would want to click on the bar and get more details on the Data giving deep analysis on how we got such a number.
Even the legend of the graph should be clickable in this case.
For Example
In This case Gold, Silver and Bronze on the legend should be clickable which would generate more data.
Also, 'USA','China','Russia' and the bars depicting the corresponding values should be clickable.
Please let me know if I am not clear.
Many Thanks,
Piyush

You can click on Bars and legend with help of default change & click properties like below:
<mx:ColumnChart id="myChart"
        dataProvider="{YourDataProvider}" 
        selectionMode="single"  ///or multiple as you wish
        change="Alert.show('hi i am Bar')"
     >
<mx:Legend dataProvider="{YourDataProvider}" click="Alert.show('hi i am  legend')"/>   .// in place of alert you can call your Function
While for Axis click I think probably you have to use AxisRenderers but still i am not sure if renderers support click or not.
check this
http://livedocs.adobe.com/flex/3/langref/mx/charts/AxisRenderer.html
it may help.
If this post answers your question or helps, please mark it as such.
Cheers,
Prad.

Similar Messages

  • Authorization Issue with Custom Pending Value Object and Anonymous Users

    Hi,
    I am just converting my demo from version 7.1 to 7.2. I am not doing upgrade. The demo uses a custom pending value object USER_REQUEST. The idea is that new employee goes to Java AS as anonymous user and enters her details and store where she will work. After submitting request there is an approval process using custom entry type USER_REQUEST. If the request is approved then IdM converts USER_REQUEST into MX_PERSON entry. This works nice in 7.1 but I am having problems with replicating this in 7.2. I created new UI task accessible by anonymous that creates new USER_REQUEST entry. I also assigned role idm.anonymous with UME action idm_anonymous to UME built in group Anonymous users.
    My problem is with the field STORE. This field is a reference field to another custom entry type STORE (this entry type will be used in context based assignment). Every new employee must selects a store where she will work. The problem is when user clicks on button "Select". Web dynpro terminates and returns authorization error. I also tested this with entry type MX_ROLE. I added attribute MXREF_MX_ROLE and same issue. So it seems that just assigning UME action idm_anonymous is not enough to list objects from identity store. I found a workaround for this issue. When I assign also UME action idm_authenticated to Anonymous users then it does not dump and I get a pop up window where I can search for store. It does not seem right to assign idm_authenticated to anonymous users.
    Another issue is with display task for entry type USER_REQUEST. I assigned a display task to entry STORE and I set that Anonymous have access to this task in Access control tab. I assigned default value to the field store. So when a user opens page she can see a hyper link to display already assigned store. When user clicks on this hyper link it opens a new pop up window and user must authenticate against Java AS. After successful authentication the display task for entry STORE is displayed. I would assume that anonymous user can display it without authentication.
    So to me it seems like authorization checks have been changed in 7.2 versions and are more strict for anonymous tasks. Hence my question is how can I implement my scenario. Am I missing some configuration or what's the proper solution to my two issues? I don't count assigning idm_authenticated to Anonymous users as a solution. This workaround does not solve my second issue.
    Thanks

    Some of the folks from Trondheim labs check, but rather infrequently.  There's another person who I guess is in consulting that also checks from time to time.
    Sorry I can't help you with your main question...
    Matt

  • The scope of the customer-specific authorization object

    Dears,
    Could someone please feedback about the scope of the customer-specific authorization object; e.g. if we are to create a customer-specific authorization object to replace authorization object P_ORGIN in the HR module, to be able to add an extra authorization field to the newly created authorization object, the scope of the newly create authorization object (which will have a new validation code generated by report RPUACG00) will be the whole ERP system ? 
    The worry is caused by the fact that P_ORGIN is already used in several authorization roles granted to users in the different ERP modules (i.e. FI, SD, MM, CS), so the replacement would affect these modules.
    Thanks.
    Reda

    Hello Reddy,
    We are about to implement the HCM module (We are now in the testing
    phase), on the same client as that of our SAP ERP implementation.
    We need to authorize on the personnel number grouped by 'Payroll Area'
    in transactions PA30, PA40
    In authorization object P_ORGIN, the field VDSK1 is already used to
    authorize on an attribute : cost center (organizational key) for each
    organizational unit, so we can't configure it to authorize on other
    fields from info type 0001 (e.g. Payroll Area).
    We need to continue using the conventional / general authorization and
    not the structural authorization, to stay in compliance with our
    authorization schema already implemented in our FI, MM, SD & CS modules.
    ( Also, as per thread : Steps for creating structural authorization profile using trans. OOSP
    the structural authorization cannot be used to authorize on Payroll Area.)
    We need to go through the HR module implementation without any changes
    in the ABAP code.
    So, the last way out is the custom-specific authorization object, and as I mentioned before, the authorization object P_ORGIN was already used in other ERP modules; e.g. FI, MM, SD & CS,
    ( Note : I haven't started yet implementing this solution.)
    Thanks.
    Reda

  • Combined charts (line and bar)

    Where in Apex do we set which series is "Line" and which one is "Bar"? I saw the examples listed in the Anychart website but I'm getting the data as a result of SQL command in Apex so I don't have control of the series tags within the data section. Help please.
    Ana

    You may use pl/sql to generate JavaScript to create chart object and to generate xml for the chart.
    Create a Dynamic PL/SQL region in the page.
    copy following code to the source code for PL/SQL
    DECLARE
    chartData varchar2 (10000);
    BEGIN
    chartData:='<anychart>
    <charts>
    <chart>
    <data>
    <series name="Year 2003" type="Bar">
    <point name = "A" y="2166"/>
    <point name = "B" y="630"/>
    <point name = "C" y="1662"/>
    <point name = "D" y="1862"/>
    <point name = "E" y="750"/>
    <point name = "F" y="300"/>
    </series>
    <series name="Year 2000" type="Line">
    <point name = "A" y="1160"/>
    <point name = "B" y="930"/>
    <point name = "C" y="1162"/>
    <point name = "D" y="1362"/>
    <point name = "E" y="350"/>
    <point name = "F" y="300"/>
    </series>
    </data>
    </chart>
    </charts>
    </anychart>';
    HTP.p
    <div id="combiChart" >
    <script type="text/javascript" language="javascript">
        var chart = new AnyChart("/i/flashchart/swf/AnyChart.swf");
        chart.width = "500";
        chart.height = "300";
        var cData=''' || chartData  || ''';
        chart.setData(cData);      
        chart.write("combiChart");
        </script>
    END;After pasting to the code window you may be required to remove any carriage returns within above xml data. I put carriage return for clarity of xml structure.
    For further customization refer to Anychart xml reference.

  • Copy Chart and Legend Together

    Hi,
    Just tinkering with Numbers. Can anyone advise how to copy a chart and its legend to a new app? I am copying a chart in numbers but when I paste it into Mail the chart-legend is not pasted. I have tried using Cmd to select both objects but no joy.
    Appreciate any advice,
    Thanks,
    Mickey

    Question asked and responded several times.
    Here is my own response updated :
    Select the chart and its legend.
    Group the objects.
    Copy the group in a Pages document, export this document as RTF.
    Control click the .rtfd file which will be created.
    Select "Show Package Contents".
    You will see the content of the doc. One file is a PDF containing the chart with its legend.
    Some times ago, I wrote an AppleScript automating the process.
    Go to my iDisk:
    <http://public.me.com/koenigyvan>
    Download
    For_iWork:iWork '09:forNumbers09:savechart.zip
    Expand it,
    double click on "saveChart.applescript"
    Read the given explanations and apply them.
    Yvan KOENIG (VALLAURIS, France) dimanche 25 avril 2010 18:09:31

  • Custom Charting Objects in OBIEE 10g

    Hi ,
    Has any one ever used their custom charting objects , meaning something other than the gauges , meaning custom images and built charts on or around them.I am using OBIEE 10.3.1.4.
    Thank you

    Hi,
    Please refer the following links.
    http://oraclebizint.wordpress.com/category/obi-ee-plus/page/20/
    http://obiee10grevisited.blogspot.in/2012/02/how-to-customize-chart-series-colors.html
    Award points it is useful.
    Thanks,
    satya

  • Apex 3.1 and Custom Flash Charts

    I am having difficulty getting to the point where my custom flash charts can be displayed. I have Oracle 10.2, over OHS to Apex 3.1. I cannot post any of the config files or code here because it is a different network, so I realize it will be hard to troubleshoot; and I apologize in advance.
    I would use the canned Flash charts, but my application displays data much like MS Outlook's multi-user calendar does. The chart has to be color coded, similar to Outlook's Busy vs Tentative etc. It has to show multiple events at various times, including overlapping times. And it has to handle schedules for multiple people. Lastly, there are of course gaps in the schedule, because no day is comprised entirely of meetings. That is why I felt I had to do it manually.
    I wrote XML/SVG code to do this previously, with HTML DB 1.5, and it worked fine. But Flash is the way we are going now, and I can't use SVG anymore. (Besides, Adobe says SVG will no longer be supported next year.)
    I followed the thread of April 07 in which MAdelfio posted suggestions, but I can't get it right. I did everything listed except I never included the <data>...</data> code, because I am not sure where it goes. I have a custom written stored proc, exactly like in the thread, and I pass it all the args that apex_util.flash wants. I get a malformed XML message when I try to display the chart. That seems like it should be a very straight forward error, but I can't figure out where to look. I have been using 1.5 for about a year, and last month upgraded to 3.1.
    Any suggestions on how to troubleshoot this? Or, failing that, any simple examples that display Flash charts in which the code was generated by a stored procedure?
    Thanks,
    Michael

    I'm sorry about not being able to provide all the info you need. Since it is on a totally separate network, with no access to the outside world, the only way I can do it is to print and retype everything. So I was hoping that someone could just provide suggestions as to where to look rather than providing answers. I understand that it is impossible for you to solve my problems, especially when you have been given no real information. And I don't want to keep you guessing -- I'd love to be able to just show everything and ask for help; I just can't.
    Anyway, I am trying to use only those facilities provided with Apex. I do not have any 3rd party tools except for Perl. I am using the standard shockwave flash plugin for Mozilla. The way I did it with SVG was to create a stored procedure that generated an XML file. I put a button on the page that ran the stored proc and then redisplayed the page, with an HTML region. That region included an iframe, where the source was a perl script that merely regurgitated the SVG script (for some reason I could not get the iframe to accept XML as a source, so I created send_svg.pl, which merely outputted the named SVG file).
    The format I followed was in this thread: Re: Custom Flash Charts
    I even created a replacement proc for APEX_UTIL.FLASH with the exact output as the thread, knowing that even if it worked I'd still have a ton of work making it produce my chart. But once I can get the infrastructure right, I feel I can write the flash XML.
    Maybe the easiest thing is to scan that thread I referenced and tell me if it is still accurate? That is, could anything have changed in 3.0.1, or should it still work? It is possible, maybe even likely, that I made a mistake retyping all that stuff, so maybe just verifying that it SHOULD work is a good start.
    Thanks again, and sorry again.
    Michael

  • Table or report for customer, g/l account and chart of account together

    Hi All.
    I am looking for any table or report where one can see the followings;
    Chart of account and customer together
    or
    chart of account, g/l account and customer together
    or
    cutomer and g/l account
    I am aware of the all the FI table like KNB1, SKA1, SKAT ..and many others. But I failed to get if any of those tables helps to give all above informations together.
    Unless I am missing something.
    Thanks in advance.

    Hi,
    There many FI Reports available to check Customer & G/L Account combination
    1. FBL3N - G/L ACCOUNT LINE ITEM
    2. FBL5N - CUSTOMER LINE ITEM
    3. FBL1N - VENDOR LINE ITEM
    For Chart of Account / Customer and Chart of account /GL account combination you have to develop the Z Report
    For this you can pre pare by using logic of Revenue Account determination
    The table Name Revenue Account determination: C001
    Techincal information: C001-SAKN1
    Sit with your ABAP Programmer and explain your exact requirement he will prepare the table for you as for your requirement
    Best Regards,
    MH

  • Top 10 chart and legend problem

    Post Author: training2go
    CA Forum: Charts and Graphs
    Hello,
    I am using CR for Visual Studio 2005.I create a top 10 chart with a legend. The chart is in the group header 1b section and I'm using the underlay option so that the chart is to the right of the detail records.
    The chart and legend have 2 problems:
    1. The chart displays entries that are not in the detail records. The top 2 pie slices are for amounts not in the detail records or in the legend
    2. The percents in the legend are not correct.The first 3 entries in the legend are:
    $5,879.70 18.1%$5,219.55 16.1%$10,886.79 11.2%I would think that the $10K amount would have the largest percent and the $5879 nbr would have the lower percent.I've looked every place that I can think of to find out what is causing this, but I'm not having any luck.I also tried putting the chart in the group footer section, but the results are the same.I've also noticed this in CR XI. I don't know if I'm doing something wrong or if this is a bug.Any help would be greatly appreciated.Thank you.

    Post Author: training2go
    CA Forum: Charts and Graphs
    I've still been trying to get this to work or at least figure out what I'm doig wrong, but so far I haven't had any luck, so I'm hoping someone can help me.

  • Label and legend problem in grouped month data pie chart for Crystal XI

    Post Author: mikeyplop
    CA Forum: Charts and Graphs
    Hi all, I have a problem with a pie chart I created based upon monthly figures that were grouped.  The data type is DateTime but I have modified the report to show the date as January 2007, February 2007 etc. etc.  This is all fine and appropriate as it is based on a gouping of all the data into months. However, when I chart the same data the labels and legend do not reflect this formatting.  Instead they show up as 01/2007, 02/2007 etc. etc. I have searched the forums, but was unable to find any one else who has had the same problem. Any help would be greatly appreciated. Kind regards, Mikey

    Post Author: training2go
    CA Forum: Charts and Graphs
    I've still been trying to get this to work or at least figure out what I'm doig wrong, but so far I haven't had any luck, so I'm hoping someone can help me.

  • Marker shapes differ between chart and legend (JRC).

    Post Author: bernander
    CA Forum: JAVA
    I'm using the current JRC (Java Reporting Component) to display a chart on a web page (using CrystalReportViewer).The chart markers are of one shape but many colors. The legend shows MANY DIFFERENT shapes (and many colors).When I display the chart using Crystal designer, but the chart and legend stick to a single shape.Is there a way around this, or is it simply a bug in the current JRC?

    Forgot to mention: lag only applies to displaying JPanel containing graphs. Displaying "welcome" JPanel, which contains only a JLabel, is almost instantaneous.

  • How do I set default colors for XY chart series (lines and legend)

    I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    ...Update:
    Figured it out. Need to do the following:
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(R, G, B);
    }Edited by: 998038 on May 16, 2013 4:09 PM

    Here is some css to customize the line and legend colors in a line chart.
    /** file: chart.css
        place in same directory as LineChartWithCustomColors.java */
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(0, 102, 255), white;
    .default-color1.chart-line-symbol {
      -fx-background-color: rgb(0, 255, 102), white;
    }And a test harness to try it:
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.Scene;
    import javafx.scene.chart.*;
    import javafx.scene.control.*;
    import javafx.scene.input.*;
    import javafx.stage.Stage;
    public class LineChartWithCustomColors extends Application {
        @Override public void start(final Stage stage) {
            stage.setTitle("Line Chart Sample");
            //defining the axes
            final NumberAxis xAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            final NumberAxis yAxis = new NumberAxis();
            //creating the chart
            final LineChart<Number,Number> lineChart =
                    new LineChart<>(xAxis,yAxis);
            lineChart.setTitle("Stock Monitoring, 2010");
            lineChart.setCreateSymbols(false);
            //defining a series
            XYChart.Series series = new XYChart.Series();
            series.setName("My portfolio");
            //populating the series with data
            series.getData().setAll(
              new XYChart.Data(1, 23),
              new XYChart.Data(2, 14),
              new XYChart.Data(3, 15),
              new XYChart.Data(4, 24),
              new XYChart.Data(5, 34),
              new XYChart.Data(6, 36),
              new XYChart.Data(7, 22),
              new XYChart.Data(8, 45),
              new XYChart.Data(9, 43),
              new XYChart.Data(10, 17),
              new XYChart.Data(11, 29),
              new XYChart.Data(12, 25)
            lineChart.getData().add(series);
            //adding a context menu item to the chart
            final MenuItem resizeItem = new MenuItem("Resize");
            resizeItem.setOnAction(new EventHandler<ActionEvent>() {
              @Override public void handle(ActionEvent event) {
                System.out.println("Resize requested");
            final ContextMenu menu = new ContextMenu(
              resizeItem
            lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
              @Override public void handle(MouseEvent event) {
                if (MouseButton.SECONDARY.equals(event.getButton())) {
                  menu.show(stage, event.getScreenX(), event.getScreenY());
            Scene scene =
              new Scene(
                lineChart,800,600
            stage.setScene(
              scene
            stage.show();
            scene.getStylesheets().add(
              getClass().getResource("chart.css").toExternalForm()
        public static void main(String[] args) {
            launch(args);
    }

  • Custom authorization object and check logic

    Hi gurus,
    we need to apply additional authorization check in our custom reports.
    so i created a custom fields & object, and put the statement
          AUTHORITY-CHECK OBJECT 'ZHR_APP01' FOR USER uname
                   ID 'ZROLEID' FIELD '03'
                   ID 'ZSOBID'  FIELD zzdwbm.
    in a abap class method centrally, so it could be called by many reports.
    but the test show that the sy-subrc always set to 0, even for users without any authorization.
    what i missed for adding custom auth check?
    for this case, do i need to maintain authorization check indicator in SU24?
    what i am confused is that , su24, you have to maintain a transaction , but our authorization check is not for transaction , but for reports and bsp application, how should i maintain su24 for that?
    thanks and best regards.
    Jun

    Hi,
    I have created a Custom Authorization Object for HR named Z_ORIGIN (it has Personnel Subarea field BTRTL besides what's there in Auth. Object P_ORIGIN) and made it Check/Maintain for transaction PA30 in SU24.
    I can see the entries in the USOBT_C & USOBX_C tables for this object, I am also able to add this object in the roles as well.
    Everything looks fine, but when I execute the transaction  the object Z_ORIGIN is never checked (for a user having this object in his/her User Master). Only P_ORIGIN object is checked instead.
    We've ran the report RPUACG00 also which is mentioned in this thread.
    We also coded the authority check code in the both user exit ZXPADU01 and ZXPADU02 for PA infotype operations
    I believe I'll have to write some ABAP code e.g. AUTHORITY-CHECK OBJECT 'ZP_ORGIN' etc. Can anybody tell which User Exit or Field Exit I'll have to put the AUTHORITY-CHECK code in, so that my new custom authorization object is alwayz checked
    but still it is taking the P_ORGIN object.

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Code for Custom Business Object and Adding/Updating Data

    Hi,
    I would like to update/insert data thru Custom Business Object to sql Server.Pls let me know is it possible in MSA.If yes I would appreciate if you can share the code/Process in this forum.
    Thanks and Regds
    Harish

    Harish
    Depending on what data you update you need to do the following:
    If updating SAP tables or customer tables which are an extension of a SAP object like business partner, material, activity or similar:
    1. Create the extension of the data object via the easy enhancement workbench (EEWB). This will also create mapping functionality from MSA to CRM Server and extend the BDocs.
    2. Go to the BDoc modeler. Find the sBDoc for data exchange (type Write BDoc), that contains your object and check whether the new segment is there.
    3. In the Mobile Application Studio (MAS) you can now create a custom business object related to the standard sBDoc mentioned in 2 which is mapped to the new segment. This way the data exchange happens together with the main object
    4. Drag & drop the fields of the new BO to a new tile, and link that tile to the existing main object in the UI via the appropriate relation.
    If you would create a new business object / BDoc for a set of attributes belonging to a main object and not use an extension of the existing BDoc then the data would get its own flow and when replicating it would not come together with the main data. This can lead to data inconsistencies and in surplus effort administrating this data.
    If you have your own objects not related to a SAP object, you can do it the following way:
    1. Create your own table(s)
    2. Create a Write sBDoc on the table(s)
    3. Create BO's on each BDoc segment / table
    4. (as above)
    Hope this helps,
    Kai

Maybe you are looking for

  • Std report for viewing emp working hours

    Hi all, I want to know what is the standard report available in HR module to view the Employee aproved working hours and Unapproved working hours...? Regards, Shanthi

  • How to show or hide a control in front panel

    Hi All, I am revising the code from someone else, and a control in front panel seems to be hidden until you click something to make it show. I tried to use right click in front panel and it did not work by clicking something related to show or hide.

  • How to configure a link in a popup window to open a tab in main window.

    I have put videos in popup windows with a link to their relevant main windows. I have used a behaviors extention from adobe to close the popup with the same link button, but the page doesn't open in the main window. Here is the link: <h2><a href="htt

  • How do I UN-download music I downloaded from iCloud?

    I downloaded way more music from iCloud onto my iPhone 4S than I planned to. How to put that stuff back into iCloud so it's not sucking up space on my iPhone without screwing things up either on my iPhone or my MacBook Pro? I'd hate to get rid of som

  • My ipod 2g screen doesnt work anymore after replacing it with a new one. Please help

    My ipod touch 2g display wasnt working anymore. The brightness wouldnt work anymore and i did everything, restore, on and off recovery mode everything. So i decided to buy a new screen. When i got it i got straight to it and replaced it. When i turne