Custom Flash Charts

Hi,
I'm having some problem due to margins in Custom Flash Charts. APEX 3.0.1
First i created a new chart (Horizontal 3D Column) that I let all margins to 0 but inside the rendered Flash it shows a lot of blank space between the x-axis and the bottom of the chart, tried negative values with success.
Then I changed to Customize the Flash Chart, and the margins are not "used" anymore, like APEX is not using the values is the margin fields, and i can't figure out how can I put the values of the margins that I wan't to inside the xml/object/embed...
This is my first post but I'm working with APEX since the APEX 2.0 and we have an application of managing credit cards, private labels and other types, here in Brazil.
TY,
Guilherme

Guilherme,
You are correct, the chart margins are not used anymore when you select "Use Custom XML". So, like the other regions that no longer apply, they should not be shown when that option is selected (and this is a known and logged bug).
To achieve the same effect as the margin settings, you can edit the chart XML, and change the values inside the <chart_area> tag. Or you could disable custom XML (losing any custom changes you have made), find the margins you like, then enable custom XML again (the new custom XML will respect the new margins).
- Marco

Similar Messages

  • 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

  • Changing the custom XML for a flash chart dynamically

    Hello
    I am wondering if anyone has found a way to change the custom XML
    for a flash chart dynamically.
    For instance.
    On the www.anychart.com website their is a gallery with charts.
    I have studied one called "2Dlinetimechart. It has hours on the X-axis.
    When I view the XML for this chart.
    I found this enrty
    - <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
    <set value="0" argument="0" name="00:00" />
    <set value="1" argument="0" name="01:00" />
    It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
    I have not found a way to do this in application express 3.0.
    Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
    Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
    Hope this makes sence ?
    Ulf
    PS this is related to my question about
    http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
    using dates on the x-axis.
    But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.

    String value = ResultSet.getObject("myfield").toString();
    String opvalue = "15";
    <OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>>

  • Flash chart / custom XML

    Hello everyone,
    I was wondering if you could point me to a sort of "user's guide" or "developer's guide" for Anychart (the component that Apex uses to generate flash charts).
    The "documentation" I found on their site (http://www.anychart.com/products/anychart/tutorials/xmlreference/index.html) can hardly deserve that name as it does not provide much detail.
    Thank you,
    Pablo

    Hello Anton,
    Thank you very much for the link. Anyways, I still wasn't able to find what I was looking for. Do you know if there's a way to add a line between the caption and its corresponding slice in a 3D pie chart? Regrettably, when there are a few values that represent a small portion of the pie, their captions overlap.
    Thanks again,
    Pablo

  • The flash chart Link not opening in oracle Apex 4.1

    I have created a flash chart (Pie chart ) on the latest version 4.2.
    Everything is workinfine when I have created a hidden item and associated a computation to it and added that in custom color option in chart attributes
    I am able to customize this again in this version
    But When I have done same thing in Apex 4.1
    I am able to see the output .but When I try to change the color and click on chart attributes it throws an error showing no data found
    Kindly help me in solving this error .

    Hi,
    To assist in resolving your issue, could you please outline the steps you've carried out in your 4.1 environment? Also, could you please confirm exactly what version of APEX you are referring to - 4.1.0 or 4.1.1?
    Regards,
    Hilary

  • Flash Chart Legend Not In Capitals

    I have created a flash chart based upon a function returning sql. The chart displays fine but the legend column names for some reason are converted to initial capitals from all originally being in capitals, eg "SERIES" now equals "Series". I really need the legend to display all capitals as it is in the sql.
    For example:
    The function returns a string similar to this .......
    select NULL as "LINK",
    WEEK as "LABEL",
    VALUE1 as "VALUE1,
    VALUE2 as "VALUE2"
    from MY_TABLE
    order by WEEK
    When the flash chart is rendered on the page the legend displays the two series values as "Value1" and "Value2". Somehow the chart ignores the capital case of the column names and applies initial capitals only over riding the original case.
    There appears to be no over ride for the legend case so where is it coming from ? It shouldn't make any difference but the chart type is a "3D column" style. Not sure if this is a XML question or maybe a Flash Player issue.
    Regards,
    Jack.

    I had the same problem.
    To fix it:
    1. Find a font that is strictly caps. I used Felix Titling.
    2. Edit the flash chart & under the chart attributes set USe Custom XML to yes.
    3. Scroll down almost to the bottom and find the legend tag.
    4. In the font tag for the legend substitute the font you chose.
    This will capitalize ALL the letters in the legend.
    I don't know how to selectively capitalize letters.
    Bob Richards

  • Flash chart error: scroller position should be positive and integer

    Hi
    I am periodically getting this error when running a flash chart.
    It seems to be related to the amount of data that I am using.
    Any Idea whats causing it and how to resolve it
    Keith

    This only happens when using custom xml. If I change it to use the built-in xml, I get a no data found message.
    That happens even if i just reset the custom xml.
    Apex 3.1 with built in anychart
    Edited by: Keith Jamieson on Aug 20, 2010 1:47 PM

  • How to remove values data points from Apex3 Flash Chart

    Hi
    I am using a Apex 3.2 and I have to put Flash Charts in my application. But since the charts have are smaller in size, I do not want to have the data points coming up in the chart. I have planned to show them using hints. But unfortunately, I am not able to hide the Data Points. Can you please help. Thanks Sahcin. Here is my custom XML.
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <root>
         <type>
              <chart type="Stacked Horizontal 2DColumn">
                   <animation enabled="no"/>
                   <hints enabled='yes' auto_size='no' width='200' height='20' horizontal_position='left' vertical_position='top'>
                        <text><![CDATA[{NAME}, {VALUE}]]></text>
                        <font type="Verdana" size="10" color="black"/>
                        <background color="0xF4F4F4"/>
                   </hints>
                   <arguments show="no"/>
                   <names show='yes' position='top'/>
                   <values show="no" prefix="$" postfix="" decimal_separator="." thousand_separator=',' decimal_places="2"/>
                   <column_chart column_space='20' block_space='20' left_space='0' right_space='0' up_space='0' down_space='0' round_radius='0'>
                        <border enabled="no"/>
                        <block_names enabled="yes" placement="chart" rotation="45" x_offset="0" position="left">
                             <font type="verdana_embed_tf" size="8" color="0x000000"/>
                        </block_names>
                        <background type="gradient" gradient_type="linear">
                             <alphas>
                                  <alpha>100</alpha>
                                  <alpha>100</alpha>
                                  <alpha>100</alpha>
                             </alphas>
                             <ratios>
                                  <ratio>0</ratio>
                                  <ratio>120</ratio>
                                  <ratio>0xFF</ratio>
                             </ratios>
                        </background>
                   </column_chart>
              </chart>
              <workspace>
                   <background enabled="yes" type="solid" color="0xF4F4F4" alpha="0"/>
                   <base_area enabled="no"/>
                   <chart_area enabled="yes" x="100" y="50" width="600" height="300" deep="0">
                        <background enabled="yes" type="solid" color="0xCCFF99"/>
                        <border enabled="yes" size="1"/>
                   </chart_area>
                   <x_axis name="Region" smart="yes" position="left_center">
                        <font type="Verdana" size="10" color="0x000000" bold="no" align="center"/>
                   </x_axis>
                   <y_axis name="Booking Amount (kUSD)" smart="yes" position="center_bottom">
                        <font type="Verdana" size="10" color="0x000000" bold="no" align="center"/>
                   </y_axis>
                   <grid>
                        <values>
                             <lines size='1' color='0x15771A' alpha='100'/>
                        </values>
                   </grid>
              </workspace>
              <legend enabled="yes" x="0" y="0" rows="2" rows_auto_count="no">
                   <names width='80' enabled='yes'/>
              </legend>
         </type>
         #DATA#
    </root>Edited by: user779712 on Nov 3, 2009 4:45 PM
    Edited by: user779712 on Nov 3, 2009 4:46 PM

    Well going in point by point and deleting is certainly one way of going about it. Of course that would defeat the entire purpose of having this great programming enviroment that is capable of doing that kind of thing for us.
    Is your text file small enough to upload? Obviously you know what the criteria are for judging whether or not a data point is acceptable so it should be simple enough to program. Give us a bit more information and I can assure you there will be a race between LabVIEW experts to see who can post the cleanest, simplest, and fastest piece of code that will do what you need. My wager is on altenbach, but there are a few others here that are almost as impressive.

  • Flash Chart Printing Help

    Hi Everyone,
    I have a question regarding printing of a flash chart region. I created flash charts using several chart series of pl/sql code that are functions returning SQL queries (generates my dynamic SQL query).
    We have our printing configured to use BI Publisher and works with report regions, but how do I have this functionality for flash charts?
    I attempted going down the route of creating report layouts using report queries, but when specifying the source query, it only allows SQL and no option for functions returning SQL queries (does not let me use PL/SQL code). Is there a solution for this?
    Your help is greatly appreciated.
    Regards,
    Luis

    Link to a page that will branch to different pages based on a page item that is sent via the chart link.
    For example:
    Create Page 220 with an hidden item P220_TABLE.
    On Page 220 create a branch to the page for your 'COMPANIES' table with a condition of Value of Item / Column in Expression 1 = Expression 2, Expression 1: P220_TABLE, Expression 2: COMPANIES
    Create additional branches for each table page.
    Go back and edit your chart series and edit the Action Link fields.
    Action Link: Link to Custom Target
    Target: Page in this Application
    Page: +220+
    Request: BRANCH_TO_PAGE_ACCEPT
    Name--
    Item 1: P53_TABLE Value: +#LABEL#+

  • Flash Chart

    Hi Everyone,
    I am in the process of making a few flash charts and i have a few questions I hope someone can answer for me.
    1) The chart series colours seem to be pre determined, (blue, purple, v.light pink, turquoise, .......) is there any way of changing the colour of these?
    2) The labels inside the chart legend get cut off. For Example, "Total Forecast Data" gets cut down to "Total Forecast Da". Is there any way of wrapping the labels in the legend or simple making the legend bigger?
    Thanks in Advance
    -N.S.N.O.

    Hello,
    You can adapt the xml of the chart in APEX. If you go to the settings of the chart and at the bottom put Custom XML to Yes.
    You find the xml reference here: http://3.anychart.com/products/docs/anychart/index.htm
    The part you want to change :
    &lt;root>
    &lt;type>
      &lt;legend>
       &lt;values width='40'/>
      &lt;/legend>
    &lt;/type>
    &lt;/root> Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forumHello,

  • Flash chart formatting

    Hi everyone,
    Can someone explain or point me in the direction of some documentation that can explain how to format the apex flash charts?
    I'd really like to be able to edit the colours on the chart beyond the inbuilt 'Look1; Look2' etc
    thanks heaps!
    Kieran

    Nevermind, apparently once you create the chart you can then use custom colours.
    My mistake :)
    Kieran

  • Line thickness in Apex 4.02 flash chart for Legend

    Does anyone know how to set Line thickness in Apex 4.02 flash chart for Legend?
    My users can read the label fine, but the part where it shows the line color is very small and hard to match to the chart.

    Many attributes can be set in the Chart Attributes page Custom XML section. Line thinkness. Legend font size, height and width. But I haven't found a setting for the "icon" size. Even thought I increased font size and the size of the Legend on the page, the legend "lines" remained unchanged in size.

  • Embedding Flash Charts (*.swf-file) to WebTemplate

    Hi, due to customer requests we want to embedd Flash Charts to our WebTemplate in BI7.0. The examples we´ve got contain JavaScript and the necessary staff. There are *.swf files available. But is it possible to use the Scripting in a WebItem Chart ? Has someone just experience in that ? I´m looking forward for some interesting information. I couldn´t find the right answer yet here.
    Regards,
    Peter

    Answered by a former colleague at SAP.

  • How to customize Flash Chart color scheme (Look 1 etc..)

    Hi,
    Is their any way I can customize the Flash Chart color schemes (Look 1, Look 2). I know there's a "Custom" option but I'd like to define what Look 1 is so that I don't need to use custom values for each chart.
    Thank you,
    Martin
    [http://apex-smb.blogspot.com/]

    Thank you Dimitri
    What you suggest is what I am currently doing.
    But let's say I have to change the colors in all my graphs, I would have to go through all of them and change the "Custom Colors".
    I was looking for something similar to a template where I would only have to change the color definition in one place...

  • Change hint on flash chart

    Hi, we have a simple query and create a flash chart with the data
    select case when partition_name is not null then partition_name
    else table_name end table_name,
    max(report_date),
    max(mb_allocated)
    from tsreport, tsreport_obj
    where sid=refsid
    and tbs=tablespace_name
    and table_name = :P6_CHOOSEOBJECT
    and report_date between add_months(sysdate,-4) and sysdate
    group by table_name,partition_name, to_char(report_date,'WW')
    order by 2;
    Our link is table_name, as x value - we have the report_date and Y-Value is the numeric value mb_allocated;
    The default hint is mb_allocated, [reportdate] how we can change them to table_name|partition_name, mb_allocated, report_date ?
    We try to add the table_name to the query like report_date || ' ' || max(report_date) but them the chart shows only on the X-axis the name and not on the onmouseover tooltip?
    Thanks for any help;

    Hello,
    If you go to your Chart details and put the select list to Custom XML you find following code:
          &lt;hints auto_size="yes">
            &lt;text>&lt;![CDATA[{NAME}, {VALUE}]]>&lt;/text>
            &lt;font type="Verdana" size="10" color="0x000000" />
          &lt;/hints>You can change the NAME, VALUE there.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

Maybe you are looking for

  • Hp Photosmart C6180 display is blank and no lights

    Hp photosmart C6180 display is blank and the console lights do not light up. windows 7 64bit, 12 gig i7 3400 2-60gb ssd,raid 0 ,3 sata 6 drives ,dvd i was having color issues not printing,magenta will not print,new cartridges tried, cleaned through h

  • Kernal Panic when Shutting Down iMac 21 2011

    Offlate almost everytime I am getting kernal panics when I shut down my iMac 21 2011 model. After booting back here is the problem report that comes up. I could'nt make head or tail of it, could anybody help me out here. Interval Since Last Panic Rep

  • Fbl1n txn for updating vendor line item

    hello every one iam trying to update vendor line item when a billing document get cancelled in vf11 i have tried bapi  BAPI_ACC_DOCUMENT_REV_POST . the requirement is whenever a billing document get cancelled the commision need to get credited again

  • Japanese Character Set - in Safari

    I am considering purchasing a new Mac Mini, and need to access my Hotmail account with Japanesse Character Set. My XP Windows system requires the Japanese Language Pack. How will the Mac handle this? in other words, will Safari support the viewing an

  • Drop Location

    I am using a TransferHandler to handle drag and drop events in my application. I've extended the default TransferHandler to support different data flavors. My only problem is that I need to know the location within my custom component where a drop ta