How to show pie chart in Oracle Map?
I created predefined theme with pie chart style using MapBuilder. When I requested map using XML map request, the pie chart are shown with background and base map behind. Unfortunately, I tried to use Oracle Maps JavaScript Client API and it showed only background with base map behind.
I’m using this code
themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','geoadmin.pie_province ');
themebasedfoi.setBringToTopOnMouseOver(true);
mapview.addThemeBasedFOI(themebasedfoi);
geoadmin is my username and pie_province is my pie chart predefined theme
Sorry for my English
Many thanks
581554
Hi
You can create chart by chart wizard in layout model in report 6i.
1. Create Query in data model
2. Go Layout model and right click
3. Select Chart Wizard then select Chart type
4. Select Axis (X axis column and Y axis column)
5. Choose your chart placement
PS
Similar Messages
-
PIE chart in Oracle 9i Reports
Hi,
I'm using Orcle 9i Report builder to create reports.I'm creating web-source and saving it as JSP.Now I want to add 'PIE' charts into my reports.But, when I'm using the 'Graph' option in 'Insert' menu,it's not creating the 'PIE chart' properly.Pls anybody help me know how can I create 'PIE chart'
Thanks in advance
Rajesh K.RHi Rajesh,
Suppose you want to show salaries of a few employees in a Pie Chart (this is just a dummy graph to explain the steps - you can build more meaningful graphs). So you want that each employee's salary should be shown as a percentage of the total. Follow these steps:
1. Use the query - Select empno, sal from emp
2. Go to the web layout, place your curson in the rw:dataArea tags, and choose Insert > Graph
3. In the Graph wizard, choose Pie Chart, select empno in X-axis, and sal in the Y-axis
4. In the "Layout" step, drag "sal" from groups into the slices field
5. Fill in the titles, etc, and click finish.
Click "Run to Web" in the builder, and you should see the pie chart in the web page.
Navneet. -
Charting Query: How to show detailed chart when clicked
Hi , I have a flash chart that shows monthly summary values . When user clicks on a bar ( say for month of JAN), I want to show another chart based on data for JAN only. I am trying to figure out how to show my detail chart when user clicks on a summary bar.
Can someone advise how can I pass value from parent chart to child chart?
Thanks
Aali
Edited by: aali on 02-Feb-2010 00:30Hi Aali,
Create 2 pages, one for summary the other for detailed (assuming P1 & P2). The query for your first chart needs to link to the second including a month value. It might look something like this:
select 'f?p=&APP_ID.:2:'||:app_session||'::::P2_MONTH:'||MONTH||':' link, MONTH label, SUM(SALES) value1
from TBL_DETAILS
group by MONTH
-- :2: is the page you're linking to (detailed chart)
-- P2_MONTH should be a hidden item on that page to store the month value
-- MONTH is the value to be passed...this could be some substr(date_col, 4,6) or somethingCreate your Hidden P2_MONTH item making sure it is NOT Hidden and Protected. Page 2 query something like:
select null link, DAY label, SUM(SALES) value1, SUM(COSTS) value2, COUNT(STAFF) value3
from TBL_DETAILS
where MONTH = :P2_MONTH
group by DAYI don't have info on your tables though so hopefully this is helps.
Mike -
How to display PIE chart Axis label horizontally?
Hi
Currently my PIE chart axis label is displying in 2 lines. How make it to display in one line?
Thank youhi,
For Pie chart there will be no X-axis or Y-axis terms generally.
Label/Text could be one of the following.
Title?
or Sub Title?
or Foot note?
Right Click -> Format Title . Reduce the font size such that it fits into a single line.
Regards,
Vamsee -
How to retrieve pie chart wedge id
Hi.
I'm trying to figure out how to get an id or index of a specific wedge from a pie chart
I think I'm close. I just need to find the right path to the wedge id.
This is what I have so far.
<fx:Script><![CDATA[
import mx.charts.events.ChartItemEvent;
private function itemClickHandler(e:ChartItemEvent):void {
var selectedIndx:String= e.currentTarget.series.index; //<--returns null
]]></fx:Script>
<s:VGroup>
<mx:PieChart width="220" height="220" id="piechart1"
dataProvider="{srv.lastResult.AAFunds.fundName}"
itemClick="itemClickHandler(event)"
>
<mx:series>
<mx:PieSeries displayName="pie series 1" />
</mx:series>
</mx:PieChart>
</s:VGroup>Figured it out.
Here is a simple example;
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/11/15/displaying-a-pieseries-items-data-when-a-user-clic ks-an-item-in-a-flex-piechart-control/ -->
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark"
>
<fx:Declarations>
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.charts.series.items.PieSeriesItem;
import mx.charts.events.ChartItemEvent;
[Bindable]
public var chartDP:Array = [
{wedgeName:'Pie wedge 1', percent:45 },
{wedgeName:'Pie wedge 2', percent:25},
{wedgeName:'Pie wedge 5', percent:22},
{wedgeName:'Pie wedge 4', percent:8}
private function pieChart_itemClick(evt:ChartItemEvent):void {
var psi:PieSeriesItem = evt.hitData.chartItem as PieSeriesItem;
myTextArea.text += "\rwedgeName: "+psi.item.wedgeName+" percent: "+ psi.item.percent;
]]>
</fx:Script>
<s:VGroup>
<mx:PieChart id="pieChart"
dataProvider="{chartDP}"
itemClick="pieChart_itemClick(event);"
showDataTips="false"
height="300"
width="300">
<mx:series>
<mx:PieSeries id="pieSeries"
field="percent">
</mx:PieSeries>
</mx:series>
</mx:PieChart>
<s:TextArea id="myTextArea" y="82" width="350" height="250" />
</s:VGroup>
</s:Application> -
How to Show Inline Message in Oracle ADF 11g Release 1.
Can you please tell me how to show inline error Message on particular field.
If I understand your requirement correctly you need to show a particular error message showing a red mark around the field like in required case right ?
You would need to do it programmatically by using the following code -
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Error on this field", null);
facesContext.addMessage(uiComponent.getClientId(facesContext), msg);//where uiComponent is the binding of the component in the bean ,on which the error needs to be shown. -
How to create pie charts in BIP 11g using .XSL?
Hi,
Requirement is to create a multi sheet excel output. Because of this. I am going the XSL way and not RTF.
Now, I need to create pie charts using XSL as part of the output.
* Is it possible to create pie charts in .XSL? If so, any pointers?
* I tried some SVG coding by referencing the below link but not result:
<http://www.svgopen.org/2003/papers/CreatingSVGPieChartsThroughWebService/index.html#S2.1>
* I also created the required chart in RTF and tried to use the underlying XSL-FO code. Not sure if I have used it in the right way. Has anyone tried doing that?
If you have any info, please share.
Thanks,
DivyaOne more point : I came across a link which talks about Bar charts using XSLT :
http://www.roguewave.com/Portals/0/products/imsl-numerical-libraries/java-library/docs/5.0.1/chartpg/xml_xslt.html
so, I am hoping, there is a way to do pie charts as well?
Thanks,
Divya -
How to access via javascript with Oracle Maps to a external Geometry Cache
If i've defined CTR_10000 as a Web map cache in mapviewer 10.1.3, what is Oracle Maps javascript code to access that
Layer?
I've tried:
vat ctr10kLayer = new MVThemeBasedFOI('ctr10kLayer','CTR_10000');
ctr10kLayer.enableAutoWholeImage(true);
ctr10kLayer.setVisible(false);
mapview.addThemeBasedFOI(ctr10kLayer);
but dowsn't works,
Any Suggestion?Here's an example (on 10133P5) using demis.nl's wms reference demo site.
You will have to change the adapter class if you're using 10.1.3
and use a proxy if necessary and set the tile_storage path
for your environment
map tile layer definition
SQL> select name, is_internal, definition, base_map from user_sdo_cached_maps where name='DEMIS_
NAME IS_I
DEFINITION
BASE_MAP
DEMIS_WMS NO
<map_tile_layer name="DEMIS_WMS" image_format="PNG" http_header_expires="168.0"
concurrent_fetching_threads="3">
<external_map_source url="http://www2.demis.nl/mapserver/wms.asp" request_met
hod="GET" timeout="15000" adapter_class="mcsadapter.WMSAdapter" transparent="tru
e" clipping_buffer="0">
<properties>
<property name="service" value="WMS"/>
<property name="srs" value="EPSG:4326"/>
<property name="format" value="image/png"/>
<property name="layers" value="Countries,Borders,Coastlines"/>
<property name="transparent" value="true"/>
</properties>
</external_map_source>
<tile_storage root_path="/tilecache/"/>
<coordinate_system srid="8307" minX="-180.0" minY="-90.0" maxX="180.0" maxY="
90.0"/>
<tile_image width="256" height="256"/>
<zoom_levels levels="10" min_scale="5000.0" max_scale="5.0E7" min_tile_width=
"0.003057205631621593" min_tile_height="30.572056316215935">
<zoom_level level="0" name="" description="" scale="5.0E7" tile_width="30.
572056316215935" tile_height="30.572056316215935"/>
<zoom_level level="1" name="" description="" scale="1.7969068E7" tile_widt
h="10.98702717691827" tile_height="10.98702717691827"/>
<zoom_level level="2" name="" description="" scale="6457748.0" tile_width=
"3.948532710638615" tile_height="3.948532710638615"/>
<zoom_level level="3" name="" description="" scale="2320794.0" tile_width=
"1.4190288973267207" tile_height="1.4190288973267207"/>
<zoom_level level="4" name="" description="" scale="834050.0" tile_width="
0.5099724714107979" tile_height="0.5099724714107979"/>
<zoom_level level="5" name="" description="" scale="299742.0" tile_width="
0.1832745860867039" tile_height="0.1832745860867039"/>
<zoom_level level="6" name="" description="" scale="107721.0" tile_width="
0.06586504956878192" tile_height="0.06586504956878192"/>
<zoom_level level="7" name="" description="" scale="38713.0" tile_width="0
.023670720323393343" tile_height="0.023670720323393343"/>
<zoom_level level="8" name="" description="" scale="13912.0" tile_width="0
.00850636894942392" tile_height="0.00850636894942392"/>
<zoom_level level="9" name="" description="" scale="5000.0" tile_width="0.
003057205631621593" tile_height="0.003057205631621593"/>
</zoom_levels>
</map_tile_layer>
SQL>
Html code to use it. Modify it for your installation and MV version
<html>
<head>
<script language=javascript src="/mapviewer/fsmc/jslib/oraclemaps.js"></script>
<script language=javascript>
var mapview;
function showMap()
var baseURL = "http://localhost:8888/mapviewer";
mapview = new MVMapView(document.getElementById("map"), baseURL);
mapview.addMapTileLayer(new MVMapTileLayer("mvdemo.demis_wms"));
var mapCenterLon = -100.45;
var mapCenterLat = 39.6706;
var mapZoom = 0;
var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
mapview.setCenter(mpoint);
mapview.setZoomLevel(mapZoom);
mapview.addNavigationPanel("EAST");
var markerFOI = new MVFOI('markerfoi', mpoint, 'mvdemo.m.star',null,15,15);
mapview.addFOI(markerFOI);
mapview.display();
</script>
</head>
<body onload="javascript:showMap();">
<h2>WMS map tile example</h2>
<div id="map" style="width: 100%; height: 70%"></div>
</body>
</html> -
Show pie chart data block by block
Hello experts,
imagine you have a list of suppliers and their invoice volume. Now you want to display the suppliers in a pie chart, but as this list can be quite long the pie chart gets complex.
Now it's the question whether it's possible to display only N values at one time (e.g. display the first 10 values, the second 10 values and so on).
I know that you can use the Top N-property in a query, define N as a variable and display the (e.g.) Top 10, Top 20 and so on values. But that's not what we need.
Does anyone have an idea?
Thanks in advance and greetings,
DanielI think that should have been fixed in Design Studio 1.2 SP01, if its happening in a newer release, then it is unfortunately a regression:
1953578 - Chart values defaulting to 1 or 0
The expected behaviour is to display the percentage share in the chart, and the absolute value in the tooltip.
Best regards,
Victor -
How to Show custom image on Google Map Oracle Apex 4.1 page
Hi.. All,
Need to show custom Image (From Database Table which is a BLOB Column) as Marker on Google Map with fixed size if we zoom in or zoom out.
I am using Apex 4.1 and oracle11g r2.
Thanks in AdvanceHello,
This plugin Does Exactly What You Need.
http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
Please read the comments on the plugin, in case you come across problem in running the plugin....
Best Regards,
Fateh
If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all -
Hello every one,
In My requirement i am having some regions with longitude and latitude in one SharePoint list. in another SharePoint list i am having the country values with longitude and latitude and region as look up field. I want to display all the region
markers in Google maps. on click of any region marker i want to zoom in the map to region level and i need to display all the country markers in Google maps under the region. can any body help me on this requirement.
Thanks in advance,
Venu.Not sure about Google Maps but this is fairly easy to do with Bing Maps. I've used Bing Maps with SharePoint lists fairly regularly. Here are some blog posts:
http://blogs.bing.com/maps/2013/03/26/connecting-a-sharepoint-list-to-bing-maps/
http://blogs.bing.com/maps/2013/03/07/geocoding-a-sharepoint-list-item/
Once you have your sharepoint list connected to Bing Maps you can easily filter the list data based on the selected country if you have a country column in your list. If you want to take things a bit further an create a much cooler user experience you can
also use the Bing Maps GeoData API to get the country boundaries and show them on the map as polygons. These could be color coded based on some metric, or set up as the clickable area on the map rather than a pushpin. Here is a blog post on how to use the
GeoData API with the JavaScript Bing Maps control:
http://blogs.bing.com/maps/2013/06/25/retrieving-boundaries-from-the-bing-spatial-data-services-preview/
http://rbrundritt.wordpress.com -
How To use JFree chart in Oracle Forms 11g ?
Hi all
I had a graph in oracle forms6i I would like to convert them to 11g forms as graph builder is not supported by oracle forms 11g while goggling came to knew that there is Jfree chart through which we can develop the same as 6i graph..but unable to find any demo or Document Can any one help me regarding this please..?
thanks in advanceHello,
Oracle has the FormsGraph Bean, that you can take from the forms10g or forms11g demo pack (see the Forms home page on OTN).
Francois -
How to show speed, when only using maps
Hi
I have a 5230, I will like to see the speed I am driving, only using map, but no destianation, is that posible and how.
Br/Ah, depending on how new the car model is, the speedometer is more accurate.
Anyway, as of the moment Ovi Maps is incapable of doing what you're asking. However you can however simply put the navigation volume at 0, set a random destination and drive around. Just ignore the blue line in the navigation.
You do know where you are going, so why dont you just set that as the destination when you drive? I mean, that's what the Nav system is for right?
If you find my post helpful please click the green star on the left under the avatar. Thanks. -
How to show the chart(of report header) in drill down tab
Hello all,
i have a subreport with a chart in report header,which has drill down functionality, my requirement is the chart should be visible in drill down tab.
thanx in advance.Hi,
I believe you need to go into File --> Report Options and select 'Show All Heades On Drill Down'.
Michael. -
XML tag for dia of PIE chart in Oracle 9i Report Devloper
Hi ,
I'm using Oracle 9i reports Devloper and facing some problem with the controls in pie Graph. We are trying to do this by modifying DTD for graph in XML. Need of the hour is to increase the dia of pie graph. Can anyone suggest which XML tag to be used for the same.
Attaching herewith DTD for the graph.
***************DTD FOR GRAPH START****************************
<rw:graph id="CT_1" src="G_Graph" series="Heading" dataValues="No_Of_Scripts2">
<!--
<?xml version="1.0" ?>
<Graph version="2.5.0.5" graphType="PIE" depthAngle="0" depthRadius="4.5" pieDepth="0" markerTooltipType="MTT_NONE" pieTilt="0">
<DataviewFootnote foreground="#0" background="#ffffff"/>
<DataviewSubtitle foreground="#0" background="#ffffff"/>
<DataviewTitle foreground="#0" background="#0"/>
<LegendArea visible="false"/>
<O1Axis lineWidth="1"/>
<O1MajorTick lineWidth="1"/>
<O1Title textRotation="TR_HORIZ_ROTATE_90"/>
<PieFrame fillTransparent="false"/>
<SeriesItems>
<Series id="0" color="#000000"/>
<Series id="1" color="#333333"/>
<Series id="2" color="#666666"/>
<Series id="3" color="#999999"/>
<Series id="4" color="#cccccc"/>
<Series id="5" color="#FFFFFF"/>
</SeriesItems>
<SliceLabel textType="LD_TEXT_PERCENT">
<ViewFormat decimalSeparatorUsed="true" decimalSeparator="." decimalDigitUsed="true" decimalDigit="0"/>
<GraphFont name="Arial" size="11"/>
</SliceLabel>
<X1Axis lineWidth="1"/>
<Y1Axis lineWidth="1" majorTickStep="15.0"/>
<Y1MajorTick lineWidth="1"/>
<Y2Axis lineWidth="1"/>
<Y2MajorTick lineWidth="1"/>
</Graph>
-->
</rw:graph>
***************DTD FOR GRAPH END****************************
SantoshPrakash
We are currently working on better BI Graph bean xml documentation, so today all you have is the graph.dtd which is located in the bigraphbean.jar.
Thanks
The Oracle Report Team
Maybe you are looking for
-
My device is not recognized by my computer
My computer is not recognizing the device I plagged in. It's an ipod nano 7th. for a month no trouble till now. Got a new cord and still same problem. Any ideas on what to do?
-
Updated to IOS 5 and my apps are gone and I cant manually put them back on
i updated my 4th gen iPod touch to IOS 5 and it wiped most of the apps from my ipod. On itunes it shows that they are they but they won't show on my ipod. I tried to manually add them back on with the app store and it says that it is already instal
-
Upper Limit in % for Tolerance Key AN in OMR6 transaction
Hi All, I have to maintain upper limit in %age terms for Tolerance Key AN (Amount for item without order reference) in OMR6 (Tolerance Group for Invoice Verification) transaction in ECC 6.0 system. But the system is not allowing the same. When I open
-
Download Software That's Not from VZW
How do you download software to the Android that's not from Verizon? When I attempt to download - it tells me that there is a block. Is there a way to remove the block? If yes, please provide instructions. Thanks
-
TS3899 unable to open my mail messages
How do open your mail and view the entire message?