Plot chart in this way
Hi EveryOne,
I need some help ,i want to get chart in this way , me not
getting the idea how to do it.
me giving the url please check it out .
Thanks in avance.
http://www.profiler.noaa.gov/npn/servlet/TimeSeriesServlet?beam=1&bgndColor=-w&blpprofiler =0&endtimemdyhm=&mode=3&periods=12&product=WINDS&profiler=AZCN5&res=60&devdir=%2Fdata%2Fda taserver%2F&devdir=%2Fdata%2Fvaughn%2F&server=NETCDF&size=800%2C550&qc=0&momentscaler=1&wi ndscaler=1&windunits=m%2Fs&quality=gif&rassmax=35&rassmin=-20&timedirection=right2left&min height=-10000&maxheight=-10000&minheightagl=-10000&maxheightagl=-10000&htunits=m&rassunits =c
i have written a getField to get the value of a form field procedure but how can I write a setField procedure??
Create or Replace PROCEDURE KOEN.PROC_SET_FIELD
(OBJ_NAME IN VARCHAR2, OBJ_VALUE IN VARCHAR2)
pl/sql procedure Koen V. (with embedded javascript) to get the value of a form field by passing the name of that field (in the same way you can write such a procedure to set the value of a form field by passing the field's name and value
as
v_obj_name VARCHAR2(255);
begin
v_obj_name := '.' || OBJ_NAME || '.';
htp.htmlOpen; htp.headOpen;
htp.p('<script language = "JavaScript1.2">');
htp.p('for (i=0; i < document.forms[0].length; i++)');
htp.p('{');
htp.p('var v_name = document.forms[0].elements.name');
htp.p('if (v_name.indexOf("' || v_obj_name || '") != -1)');
htp.p('document.forms[0].elements[i].value = "' || OBJ_VALUE || '";');
htp.p('}');
htp.p('</script>');
htp.headClose; htp.htmlClose;
exception
when others then
null;
end;
greets,
Koen
Similar Messages
-
Charting / custom plot chart advice?
Hi, I'm trying to build a customized chart in Flex that might
be a bit over my current skill level so I was hoping I could get a
tip how to approach this. Essentially it will be a plot chart with
an associated data table. The plot chart will have only one series
of data but each point on the chart shall indicate a range. Instead
of having two dots on the chart (2 series) that indicate the lower
and higher bound, I want to have, in essence, two dots that are
joined by a wide long bar. If that's too hard I might go for just a
thick bar going from lower bound to upper bound. I believe this
should be done with just one data series indicating the upper and
lower value because both values really belong together. The user
would click anywhere on that bar to select it. So there is only one
item to interact with per point and therefore there is also only
tooltip for both. The bars are not evenly spaced out but based on
date information, so I'd use a Data-Time axis horizontally and a
regular linear axis vertically.
I believe the right way to build this is a custom renderer
for the actual datapoint and that's where I was looking for a
tip/advice. Is that hard to do? Is there some classes that I can
tweak into doing that for me without writing custom components or
such?
The other thing I want to achieve (after I solved this one)
is to have a data grid associated with the chart. When one data
item is clicked in the chart, the corresponding row in the table
gets highlighted, and vice versa, if the user clicks a row in the
table, the corresponding chart item is highlighted. I think that's
doable too, it's just a bit tricky with how the events are flying
around I think. But, as I said, first I need to figure out the
chart.
If anybody has some advice how I should approach that I sure
would appreciate it. I experimented around with Bubble charts over
a category axis for a while but I think it really should be done
with a plot chart over a time axis and maybe a custom renderer for
the data point.
Thanks a bunch!
AndreasHi AndreasD,
Can you please let me know if you were able to get solution to the below querry. My curent requirement is very close to what you have specified in the querry
Regards
Kalavati Singh
[email protected] -
Plot chart- embbeding a custom swf file
I'm currently using the plot chart element to display dynamic from a MySQL database. I decided I wanted to use a custom embedded swf file. The issue I'm running into is the way the swf file looks. Is there a way keep the original size (width/height) and not have to look deformed? Adjusting the radius only makes the swf "fatter".
Here is the code that I'm using:
<mx:series>
<mx:PlotSeries
id="plot"
xField="xfieldname"
yField="yfieldname"
radius ="45"
itemRenderer="@Embed(source='file:/C:/images/movie.swf')"
showDataEffect="slideUp"
/>
</mx:series>
</mx:PlotChart>Hi,
there are two very distinct things: one is to emit an actual swf, and the other one is to tell an existing swf to show something....
Now assume your user can choose a few symbols from the library and drag them around .... and imagine an xml file that liss the symbol name and its coordinates on stage as well as its scaling factor.
Next assume the user can click somewhere to type text ... and imagine the xml file to contain text entries with actual text, font size, and coordinates
I did something with AS2 following this scheme: a server script copied the existing swf and added an actionscript block equivalent to the above-mentioned xml file. I have not studied details of AS3 files enough to tell whether the same is possible with AS3, but I sort of believe that an xml string embedded as a byte string could be amended / replaced in a similar way -
Flex 3 : Contour Plot Chart
Hi,
I have been tasked with a project where a contour plot chart is required like the one below. Does anyone know how this coould be done in Flex or are there any third-party components available to do this?
Thanks very much for you help.
MartinHi Subeesh,
Thanks for the info but it's not a radar chart. What I am looking for is more like --> http://www.singleton-labs.com/mcharts.php
Martin -
Simple Flex Chart question - Plot Chart labels
I'm playing around with displaying data from WDA as charts in Flex 3.
I'm able to bind my internal table, which has 3 fields, to the plot chart.
The table looks like this
ext_id type string " bound to prjname in Flex
cost type string " bound to prjcost in Flex
benefit type string " bound to prjbenefit in Flex
These are all bound to my island's DataSource.
I have bound these in Flex and the Cost and Benefits are showing up as points on my chart. However, I can't seem to get the Project Name to display on the plot points. All I see when I mouse over the point is EXT_ID, and the values for cost and benefits.
The cost/benefit values are coming across correctly, just not the project name (ext_id) value. any ideas?
here's the Flex code for the chart
[Bindable]
public var dataSource:ArrayCollection;
[Bindable]
public var prjcost:String;
[Bindable]
public var prjbenefit:String;
[Bindable]
public var prjname:String;.
<mx:PlotChart id="plotchart1" dataProvider="{dataSource}" showDataTips="true">
<mx:series>
<mx:PlotSeries displayName="{prjname}" yField="{prjcost}" xField="{prjbenefit}" dataProvider="/>
</mx:series>
</mx:PlotChart>This is really a Flex question not an Islands specific one. I don't think the displayName properity is what you want to use here. This is the name for the entire series as it will be displayed in the legend. I think what you want is a dataTip. You register a callback for the dataTip rendering and then fill the custom dataTip quick info.
This is an example from a bar chart, but the theory is the same:
<mx:BarChart id="barChart" dataTipFunction="dtFunc" xmlns:mx="http://www.adobe.com/2006/mxml" type="clustered" width="100%" showDataTips="true" height="100%">
<mx:verticalAxis>
<mx:CategoryAxis categoryField="{SalesOrd}" dataProvider="{dataSource}" />
</mx:verticalAxis>
<mx:series>
<mx:BarSeries id="bsGross" xField="{grossAmt}" displayName="Gross Amount" dataProvider="{dataSource}" fill="{otdFill}" showDataEffect="{slideIn}" />
<mx:BarSeries id="bsNet" xField="{netAmt}" displayName="Net Amount" dataProvider="{dataSource}" fill="{rtyFill}" showDataEffect="{zoomIn}" />
</mx:series>
</mx:BarChart>
private function dtFunc(hd:HitData):String {
switch(BarSeries(hd.element).id){
case "bsGross":
return "Sales Order #: " + hd.item.SO_ID + "\n" + FlashIsland.formatNumber(hd.item.TTL_GROSS_AMOUNT) + " " + hd.item.CURRENCY_CODE;
break;
case "bsNet":
return "Sales Order #: " + hd.item.SO_ID + "\n " + FlashIsland.formatNumber(hd.item.TTL_NET_AMOUNT) + " " + hd.item.CURRENCY_CODE;
break;
return "Amount"; -
Hi experts,
In plotchart using cirlcular item renderer am getting full details.But instead of that one using customItemRenderer am unable to get full details.This is my customItemRender(CirlceFileRenderer ) action script class file
package
import flash.display.Graphics;
import mx.charts.series.items.PlotSeriesItem;
import mx.core.IDataRenderer;
import mx.skins.ProgrammaticSkin;
public class CirlceFileRenderer extends ProgrammaticSkin implements IDataRenderer
public function CirlceFileRenderer()
private var _chartItem:PlotSeriesItem;
public function get data():Object
return _chartItem;
public function set data(value:Object):void
_chartItem = value as PlotSeriesItem;
invalidateProperties();
override protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth, unscaledHeight);
var g:Graphics = graphics;
g.clear();
var col:Number = 0;
var x:Number = 0;
var y:Number=0;
//if(_chartItem!=null)
var obj:Object = _chartItem.item as Object;
//col = getColor(obj.Color as Number);
x= obj.Xdata as Number;
y=obj.Ydata as Number;
g.beginFill(col);
trace("X :"+x+" Y :"+y);
trace("_chartItem.x:"+_chartItem.x+" _chartItem.y :"+_chartItem.y);
g.drawCircle(_chartItem.x,_chartItem.y,1);
//g.drawCircle(x,y,1);
//g.drawRect(_chartItem.x,_chartItem.y,unscaledWidth,unscaledHeight);
// g.drawRect(x,y,1,2);
g.endFill();
public function getColor(x:Number):Number
if(x < 0.0)
return 0x000000;
else if (x < 0.125)
return 0x000088;
else if (x < 0.375)
return 0x0000FF;
else if (x < 0.625)
return 0x00FFFF;
else if (x < 0.875)
return 0xFFFF00;
else if (x <= 1.0)
return 0x880000;
else
return 0xFFFFFF;
Flex action script code is like this:
private function handleResult(event:ResultEvent):void
temparray = event.result as Array;
for(var i:int =0;i<256;i++)
var ta:Array = new Array();
var ar:Array = new Array();
ar = temparray[i];
for(var j:int = 0;j<288;j++)
// trace("a["+i+"]["+j+"] -:"+ar[j]+" Color:"+(Math.abs(ar[j])-131) / 20);
ta.push({Xdata:i,Ydata:j,Color:(Math.abs(ar[j])-131) / 20 });
var ps:PlotSeries = new PlotSeries();
ps.xField = "Xdata";
ps.yField = "Ydata";
//ps.radius = 1;
ps.setStyle("itemRenderer",new ClassFactory(CirlceFileRenderer));
ps.dataProvider = ta;
newarr.addItem(ps);
chart.series = newarr.toArray();
Am unable to find the problem.I didn't get full details in plot chart.
Please tell me this is urgent requirement....Hi,
what info you didn't get?
try this
public function set data(value:Object):void
_chartItem = value as PlotSeriesItem;
super.data = value;
invalidateProperties(); -
DataTip box to appear near the plot for Plot Chart
Hi,
I am using a Plot chart.
I use three Plot series for the chart.
I show the plots for one series at a time.
When I show the Data tips for each plot, I am getting a long line connecting the plot & the DataTip (as shown in attachment).
I would like the DataTip box to appear near the plot.
How to accomplish this ?
- SenThe bottom line is that it does not work reliably, Tim.
I had occasion to scan old Kodachrome slides (2x2" in cardboard mount), and placed identifying markers with "Talk Bubbles."
Open your picture file
Access the Custom Shape Tool (U). On the tool's option bar at the top next to "Shapes", click on the arrow and find the "Talk Bubbles" library. In that there are several shapes which you can drag into position. The shapes fill with the foreground color (see chips, lower left of work-space)
Next, use the Type tool for the name.
Note that you can position the shape and the name with the move tool, and resize with the corner handles of the bounding box -- the advantage of doing things in layers. -
How to provide different plor series for plot chart
How to provide different plot series for a Plot Chart.
The IDs of the series are given in a ComboBox controlSeries are stored in an array. If there is only one series, then you can change it simply by "pushing" a series into a new array, and then assigning that series array to the chart. If you are replacing one series in the chart series array, then you have to figure out which to remove and put the new one in.
This LiveDocs link may help:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_intro_7.html
If this post answers your question or helps, please mark it as such. -
External XML data for plot chart
Hi,
Can you provide the XML equivalent & the corresponding changes to be done in the below plot chart code :
<?xml version="1.0"?>
<!-- charts/BasicPlot.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"January", Profit:2000, Expenses:1500, Amount:450},
{Month:"February", Profit:1000, Expenses:200, Amount:600},
{Month:"March", Profit:1500, Expenses:500, Amount:300},
{Month:"April", Profit:500, Expenses:300, Amount:500},
{Month:"May", Profit:1000, Expenses:450, Amount:250},
{Month:"June", Profit:2000, Expenses:500, Amount:700}
]]></mx:Script>
<mx:Panel title="Plot Chart">
<mx:PlotChart id="myChart" dataProvider="{expenses}"
showDataTips="true">
<mx:series>
<mx:PlotSeries
xField="Expenses"
yField="Profit"
displayName="Plot 1"
/>
<mx:PlotSeries
xField="Amount"
yField="Expenses"
displayName="Plot 2"
/>
<mx:PlotSeries
xField="Profit"
yField="Amount"
displayName="Plot 3"
/>
</mx:series>
</mx:PlotChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:Panel>
</mx:Application>This does what you want.
If this post answers your question or helps, please mark it as such.
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="init();">
<mx:Script>
<![CDATA[
import mx.collections.XMLListCollection;
[Bindable] public var expenses:XMLListCollection;
private function init():void{
expenses = new XMLListCollection(XMLList(xml..dataItem));
private var xml:XML =
<data>
<dataItem>
<Month>January</Month>
<Profit>2000</Profit>
<Expenses>1500</Expenses>
<Amount>450</Amount>
</dataItem>
<dataItem>
<Month>February</Month>
<Profit>1000</Profit>
<Expenses>200</Expenses>
<Amount>600</Amount>
</dataItem>
<dataItem>
<Month>March</Month>
<Profit>1500</Profit>
<Expenses>500</Expenses>
<Amount>300</Amount>
</dataItem>
<dataItem>
<Month>April</Month>
<Profit>500</Profit>
<Expenses>300</Expenses>
<Amount>500</Amount>
</dataItem>
<dataItem>
<Month>May</Month>
<Profit>1000</Profit>
<Expenses>450</Expenses>
<Amount>250</Amount>
</dataItem>
<dataItem>
<Month>June</Month>
<Profit>2000</Profit>
<Expenses>500</Expenses>
<Amount>700</Amount>
</dataItem>
</data>;
]]></mx:Script>
<mx:Panel title="Plot Chart">
<mx:PlotChart id="myChart" dataProvider="{expenses}"
showDataTips="true">
<mx:series>
<mx:PlotSeries
xField="Expenses"
yField="Profit"
displayName="Plot 1"
/>
<mx:PlotSeries
xField="Amount"
yField="Expenses"
displayName="Plot 2"
/>
<mx:PlotSeries
xField="Profit"
yField="Amount"
displayName="Plot 3"
/>
</mx:series>
</mx:PlotChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:Panel>
</mx:Application> -
I bought iPad and I can not access, A message appears asking me account and password when i return to the person who I purchased it from him, he told me that he forgot the account and password
I want a solution to the problem, because in this way I will not benefit from the iPadThere is no solution. You have to provide the ID and password. There is no way around it. If the person you bought it from can't provide it, return it and get your money back.
-
When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....
Could some one give help and let me know where I can probably find the settings option that allows me to change and switch to previous situation where it was possible to decide time to time how to proceed either opening the file or saving it ??
Thanks in advance
DavidWhat is your operating system?
Open a PDF from where? If online, in what browser? -
When i turn on my macbook a box appears telling me i need to restart my computer (in different languages) and in order to do so i have to press on the off button for a lil while. Even after doing this the same box appears and it never restarts correctly. This box appears every single time. I rarely turn my computer off. I just place it on sleep mode and restarts it only when i get prompted to. I brought it to genius and they couldnt figure out what the problem is so i was told it needed to be shipped to get fixed. I didnt have anything backed up. All i want saved are the pictures because i went to 2 events where i was the assigned photographer and i didnt get to save it to an external memory. Genius said that when shipped i cant give instructions like make sure to save the pictures and if they are unable to, call me if they should go on with the process. I was wishful thinking that to fix the problem they might not even have to touch the pictures memory part. I brought my MBP back home hoping it will miraculously starts and id be able to back it up but now all it does when i turn it on is the screen remains gray with the apple symbol and the circle timer below. The screen stays this way even if i leave it on for hours. Please help me fix this!!! cant i really specify to the technicians at apple to please make sure not to erase the pictures? Is there no other way to turn on my mac? I only need it to work ones.
There is no limit to the number of times you can re-install Office on the same computer.
You can activate by telephone:
The last paragraph is the relevant bit -
I have 3 phones on one Icloud account. They have been this way for over a year. After an update last week one of the phones started getting messages for all of the other lines. We fixed this under the send and receive under settings. It was fine for a few days. Suddenly it started happening again. Yesterday after two hours on the phone I changed my apple id and it is still happening. Before that Verizon had told me to turn off my imessage when that happened I could not get any texts at all from other Iphone users.
Make 3 different iCloud accounts and use ONLY for iMessage. That will permanently fix your issue.
-
Looking for an information management solution. I have three boys that have brand new ipad mini's. I would like to set them up to manage information the easiest way.
My first thought was to use my apple ID for their apps and purchases. This would give me the advantage of seeing everything downloaded and be able to monitor this closely. The disadvantage to me, was that they would see all of my contracts, my apps, and my music.
My other thought was to create one new apple ID and to share that among the three boys. This way I would not have to worry about my information being on their ipads.
This is a very confusing situation for me. My goal is seperate my stuff from my kids stuff. Appreicate input from anyone who has in-depth experience with this as it applies to apple ID, icloud ID, and any detailed explaination of how to do this would be appreiciated. Thanks.I think I will do this. I will use my apple ID and set face time and message to work independently. That solves one problrem. My other problem and maybe my bigger problem is that if I am using my apple ID, how do I iflter all of this so that my kids don't see my contacts, get my apps, etc. ?
-
How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers? Until very recently
it did so. Contacts on my macbook pro does show up this way. I do have a mobile me account and in the past syncing was no problem. What setting has changed?The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format. When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.
Maybe you are looking for
-
Assign a matrix to a JTable? Possible?
OK. I will not know the incomming data matrix untill it is assigned. Is there anyway to put the following matrix into a JTable without a headache? All I see are examples of Object class variables assigned to JTables. If anyone knows how to make this
-
Printing Report on client printer
Hi, I am using oracle 9ids ( Oracle9i Developer Suite 9.0.2.0.1 ). I have an application which call a report from a form module. I run the application from another machine and that machine has a local printer installed on that machine. when I give de
-
How can i get pics from my 6225 to my pc???
photo's NEED to get off my old CDMA nokia 6225 but i have no idea how? is there software and a cable perhaps??? desperately need help with this one...is there any way to infra red to my pc i can bluetooth pics with my new mobile but cant seem to find
-
Java Session problem while sending mail(using javamail) using Pl/SQL
Hello ... i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure pls any help.
-
Unrecognized USB device on A30-151 in XP
After a clean install of WinXP Pro on a Satellite A30-151, a USB Device remains in the "Other" category (after installing audio, modem and graphics drivers) for which no drivers appear to be available on the drivers CD. At that point the "USB" catego