A problem with the display in a form with a ScatterGraph
Hi all!
Now, I want to do an image that can be expanded outside and inside with the viewport in a form with a ScatterGraph window. I tried previously to do this picture as a backdrop, but the backgroundpicture cannot be zoomed with the display window. How can I solve this problem?
Here is the picture:
Or I have to calculate a large amout of points to sign on the coordination of xy without the image, and how can I register quickly because it takes a long time to calculate.
Hello
You can zoom/dΘplacer an image as well as the plot in charts. Here is a snippet of code showing how you can do it.
Normal
0
fake
fake
fake
EN-US
X NONE
X NONE
MicrosoftInternetExplorer4
/ * Style definitions * /.
table. MsoNormalTable
{mso-style-name: "Table Normal";}
MSO-knew-rowband-size: 0;
MSO-knew-colband-size: 0;
MSO-style - noshow:yes;
MSO-style-priority: 99;
MSO-style - qformat:yes;
"mso-style-parent:" ";" "
MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
MSO-para-margin-top: 0;
MSO-para-margin-right: 0;
MSO-para-margin-bottom: 10.0pt;
MSO-para-margin-left: 0;
line-height: 115%;
MSO-pagination: widow-orphan;
font-size: 11.0pt;
font family: 'Calibri', 'sans-serif ';
MSO-ascii-font-family: Calibri;
MSO-ascii-theme-make: minor-latin;
mso-fareast-font-family: "Times New Roman";
mso-fareast-theme-make: minor-fareast.
MSO-hansi-font-family: Calibri;
MSO-hansi-theme-make: minor-latin ;}
table. MsoTableGrid
{mso-style-name: "Table Grid";}
MSO-knew-rowband-size: 0;
MSO-knew-colband-size: 0;
MSO-style-priority: 59;
MSO-style-unhide: no;
black border: solid 1.0pt;
MSO - border - themecolor:text1;
MSO-border-alt: solid black .5pt;
MSO - border - themecolor:text1;
MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
MSO - border - black insideh:.5pt United.
MSO-border-insideh - themecolor:text1;
MSO - border - black insidev:.5pt United.
MSO-border-information - themecolor:text1;
MSO-para-margin: 0;
MSO-para-margin-bottom: .0001pt;
MSO-pagination: widow-orphan;
font-size: 11.0pt;
font family: 'Calibri', 'sans-serif ';
MSO-ascii-font-family: Calibri;
MSO-ascii-theme-make: minor-latin;
MSO-hansi-font-family: Calibri;
MSO-hansi-theme-make: minor-latin ;}
Image img = in pixels, this is the place RectangleF initialRectangle = Rectangle.Empty; in the data, to map coordinates the XRange range; Range yRange; Private Sub PlotMyData() { plot your data here xData double [] = new double [] {3, 5, 7, 5, 8, 3, 7, 8, 2, 6}; Double] scatterGraph1.PlotXY (xData, yData); xRange and yRange define the plot area limits left-top to bottom-right xRange = new range (xAxis1.Range.Minimum, xAxis1.Range.Maximum); yRange = RecalculateImageBounds(); } Simply map the data coordinates posts from the top left and lower right must be mapped. Private Sub RecalculateImageBounds() { PointF initialRectangle.Location = initialRectangle.Width = size. X - initialRectangle.Location.X; initialRectangle.Height = size. Y - initialRectangle.Location.Y; } Just draw the image. Private Sub scatterGraph1_BeforeDrawPlot (sender As object, BeforeDrawXYPlotEventArgs { RecalculateImageBounds(); e.Graphics.DrawImage (img, initialRectangle.X, initialRectangle.Y, } |
Make sure that the image is of good quality so that you can zoom in pretty close.
I hope this helps.
Tags: NI Software
Similar Questions
-
I just tried to open Photoshop CS6 and received the message that photoshop has encountered a problem wth the display driver and has disabled the improvements by using graphics hardware. Where can I access the update to fix the problem because the link does not show?
You will have to go the website of the manufacturer of your graphics card and download the current drivers.
-
Problem regarding the display of the Table
Hello
I have a problem with a Table in OAF... According to the condition if we have no action on the Table we should display the same view in the table... (Because let's assume that we are in the fifth of the Table Page, even after the implementation of the action to submit we must stay on the same Page)... now when I play an action after the action is completed, we see the first view (Page) of the Table...
Please suggest me what needs to be done on this issue... I saw that the page is refreshed after submit action
Kind regards
DorisHello
Capture the event associated with the table column and returns the primary key of the row in the params of the event.
If ("rowevent". Equals (PageContext.GetParameter ("Event"))
{
obtain the primary key of this line
Chain of rowid = pageContext.getParameter ('primary key');
get the existing lines of the range
OAViewObject vo = (OAViewObject) am.findViewObject ("vo name");
Rank [] rows = vo.getAllRowsinRange ();
for (i = 0; i<>
{
Corresponds to the primary key that is captured with all the lines to find the corresponding row
If ("rowid".equals (lines.getAttribute("rowid").toString (()))
{
you get the line on which event has been triggered just out of the loopbreak;
}}
This way navigation will be won on the same range, as the event is triggered.
Thank you
Gerard -
Problem in the display of the values in the table
Hi all
I have data stored in the database in the form of comma and I want tot display these data in the table to the OFA.
Help, please. There is little urgency.
Best regards and thank youHello
To display values, you need create a transitional point of view and then create attributes according to your need,
In one of my projects, I did the same thing when I was storage sort order in a line while the OPS, I need to display it in the rows in the canton:
Pseudo code should look like this:
Public Sub getSortOrder()
{
OAViewObject VO = getSortOrdrerVO1();
Line line;
String s1 = "";
String s2 = "";
String s3 = "";
String s4 = "";
If (VO! = null)
{
line = VO.first ();
If (Row.GetAttribute ("SortOrder")! = null)
S1 = row.getAttribute("SortOrder").toString ();
If (Row.GetAttribute ("ColumnName")! = null)
S2 = row.getAttribute("ColumnName").toString ();
line = VO.next ();
If (Row.GetAttribute ("SortOrder")! = null)
S3 = row.getAttribute("SortOrder").toString ();
If (Row.GetAttribute ("ColumnName")! = null)
S4 = row.getAttribute("ColumnName").toString ();
System.out.println ("sort order:" + s);
}
OAViewObject VO1 = getAdvResultVO1();
Row1 row;
If (VO1! = null)
{
Row1 = VO1.first ();
Row1.SetAttribute ("SortColumn1", S2);
Row1.SetAttribute ("Order1", S1);
Row1.SetAttribute ("SortColumn2", S4);
Row1.SetAttribute ("Order2", S3);
Row1.SetAttribute ("SearchId", new Number (111));
Row1.SetAttribute ("UserId", new Number(-1));
Row1.SetAttribute ("SearchName", "Out Nouvelle1");
}}
Public Sub setSortOrder()
{
OAViewObject VO = getAdvResultVO1();
Line line;
String s1 = "";
String s2 = "";
String s3 = "";
String s4 = "";
If (VO! = null)
{
line = VO.first ();
If (line! = null)
{
If (Row.GetAttribute ("SortColumn1")! = null)
S1 = row.getAttribute("SortColumn1").toString ();
If (Row.GetAttribute ("SortColumn2")! = null)
S2 = row.getAttribute("SortColumn2").toString ();
If (Row.GetAttribute ("Order1")! = null)
S3 = row.getAttribute("Order1").toString ();
If (Row.GetAttribute ("Order2")! = null)
S4 = row.getAttribute("Order2").toString ();
}
System.out.println ("sort order:" + s);
}
OAViewObject VO1 = getSortOrdrerVO1();
Row1 row;
If (VO1! = null)
{
Row1 = VO1.first ();
If (row1! = null)
{
If (s3! = null)
Row1.SetAttribute ("SortOrder", S3);
If (s1! = null)
Row1.SetAttribute ("ColumnName", S1);
Row1 = VO1.next ();
If (s4! = null)
Row1.SetAttribute ("SortOrder", S4);
If (s2! = null)
Row1.SetAttribute ("ColumnName", S2);
}
Row1.SetAttribute ("SearchId", new Number (111));
Row1.SetAttribute ("UserId", new Number(-1));
Row1.SetAttribute ("SearchName", "Out Nouvelle1");
}}
Hope this will help, for any clarification on the code, you can call me.
Kind regards
Out Sharma -
Problem in the display of the icons on the screen of the device
Hello
I want to add labels or icons of the image on the screen of the device. I did it through canvascomponent.
But the problem is when I run the application I got the label or the icons before the opening of the screen of the device. So, is it possible to set the position of the label on the screen?
When I run the app I got the screen of the device and labels at the same time?
I found the solution...
-
Problem in the display of records in table
Hello
I created a table and set the property of records displayed as 10. but the controller I dynamically insert a row into the table at index 0.
So every time the vo returns more than 10 lines, the table displays last record first. Suppose that the vo returns 11 records, then on the page, I am able to see
only the last record 11th IE, so I must navigate to see the first 10 records in the table. My requirement is I want to see first 10 records. PLs help me.use oaviewobject.setRangeSize(-1);
oaviewobject.executeQuery front (); Statement -
I have acquired a 'ancient' manual to a value... includes a floppy disk MS-DOS; have a portable driver to download the disc; DNLD'd in a file zip - BUT, I have absolutely no idea on activation of the content of the file to open, and then convert them compatibly to save or burn to a CD. Thank you, I got the laptop driver for some old files to disk; It is written in MS-DOS which, unfortunately, I'm illiterate! I can't afford to buy Live services at this time and appreciate any guidance available! THX! I imagine that there is a simple solution that allows readable disk file open & save in a format for future use?
I often qualify of "Mrs. slo-lo-tek" & am grateful for any help that is available. Thank you!
Hello
I think you can try to follow the link to the zip/unzip a file or a folder.
http://Windows.Microsoft.com/en-us/Windows-Vista/compress-and-uncompress-files-ZIP-files
In order to burn the files to a disk, you can check the given link:
-
Alguien como fits can be contactar con Adobe?
-
Over the four days, I've lost two e-mail accounts:
1 * e-mail address is removed from the privacy *
2nd * e-mail address is removed from the privacy *
I went to www.windowslivehelp.com
I filled in all the information and answered all the question. I provided
the email address where I can be reached: * address email is removed from the privacy *
But when I click on submit
"The display shows:" Server error
500 internal Server Error. There is a problem with the resource you
can are looking for, and it cannot be displayed' you explain or tell me
How can I return my email accounts. Thank you and best regards
B.Okediji sanogo
{deleted}
E-mail address is removed from the privacy *.
Hi Zacheus B.Okediji,
1. what web browser do you use?
2. when the problem started?
The website you are visiting had a server problem preventing the display of the Web page. It often occurs due to maintenance of the site, or due to a programming error on interactive websites that use scripts.
For more information, see the following article:
Get help with the Web site (HTTP error) error messages.
If you use Internet Explorer, you can read the following article and try steps 2, 3 and 4 to solve the problem.
Internet Explorer is slow? 5 things to try
Note: Resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.
You can also visit the following links to support Windows Live:
"Server too busy", "Internal Server Error" and we do little maintenance to improve the service.
Internal server error when trying to open hotmail
Hope this information is useful.
-
E120 problems with the display, which is compensated at a weird angle?
Hi, I recently started to get a problem where the display is functioning normally but its basically moved to the left and down a little. So I do not see my bar start and also to the right, there is just a black ribbon.
When I press print screen, it appears as a normal image and I took a picture to show what I mean.
I tried to restart, turn, enabled for updates, the display resolutions is changing and nothing has worked. I googled but could not find the same problem.
I did not do anything differently where he worked, stop one night and the next day, I got a funny display problems.
Would be very happy if someone is able to help him with this. Thank you in advance.
Solution found!
It was a cable from the screen. After you remove the keyboard and palmrest, disconnect the cable from the screen, clean connector and it log the issue had disappeared.
-
measurement on the display of the tds5034 Tektronix OScilloscope
I collect data from the Oscilloscope with the Tektronix TDS 5034. I have a problem on the display a light, as on his screen, I know not the appropriate query to use, is there at - he know how to display such a thing? I already read the programming guide, but I can't find any command. or if you you see me just the "query" to show on the oscilloscope screen, because now I know mannualy go to settings of measure of CSOs. just to show them
Thank you..
I have this Programming Guide , but I can't understand the correct query,
I just tried this query, but gives me error rather expect the display on the screen of the OSC, , I also try to add CH
before measurement: MEAS1:TYPe AMPlitude; but I get the error in the code entry VISA:-1073807339
-
Hello all-
I'm looking for more help with an acquisition of data USB-6341 X series. I am trying to acquire samples N at a specified sampling rate, using a very basic interface of Labview 2012 on a Windows 7 machine - front panel is a waveform graph, and the block diagram is the DAQ Assistant wired the chart (I change the number of samples and the sampling to the DAQ Assistant interface). If I choose the number of samples and the sampling rate that multiply on in 10 seconds or less, I have no problem. 10 samples, 1 Hz? Ok! Samples of 10K, 1 K hz? Don't panic!
If I chose a number of samples and the pair of rate which is equivalent to more than 10 seconds? Error 200284, 'some or all the requested samples aren't yet vested."
Continuous in Labview, or looking at the test panels, testify without problems. The displayed voltage works with the digital display on the instrument that I'm sampling, so other that do not take data for more than 10 seconds, everything seems to work.
Source of any reflection on a problem or difficulty?
Any help will be appreciated.
John
Additional parameters of timing under the "Advanced Timing" tab and increase the time-out...
-
Problems with conversion of number chain
I try to display a receipt, after that some items have been added.
The application works well for an article, but when I add more than one, it displays a different value of what should be.
I also have problems in the display of the element of the second and third.
Can someone help me solve this vi?
Thanks in advance!
I found the error. The mistake was made in the conversion of a string to a number. I just used Fract/Exp chain to the number, and it fixed the problem I had.
-
As a plug-in? I have problems with an editable IRS form. It gives me "Access denied" and then opens the file as an editable file. I was able to open the form in the library.
I found a few other questions on this forum who have remained unanswered. I found a site citing the problem for drive X - I use XI.
Change to drive XI. Perhaps the reader at the library had this as its default setting.
- In Adobe Reader, clear the check box enable the Mode protected at startup :
- If you have a PDF open, right-click the document, and then click Page Display Preferences.
- If you open Adobe Reader from the shortcut, click on Edit > Preferences.
- In the categories dialog box Preferences pane, click (enhanced) protection, and then clear the box enable the Mode protected at startup .
- Close and reopen Reader.
I have no idea if that setting has been changed in my XI player since I used this version exactly one year ago.
- In Adobe Reader, clear the check box enable the Mode protected at startup :
-
Hello
I have a problem with the plugin save before exit that I downloaded from Skillbuilders. As I use Oracle APEX version 4.0.2 and Oracle 10 g r2 database; so I downloaded one that says "Save before release (version 3.0.1 for APEX 4.0)" skillbuilders and follow-up of their documentation to import the plugin and use it.
My problem is that even if I do not make any changes to data in the form and go to another tab. the alert message always appears, and by the way, I have an element of list manager on my form and it gets highlighted. So, even if I make the changes or do not change; still, the alert message is displayed and highlights the element of list manager. I think maybe the problem is to have a crèche in the form list item. I have reproduced the same problem in my personal workspace. Here are the details.
http://Apex.Oracle.com/pls/Apex/f?p=55129
Details of the workspace
Name of the workspace: raghu_workspace
username: orton607
password: orton123
App # 55129
Page: 2 - has the element of list manager.
Page 3 - works fine without the element of list manager
Please help with possible suggestions.
Thank you
Orton
Orton,
I have connected to the workspace you and added a replacement JS file that corrects this error.
If please, give it a whirl and let me know if you find other problems with it.
It is to the 3.0.2 version of the plugin and I do not know if this even fix will work for your local Apex version earlier.
When you are ready to go to the APEX 4.0.2 Please contact me directly for assistance. In the meantime, I'll work on the creation of a patch for this kind of new downloads of the plugin will contain this change.
Greg
Maybe you are looking for
-
What memory can I use in Satellite M40-184?
This memory module to add for laptop Toshiba Satellite M40-184?
-
Unable to connect to the printer via IP address
I changed my ISP (internet service provider) and therefore changed routers - now unable to connect to the printer.I put a static IP address on my HP Photosmart B110a printer before we changed to ISP because there are connection problems. When we were
-
E3000 resets occasionally wired port when connecting to the VPN PPTP using Windows 7.
I've had an E3000 for a few months now and a couple of times per week that the router loses wired Ethernet connectivity while PPTP VPN connects via Windows 7. The router does not actually resets itself... but darkens light of wired connection, the co
-
HP pavilion g6 bluetooth problem
Hello. I have hp pavilion 2211et g6 I installed win 8.1. and installed all the drivers. But I can not activate bluetooth device. Wi - fi device does not work correctly. In the list of devices, a device is "unknown device". Perhaps this bluetooth devi
-
BlackBerry Smartphones multimedia 8 GB not recognized
I got a 8 GB MicroSD memory card and inserted into my Blackberry Pearl 8130. It worked very well and was able to record videos, take pictures, store images and video on the map of support, etc. Suddenly, I tried to access things through my PC, then