XML/SWF charts: FlyCharts, Maani etc.

Dear all - has anyone had much experience of implementing SWF (Flash) charts in APEX/HTML DB?
The static examples work very well, but what I'd like to know is how to make them work with XML that is generated dynamically.
The ones I've tried all expect the XML from a file, and of course that file can contain a script to generate it.
Since right now isn't the best time for me to start learning Perl, PHP etc. (or Java for that matter), is it possible to have a PL/SQL function outputting XML that looks to the SWF generator file like an XML input file?
I've tried all sorts of combinations, ranging from straight PL/SQL function calls to application processes returning XML, which should look to the SWF generator file like a URL, but to no avail.
The general syntax is:
<OBJECT etc. etc.><EMBED SRC="path/swf_file.swf?input_file=path/xml_file.xml" other_parameters >
I'd be very interested to hear what your experiences have been of using these products.
Incidentally, before anyone asks, the reasons I'm investigating this are:
1. Almost nil penetration of the SVG plugin within my organisation, and hence the cost + delay of getting it installed;
2. Minor annoyances with the SVG charts such as the right-most x-axis label being chopped off, lack of control over y-axis labels, and the fact that you can't (as far as I know anyway) see a point's value by hovering over it (at least not without cheating and putting in some appropriate text as the 'link'), which seems to be very important to the users.
Personally, I think the SVG charts are pretty good, and of course you can do amazing things with SVG once you get to grips with the XML and especially in conjunction with JavaScript, but at the moment we can't use it.
Thanks for your time.
Regards,
John.

Vikas - I'll have a look at that, but I'm not sure if I can because I have it running with the SWF creator file sitting in the database server's filesystem - when I put it in #WORKSPACE_IMAGES# the SWF didn't load.
I think I should also make the procedure call within an application process.
The Maani charts work in pretty much the same way as the FlyCharts ones - Maani use a PHP script file in their tutorial, but this (as I've discovered) can just as well be a link to a PL/SQL procedure that htp.p's out the XML instead.
Maani has a set of library files that probably also need to sit in the filesystem, but FlyCharts simply use a different creator file depending on your chart type.
Have you looked at any other charting options? People have mentioned Kava Charts, BI Beans and PopChart (and there's always Business Objects...), but I must admit I steered clear of anything that:
1. Needed installing (rather than just sticking some files in the filesystem like FlyCharts and Maani); or
2. Was implemented using Java.
Both FlyCharts and Maani notionally cost money, incidentally, but they do seem to have free (or unlimited evaluation) versions.
Regards,
John.

Similar Messages

  • XML / SWF / HTML in different folders

    I have downloaded a nice slideshow code from
    http://webdevfoundations.net/slideshow/index.htm.
    it includes:
    - the swf with the code to do the slideshow
    - the html code to display the swf
    - an XML file which lists the pictures to be displayed (in a
    sub-directory)
    - the subdirectory with jpg images
    this works well when XML, SWF and HTML are at the same level.
    But I need to have the HTML code run from a different location and
    then it does not work. It points at the SWF ok, but the SWF somehow
    won't find what it needs to run.
    Here the html:
    ...<param name="movie" value="slideshow.swf">
    <embed src="slideshow.swf" ...
    Here what I have in the XML:
    <image path="./images/ctilabel.jpg" />
    Where/ how can I specifiy the path to have this work? Just
    changing the HTML to "../flash/slideshow.swf" does not work.
    thx

    you'll need to edit the swf because the path from the swf to
    the xml is coded in the swf and it's looking for the xml file in
    the same directory as the html file's directory.

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • MS dynamics crm 2011 edit xml of chart to get count of Won vs ALL opportunities

    Dear Support Team,
    We are currently working on a dashboard for our on-premise CRM dynamics 2011 instance. What we need is to display Won VS ALL opportunities of a certain account manager. I have tried exporting one of the default chart in CRM which is the Won Deals VS Lost
    Deals. I have modified the XML to get the COUNT of opportunity number for WON and LOST deals instead of  the SUM of revenue. Now, i have imported the modified xml content and was able to import it successfully. Upon checking the chart data, it shows the
    same count for WON and LOST records which is incorrect. How do i able to correct this. Please refer below to the xml codes i have imported. Looking forward to any help. Thank you.
    <visualization>
      <visualizationid>{7842C8AF-0FD2-E411-9758-F5ACB647B220}</visualizationid>
      <name>Test Chart For Comparison</name>
      <description>Shows the amount of revenue for won deals versus lost deals.</description>
      <primaryentitytypecode>opportunity</primaryentitytypecode>
      <datadescription>
        <datadefinition>
          <fetchcollection>
            <fetch mapping="logical" aggregate="true">
              <entity name="opportunity">
                <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">
                  <attribute alias="sum_lost" name="opportunityid" aggregate="count" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="0" />
                  </filter>
                </link-entity>
                <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">
                  <attribute alias="sum_won" name="opportunityid" aggregate="count" />
                  <filter>
                    <condition attribute="statecode" operator="eq" value="1" />
                  </filter>
                </link-entity>
                <attribute groupby="true" alias="groupby_column" name="nexus_accountmanager_lookup" />
              </entity>
            </fetch>
          </fetchcollection>
          <categorycollection>
            <category>
              <measurecollection>
                <measure alias="sum_won" />
              </measurecollection>
              <measurecollection>
                <measure alias="sum_lost" />
              </measurecollection>
            </category>
          </categorycollection>
        </datadefinition>
      </datadescription>
      <presentationdescription>
        <Chart Palette="None" PaletteCustomColors="97,142,206; 168,203,104; 209,98,96; 142,116,178; 93,186,215; 255,155,83; 148,172,215; 217,148,147; 189,213,151; 173,158,196; 145,201,221; 255,180,138">
          <Series>
            <Series Name="opportunity_statecode,1" Color="149, 189, 66" IsValueShownAsLabel="False" BackGradientStyle="TopBottom" BackSecondaryColor="112, 142, 50" Font="{0}, 9.5px"
    LabelForeColor="59, 59, 59">
              <SmartLabelStyle Enabled="True" />
            </Series>
            <Series Name="opportunity_statecode,2" Color="255,124,31" IsValueShownAsLabel="False" BackGradientStyle="TopBottom" BackSecondaryColor="235,98,0" Font="{0}, 9.5px" LabelForeColor="59,
    59, 59">
              <SmartLabelStyle Enabled="True" />
            </Series>
          </Series>
          <ChartAreas>
            <ChartArea BorderColor="White" BorderDashStyle="Solid">
              <AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
                <MajorGrid LineColor="239, 242, 246" />
                <MajorTickMark LineColor="165, 172, 181" />
                <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
              </AxisY>
              <AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
                <MajorGrid Enabled="False" />
                <MajorTickMark Enabled="False" />
                <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
              </AxisX>
            </ChartArea>
          </ChartAreas>
          <Titles>
            <Title Alignment="TopLeft" DockingOffset="-3" Font="{0}, 13px" ForeColor="0, 0, 0" />
          </Titles>
          <Legends>
            <Legend Alignment="Center" LegendStyle="Table" Docking="Bottom" Font="{0}, 11px" ForeColor="59, 59, 59" />
          </Legends>
        </Chart>
      </presentationdescription>
      <isdefault>false</isdefault>
    </visualization>
    Best regards,
    Honey Dulatre

    You'll need to create a filter for each of your two series in the xml.
    This blog post describes the process
    for filtering invididual series within the chart xml.
    Ulrik,
    Blog: http://crmchartguy.wordpress.com - Exclusively for MS CRM Charts
    Twitter: crmchartguy

  • XML Publisher CHARTS: mulit-dimensions not plotted correctly

    Hi,
    We're currently assessing the suitability of XMP Publisher and one of the deciding factors is to create a bar chart from an SQL query that retrieves multiple portfolios over a time-frame. For example, three portfolios are selected over a time period like 3 years (but there does not have to be a performance for every month) and their performance is plotted against each month (i.e. 0 - 3 Columns depending if a result exists per month). In the desktop publisher we struggled but managed to change the Graphics code until it could dynamically show the correct legend and the data rows, but alas the data points do not correspond correctly with the X-axis. It seems that when the rows are grouped each value is plotted against each column regardless of the tagged value used for the X-axis.
    Let me try and put it this way, the first month had only 1 portfolio and the next month had all three, but on the graph the first month shows three columns, the records have slipped.
    The code that we used was adapted from a forum entry by Klaus Fabian- "Re: Stacked Bar Chart
    " (Servus Klaus;-)), but we need to find out how to adapt the code so that it plots the data correctly against the X-axis values.
    Help!!!!
    Cheers,
    Robin.
    Here's the code we used
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'TODATE'))}" rowCount="{count(xdoxslt:group(.//ROW, 'CODE'))}">
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <Label><xsl:value-of select="./CODE"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//ROW" group-by="TODATE">
    <Label><xsl:value-of select="./TODATE"/></Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="TODATE">
    <Cell><xsl:value-of select="./PERFORMANCE"/></Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

  • Can I copy and paste into word doc without losing formatting (ie., charts and columns, etc.)

    We were recently given the opportunity to have our office files scanned to searchable PDF.  Now that we have an opportunity to work with the PDFs, we are interested to know if we can take text and formatting of an existing document, copy and paste it into word for editing.  So far I have only been able to copy and paste the text, which I then have to reformat, space and enter into a chart, etc.  We are currently using Adobe Reader.  Is this a possibility if we upgrade or install a different program, such as, Adobe Acrobat?
    Thank you for any and all help!

    "Formattng" per se does not exist in PDF.
    An informative read on this:
    http://talkingpdf.org/each-pdf-page-is-a-painting/ 
    Be well...

  • XML conversion for special charaters & , , etc..

    Hi ,
    I'm trying to generate a XML file to send the sales order details , in the when ever there are special charaters like & < etc..
    it's getting converted to &amp; LT; etc...
    I'm using IF_IXML interface and create_text method to convert the text in R/3 to XML.
    Any idea how to over come this?
    Regards,
    Raghavendra

    Hello Raghavendra,
    You can use identical transformation which is easy and will convert all the special chars while creating xml file.
    CALL TRANSFORMATION ID
                 SOURCE ITAB = ITAB[]
                 RESULT XML XML_STRING.
    Here xml_string will contain full xml file with all conversion taken care.
    You can refer to SAP help on identical transformation.
    Hope this helps!
    Thanks,
    Augustin.

  • Xml file, non database field etc..

    Hi,
    There is a requirement for putting a non database field in an
    infobus grid control and populating it with some value at the
    runtime. As this is not directly available in gridcontrol, many
    have tried using a join query as I could see from the
    postings.(Like select deptcode,desc from emp, dept where
    emp.deptcode = dept.deptcode). This works well when the data is
    queried from the database. But when a new deptcode is entered, it
    is not possible to get the corrosponding value from the database
    and show it on this field, as u get readonly attribute error.
    Even if u explicitly change the attribute to updateable the error
    will remain as such.
    The cause of this problem, I have tracked down to the xml file.
    The entity for the updateable table (in this case EMP) does not
    have the attribute for deptdesc. If this is manually added, it is
    possible to add values to the deptdesc column. The catch is when
    inserting a row to the database. All the attributes in the
    entity
    will appear in the insert statement and u end up with an invalid
    column name error for the deptdesc column.
    Seeing this consistant behaviour, I assume that the insert
    statement is created by parsing the xml file. Had there been an
    attribute value in the xml file for insert into database (just
    like IsNotNull etc.. perhaps IsUpdateable which can be set
    manually), while parsing this attribute can be removed.
    To do this I would like to know where this xml parser is
    implemented in jdev. Is it possible for me to change its
    behaviour or can I expect to get a patch for this? This
    functionaliy is very much essential for me, as I am in the middle
    of a very large project using jdev2.0. I don't mind implementing
    it, if the source is available.
    Any helpful suggestions, comments are welcome. Sorry for the long
    post and thanks
    --Gopal
    null

    I don't think it will work with a non-db-item. But you could create a separate block based on your image_tb-table, use read_image_file on the then db-based-column and then simpy issue a commit_form.

  • Chart(pie,bar,etc) not displayed in BI portlet

    Hi,
    I deployed one BI ReportUI portlet on a web center server successfully. But giving the report path as "/shared/myport/custInfo", the table displays properly but the charts not!
    I find that all charts are flash movies. How can I enable the chart flash movies running in portlet on webcenter server?
    Any help is appreciated. Thanks.
    regards,
    Rongrong

    The issue is solved now by deploying the Webcenter application on the same OC4J server with Business Intelligence Report Portlet.
    regards,
    Rongrong

  • Accessing swf metadata rdf:Description etc

    Hi Guys, anyone found a way for a swf to access it's own xmp and rdf metadata.
    Essentially what i'm after is a way to embed a variable in a swf without having to decompile and recompile it, setting one of the preused metadata tags to that and then reading it would solve that problem.
    Any help is much appreciated

    Unfortunatley not, i'm trying to automate a dynamic content system, much like the old macromedia generator, where we have one swf file with one internal variable changed.

  • Options for Charts

    I need to put some charts into my HTML-DB pages but don't want to be restricted by the limitations of the SVG components. I have had success embedding Oracle Reports within an <iframe> but I'm wondering if BI Beans might be a better (more flexible/more powerful/etc) way to proceed.
    Can BI Beans be incorporated into HTML-DB? If so, where do I start?
    Many thanks.

    One of my biggets complaints is the inconsistant behaviour across browsers. I know that this is not something that ApEx has direct controll over, but it is a huge consideration, especially when you are looking at deploying a commercial product (as we are) on ApEx.
    Making sure that what you want to display ALWAYS works and ALWAYS looks the same in ALL browsers is very difficult with SVG.
    We're currently investigating a flash based charting solution called XML/SWF (http://www.maani.us/xml_charts/). It is going to cost us, but in the long run the cross browser compatibility and the fact that every chart will look EXACTLY as we intend it EVERY TIME is worth the money and extra effort needed!
    Doug
    null

  • Off the shelf Flash chart with live update and slider?

    Does anyone know of any good off the shelf Flash line chart
    that has
    1. Live AJAX-type update of data (without reloading entire
    Flash chart)
    2. Horizontal axis slider to be able to zoom in (like the
    time slider on Google Finance)
    I have been using
    XML/SWF
    chart chart but find that its live update is clunky.
    Is doing a custom chart our best bet?
    Thanks! Chirag

    Hi,
    it was a bug, corrected in patch 4.0.1 (bug 9868860), see http://www.oracle.com/technetwork/developer-tools/apex/application-express/401-patch-166923.html#BABJCAFA.
    It's why it don't works with APEX 4.0.0.

  • Help needed on SWFLoader

    I am making a flex app which includes multiple embedded swfs
    of different charts. These are xml/swf charts i downloaded from
    maani.com. You assign the data and styling of these charts via an
    xml page which you would normally define under the "FlashVars" in
    your AC_FL_RunContent of a normal html page. These charts were
    intended for embedding into html/js pages.
    As i am making a flex webapp, not air, i cannot use mx:html
    so the only other solution is to directly load it with an
    SWFLoader. However, I cannot figure out how to define the data
    normally defined in the AC_FL_Runcontent function, i.e. which chart
    t ype it is and what xml file to look for. This is necessary for
    the charts to load at all.
    Does anyone have any ideas on this?

    This forum is nearly dead. All the action is on the "Flex
    General Discussion Forum". If this is really about flex 1.5, please
    note that in the subject.
    Tracy

  • Suppression of nulls in Flash line graph

    I am running APEX 3.0.1. I have an application that displays a 2D Flash line chart of a time series of 4 variables as 4 different colored lines. This works quite well. In some cases one of the variables is null (data is not yet available). Currently, my Flash chart shows the variable going to zero if that variable is null. Instead, I would like my chart of that variable to stop at the last reported value, showing a break in the line when the variable is null.
    Any suggestions (custom XML, a chart setting change, etc) would be gratefully appreciated.
    Alvin Steele

    Alvin,
    This was requested by several APEX users, and the behavior will be updated for APEX 3.1. In APEX 3.0.1, I don't think there's much you can do without generating the XML entirely yourself using a custom procedure or process.
    You can check that 3.1 will work as you expect by testing on the Evaluation instance ( http://forums.oracle.com/forums/ann.jspa?annID=647)
    - Marco

  • Xml charts

    Hi
    I m using xml charts from maani.com running on Oracle XE Release 2.2
    I have made a static xml file and runing it thru a html region.
    I want to generate charts based on a query.How to go about it???
    Shefali

    i tried using it on xe but its showing this error:
    ORA-04067: not executed, package body "DEMO.XML_CHART_PKG" does not exist ORA-06508: PL/SQL: could not find program unit being called: "DEMO.XML_CHART_PKG"
    Debug:
    1: begin
    2: BEGIN
    3: Xml_Chart_Pkg.xml_chart_pr(item_for_query => :P4_ITEM,
    4: chart_type_in => 'stacked bar',
    5: sort_series_in => 'ASC',
    6: width_in => 450,
    7: height_in => 420,
    8: chart_template_in => 'SERIES_SWITCH,SERIES_COLORS_1' || ',' || 'dissolve',
    9: chart_standard_ignore_in => 'N',
    10: default_directory_xml => '/i/charts_library',
    11: axis_val_conv_function => 'MY_FUNCTION',
    12: x_axis_title => 'MY_TITLE_X',
    13: y_axis_title => 'MY_TITLE_Y' );
    14: END;
    15: end;
    Have already saved the package,granted permissions(even though using in the same schema).
    I have made a schema in system account
    SQL> grant execute on xml_chart_pkg to public;
    Grant succeeded.
    But still the problem is thr...Can u suggest wht i m doing wrong??
    Shefali

Maybe you are looking for

  • Xbox Live wont connect

    Hey Guys wondering if you could help me. So basically the problem is when I connect to xbox live or the black ops 2 server from my Xbox everything on my network just lags and is unusable, even the game itself.  Normally my connection is fine but toda

  • MM SUS - Consignment Purchase Order

    Hi Are consignment POs supported in the MM-SUS scenario? I have tried creating a PO with item category K and the XML fails in SUS. Any suggestions? We are on ECC 604 and SRM 7.0

  • Sharing in Tiger for xp

    How do we share a folder inside of Tiger? Didn't there used to be a per folder sharing setting in system preferences>sharing>personalfilesharing I just want to access my files from my xp machines.

  • After updating to FF4 I've lost my toolbar (file, edit, etc).

    This morning when I turned on the computer it ask me to update to FireFox #4. I did. Now when I'm in my e-mail there is no toolbar available at the top of the screen. It moved my bookmarks to the extreme right (used to be on the toolbar mid-left). I

  • Translate Smartform

    Hello, I have to modify an existing Smartform so that it will also display Text in Ukrainian language.I have worked with several Smartforms and used the Standard text with all the required languages  but this Smartform is different know. I have a lot