Anychart bar graphs - Can we map colors to customer IDs in JSON/XML dynamically?

Hi,
We are using the Anychart bar graphs to show our customers data. We need to be able to map colors to customer IDs, so that anytime we use a bar chart a customer will aways be the same color.
Example: if one view shows 3 customers  (cust ABC is maroon, XYZ is yellow and DXA is blue) and a second view, because of the data, shows 12 customers, that if 2 that are in the first view are also showing they would have the same colors as they did in the first view (cust ABC is still maroon and cust DXA is still blue and if XYZ is not in the second view then Yellow would not be present)
Is there a way to map the colors to the customers in an XREF table then build the JSON or XML dynamically and use that in the graph each time?
I have found the Anychart site and it looks like it is possible but was wondering if anyone has done it? Otherwise it looks like it is going to be to time consuming to read everything I would have to read.
Thank you,
Bill

thanks for passing this link Stijin,
http://oraclebizint.wordpress.com/2007/09/25/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase1/
http://oraclebizint.wordpress.com/2007/09/26/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase2-phase3/
i already used this, but we need at least full explanation in how to build OBIE presentations layers and its physical and logical datas , and how to write codes using Java scrips and html codes using OBIE presentation on statistics text.
if any of you just can link me link regarding to workshop lab's documentations and files regarding to OBIEE integrated to Mapviewer.
with fully respect and love to you all,
Yusuf Felemban

Similar Messages

  • Anychart - Anyway to map colors to customer IDs

    Hi,
    We are using the Anychart bar graphs to show our customers data. We need to be able to map colors to customer IDs, so that anytime we use a bar chart a customer will aways be the same color.
    Example: if one view shows 3 customers  (cust ABC is maroon, XYZ is yellow and DXA is blue) and a second view, because of the data, shows 12 customers, that if 2 that are in the first view are also showing they would have the same colors as they did in the first view (cust ABC is still maroon and cust DXA is still blue and if XYZ is not in the second view then Yellow would not be present)
    Is there a way to map the colors to the customers in an XREF table then build the JSON or XML dynamically and use that in the graph each time?
    I have found the Anychart site and it looks like it is possible but was wondering if anyone has done it? Otherwise it looks like it is going to be to time consuming to read everything I would have to read.
    Thank you,
    Bill

    The pins don't stay there, but you can bookmark pin positions, and then drop a pin on the desired customer's location by selecting the customer from the bookmarks list.

  • How can we map the same customer as vendor also

    Hi,
    For suppose we have a senario like where the same customer act as a Vendor. Then how do we map this senario..
    Regards
    sankar

    Dear sankar
    As already suggested, create the client as a customer in XD01 and save.  Similarly, go to XK01 and create the same customer as vendor and save.  Assign the respective customer code in vendor master and vendor code in customer master.
    Wherever MM activities takes place like receiving bottles via MIGO, payment will made based on MIRO.  Similarly, from SD side, whenever soft drinks is sold, the amount gets debited to that customer account. 
    Both these transactions are recorded in FBL5N.
    Hope this is what your doubt is.
    thanks
    G. Lakshmipathi

  • CM29 - bar graph not display in WebGui while is it visible in GUI

    Hi,
    We are trying to see and work on CM29 through SAP GUI for HTML. After making required settings it not pulling up BAR Graph into WebGui and saying error message "Unknown Error:RFC". We have checked on IGS RFC settings and all are working fine but still we are recieving error message.
    1. Can the bar graphs can be seen on WebGui?
    Regards,
    Amol

    Hi Amol,
    This is a limitation                                      
    The IGS does not support the Bar chart                                                                               
    See note: [1299016|http://service.sap.com/sap/support/notes/1299016] Network and bar chart cannot be used in SAP GUI for  
    HTML                                                                               
    This note does not provide this functionality - but provides a different
    message other than "ListenerRfc : Unknown function"                                                                               
    You cannot display this graphic via the WEBGUI, you will need to use the
    SAPGUI if you wish to use transaction "CM29" to view the chart    
    Regards,
    Oisin
    Edited by: Oisin ONidh on Nov 28, 2011 3:10 PM
    Add link for note

  • Help Needed : Changing the Color of Bar Graph Dynamically

    Hi..
    Is der any body to help me out...?
    My Question is :- How to change the color of Bar graph Dynamically..
    For example (Assume when one of the Bar Graph crosses certain limit of Y axis value mentioned, the graph must be changed into RED color)
    Thanks in Advance
    Edited by: user12873839 on Mar 30, 2010 10:03 PM

    Manoj,
    You have to create the entire chart manually. follow the below steps. You can refer to the anychart website for more help on different tags and features.
    1. Enter the following code in the html header of the page
    <script src="#WORKSPACE_IMAGES#AnyChart.js"  type="text/javascript" > </script>2. Create an ON Demand Application process by going to the Home>Application Builder>Application #>Shared Components>Application Processes
    3. Click On Create
    4. Enter the name as DYNAMIC_BAR_GRAPH_CHART
    5. Select the processing point as On Demand
    6. Click on Nxt
    7. Enter the following code in the processing text
    DECLARE
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    OWA_UTIL.http_header_close;
    HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
    HTP.p ('<anychart>');
         HTP.p ('<settings>');
              HTP.p ('<animation enabled="True"/>');
         HTP.p ('</settings>');
      HTP.p ('<charts>');
       HTP.p ('<chart plot_type="CategorizedVertical">');
         HTP.p ('<data_plot_settings default_series_type="Bar">');
              HTP.p ('<bar_series>');
                        HTP.p ('<tooltip_settings enabled="True">');
                        HTP.p ('<position valign="Top" halign="Right"/>');
                        HTP.p ('<format> Name: {%Name}');
                        HTP.p ( 'Value : ${%YValue}{numDecimals:0}');
                        HTP.p ('</format>');
                        HTP.p ('<font bold="false"/>'); 
                        HTP.p ('<background>');
                        HTP.p ('<corners type="Rounded" all="3"/>');
                        HTP.p ('<border type="Solid" color="DarkColor(%Color)" thickness="2"/>');
                        HTP.p ('</background>');
                   HTP.p ('</tooltip_settings>');
              HTP.p ('</bar_series>');
         HTP.p ('</data_plot_settings>');
         HTP.p ('<data>');
              HTP.p ('<series name="series 1">');
               FOR cThis IN (select table2.name, table2.value
                                  from table1,table2,table3
                                  where table1.T1ID = table3.T3ID
                                  and table2.T3ID = table3.T3ID
                                  and table3.C_ID=1
                                  and table3.A_ID=1
                        ORDER BY table2.name )
              LOOP
                   IF cThis.value > 90 THEN
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" color="red"/>');
                    ELSE
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" />');
                   END IF;
              END LOOP;
              HTP.p ('</series>');
         HTP.p ('</data>');
         HTP.p ('<chart_settings>');
              HTP.p ('<title>');
                   HTP.p ('<text>Chart Title</text>');
              HTP.p ('</title>');
              HTP.p ('<axes>');
                   HTP.p ('<y_axis>');
                        HTP.p ('<title>');
                             HTP.p ('<text>Value</text> ');
                        HTP.p ('</title>');
                        HTP.p ('<labels>');
                             HTP.p ('<format>${%Value}{numDecimals:0}</format>');
                        HTP.p ('</labels>');
                   HTP.p ('<axis_markers>');
                   HTP.p ('</axis_markers>');
                   HTP.p ('</y_axis>');
                   HTP.p ('<x_axis position="Normal" align="inside">');
                   HTP.p ('<labels display_mode="Rotated" rotation="90" align="inside" />');
                   HTP.p ('<title>');
                        HTP.p ('<text>Name</text> ');
                   HTP.p ('</title>');
                   HTP.p ('</x_axis>');
              HTP.p (' </axes>');
         HTP.p ('</chart_settings>');
        HTP.p ('</chart>');
      HTP.p ('</charts>');
    HTP.p ('</anychart>');
    htmldb_application.g_unrecoverable_error := true;
    END;8. Click on Create Process
    Now we will create a html region to display the graph.
    9. Create a new region of type HTML on the same page and select the region template as no template.
    10. Enter the following code in the region source
    &lt;div id="DynamicaBarGraph"></div>
    &lt;script type="text/javascript" language="javascript">
    function DynamicaBarGraph()
    var DynamicaBarGraph = new AnyChart('/i/flashchart/swf/AnyChart.swf');
    //    DynamicaBarGraph.width = "400";
    //    DynamicaBarGraph.height = "400";
    DynamicaBarGraph.addEventListener('pointClick', onDynamicaBarGraphClick);
        var DynamicaBarGraphData = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DYNAMIC_BAR_GRAPH_CHART',0);
        gReturn = DynamicaBarGraphData.get();
        DynamicaBarGraph.setData(gReturn);
        DynamicaBarGraph.write("DynamicaBarGraph");
    function onDynamicaBarGraphClick(e)
    // Read point name
         name=e.data.Name;
    // Read point value
         value=e.data.YValue;
    // You can add onclick even here using the values name and value
    DynamicaBarGraph();
    </script> Hope it helps. Thanks.
    Regards,
    Manish

  • 10g Graphs - How to customize the default color of a Bar Graph

    Hi,
    I've posted this thread in Reports section, have received no reply yet. Maybe no one has ever tried this before!!
    I am porting a couple of 6i OGD's to 10g graphics.
    Basically I am invoking reports from a form. The reports contains embedded Graph.
    Here comes the tricky part.
    I have a couple of Graphs in 6i that display each bar of a bar graph in different color.
    Example:
    Value       Bar Color
    Critical     Red
    Major       Orange
    Minor       Yellow
    None       GrayQ) I want to know how to set the color of each bar of a bar graph based on the value it takes. i,e If it's critical the bar should be displayed in red. If it's major, the bar should be displayed in orange.
    I added conditional formatting in 10g Graph, and this is the trigger that was created.
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:f19 > -1)
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:f20 > -1)
      then
        srw.set_foreground_border_color('red');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;When I try to invoke the above report from the form, I get the error: FRM-41214: Unable to run report.
    If I remove conditional formatting, I am able to invoke the report from the form with the default color in the embedded graph.
    Hopefully someone has ideas on this!
    Thanks

    Why don't you use the build-in charting capability of reports 10g instead? There is FormsGraph.jar implementation for forms but that might not have the flexibility of what 6i graphs has/had and not "officially" supported - not like the reports 10g charting capability (which is built in and can be customized by editing the related xml files (if necessary). Note: FormsGraph.jar has it's own limitations

  • BOXI 3.0 To have different color if bar graph

    Hello BO experts.
    Alias here. I have one question.
    I have made Bar Charts-Vertical Grouped in BOXI Web Intelligence.
    The graph is just shown one color for every bar eventhough the bar represent different categories.
    How to have different color for each bar? Can we do that in BOXi webi?
    Thank you very much.
    Best regards,
    Alias

    Alias, if you want to change the default color you can do it on grah properties (Appeareance/Data/Palette).
    BO shows the same color for the same measure.
    If you need different colors for each category you could create one variable for each category and include them in your graph.
    Hope that helps.
    luis

  • Setting bar graph color by means of formula

    Is there a way to set the bar graph color other than chart expert->color highlight. I need alternate way of setting color like this
    if data='ready%' then set color=green, I don't want manually set is ready* can be anything. Is this possible ?

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Vary Chart Bar Graphs Color

    Hello folks!
    I am creating an Excel chart using Excel Interop (please find below code and output for the code given below). I need to vary the colors of same-series chart bar graphs (The graphs only now in orange). This line of code doesn't do the trick:
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
     How can I achieve my goal? Any advice will be appreciated!
    Excel.ChartObjects xlCharts = (Excel.ChartObjects)_sheet.ChartObjects(Type.Missing);
    Excel.ChartObject myChart = (Excel.ChartObject)xlCharts.Add(236, 241, 224, 268);
    Excel.Chart chartPage = myChart.Chart;
    chartPage.HasLegend = false;
    chartPage.ChartType = Excel.XlChartType.xlColumnClustered;
    chartPage.ChartStyle = 4;
    Excel.SeriesCollection seriesCollection = chartPage.SeriesCollection();
    Excel.Series series1 = seriesCollection.NewSeries();
    series1.Name = "My Title";
    series1.XValues = xValues;
    series1.Values = yValues;
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
    Excel.Axis axis = (Excel.Axis)chartPage.Axes(
    Excel.XlAxisType.xlValue,
    Excel.XlAxisGroup.xlPrimary);
    axis.HasTitle = true;
    axis.AxisTitle.Text = "My Chart";
    series1.ApplyDataLabels(
    Excel.XlDataLabelsType.xlDataLabelsShowLabel,
    true, true, true, false, false, true, true,
    true, true);

    Hi hokushin,
    The series1.Interior.ColorIndex property can only set the color for the whole series. If you want to vary the color of the bar graphs in the same series, one way is to vary the color by the Point.  For example:
    int pointsCount = series1.Points().Count;
    for (int i = 1; i <= pointsCount; i++)
    series1.Points(i).Interior.Color = Color.FromArgb(0, 30*i, 0);
    You can set the color as you want for every Point of the series, the series1.Points([point number]) method will return the whole Points collection or just one Point of them.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Changing the color of bar graph

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

  • How I can access "Convert Colors..." button in Adobe Acrobat XI using applescript, or add this button to menu bar?

    Hi, I'm writing applescript to automate Adobe Acrobat XI, I'm missing only one line of code - opening dialog window of "Convert Colors..." tool. It was easy in Acrobat 9 but some reason it's complicated in Acrobat XI.
    Is there an option to add "Convert Colors..." as menu item into menu bar?

    Thanks Gilad D. I created JS file with simple code
    app.addMenuItem({cName:"Convert Colors", cParent:"View", cExec:'app.execMenuItem("ColorConversionMenuItem");'});
    and I added it into acrobat (USER/Library/Application Support/Adobe/Acrobat/11.0/JavaScripts/).
    I enabled menu items JavaScript execution privileges in Acrobat Preferences.
    Now I can open "Convert Colors" from main menu bar, and create applescript which do the same.

  • Pages '09 Bar Graph Color Help!

    Hi everyone.
    I am trying to make a chart in pages 09 and I have a wee bit of a problem.
    Lets say I make a bar graph, a simple one with 4 bars. What do I do if I want to change the color of just one bar? If I want the first bar to be red and the rest to be green for example. I already tried dragging the color onto one bar individually but all the bars are still changing with it.
    Thanks a million
    NeoXY

    Pages uses a single colour for each series of data. Each series is listed in a single column.
    Try moving the datum you want to show in a different colour one column to the right, leaving its cell in the 'regular' column empty.
    Select the original column(s) and the extra one, then choose the stacked bar graph (second item) from the Charts button's popup menu.
    Regards,
    Barry

  • Plot a bar graph of 1D array with different color of each bar?

    Any one has example for a graph of 1 D array ( exp: [1,2,6,4,6]  with different color of each bar? I want to make a bar graph of 1 D array, exp :if the value >=5, the bar is red, value< 5 is blue.

    What's wrong with the solution I showed you over two weeks ago?
    http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=281455#M281455
    LabVIEW Champion . Do more with less code and in less time .

  • Change the bar graph color

    Hi
    Is it possible to change the bar graph color? I want the first bar to be green, second to be red, thrird to be orange and fourth to be gray.
    Is there anywhere to specify the color?
    Thanks

    Did you find the Fusion 11g Web Guide section 23.5.1 any help?:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_graph.htm#sthref410
    CM.

  • cfchart Can I overlay a none-stacked cfchartseries type="line" over a stacked bar graph?

    Creating the stacked bar graph works well... but I'd like to overlay some non-stacked line-type chartseries over the bars.  I don't appear to be able to do this as the lines just stack on top of one another.
    Any ideas if you can mix stacked bars with non-stacked lines? (CF8)
    Thanks

    The graph wizard in Reports 9i allows you to create a dual Y combination graph - is this not sufficient for your needs, or am I missing something?
    Danny

Maybe you are looking for

  • Accessing print services in the client machine(browser)

    Query: We had migrated a forms-3 form to forms-6i. The forms-3 form used a userexit to call a related Pro*C functionality that helped finally to print the report file generated during the process into the client machine's printer. How do we take care

  • Javascript in Acrobat 9.0 Standard

    I am trying to find my way through running Javascript in Acrobat. I have a sample PDF I downloaded from the web (acrotips6006.pdf) which has embedded Javascript. It has buttons which allows you to connect to a database a populate a form with data fro

  • Export to Quicktime Fails

    I've created a slideshow with "Magic Move" for animated transitions.  Plays fine. If just use the default export to quicktime settings, it will export fine.  But the animations are jerky.  If I customize the settings using Animations as compression,

  • Installing latest version of iTunes 8 - Error message after setup:

    "The folder iTunes cannot be found or created and is required. The default location for this folder is inside the "My Music" folder." Of course the iTunes folder in question exists. Anyone find this same error and find recourse? Thanks in advance, Ey

  • Schedule setups outside working hours

    Dear Experts, We are implementing PPDS in a process industry, setup matrixs are going to be used and in order to create a  setup constraint based plan for the next 3 weeks, we use the optimizer. During the production, many of the setup changes are re