How To Use For 2d Interactive Graphics
Apr 21, 2010
I'm using asp.net with vb.net on my web application. I also have an SQL database which I need the 2d graphical "game" page to communicate with. Which programming language would be best for this? The user has to be able to click on an item and retrieve information from the SQL database, I don't know if java can link up with SQL
View 4 Replies
Similar Messages:
Dec 6, 2010
I've uploaded a simple Azure website (am testing out authentication) and have found this:http://mateerweb.cloudapp.net/ (live for next 12 hours or so!)Its supposed to look like this:Problem: How to get the live version looking like the test one on every deploy. After a recompile sometimes it works..
View 1 Replies
Jan 10, 2011
I have the following list of fonts:I have no issues with using them vianew Font("XXXX Sans", 21, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel)However, what do i do when i need to use a non-standard font style like light? All that is provided is an enumeration and that is not suitable.
View 1 Replies
Feb 6, 2010
how to get the best software to use for the following?
(i) Web graphics: Apart from Photoshop what is the best easy to use program (minimum learning curve)for producing quality drawings suitable for a website?I know that there are many graphic programs around but I want one that is easy to use and produces QUALITY drawings.
(ii) Animations: Similarly I am looking for an easy to use animation program. I have used Flash before but I feel that there is a steep learning curve. Is there a better program out there?
View 3 Replies
Dec 1, 2010
I can remember reading something on this in a book but I can't remember. How do you ensure that certain graphics have been loaded to the users computer before any of the page is rendered?
View 2 Replies
Jan 9, 2011
I have a CalendarExtender that links to Textbox. I can get the calendar to appear below the textbox when the textbox is clicked. That works fine. However, when the calendar appears, I can still see other textboxes/labels/etc. along with the month. This isn't right. The month's graphic should be opaque and I shouldn't see other textboxes or labels or whatever was there. As it is it's difficult to see weekday or dates on the calendar since it's being mixed with labels and textboxes. Why is it doing this?
View 2 Replies
May 14, 2010
Can we Make Graphs To display the data in graphics in asp.net?
View 2 Replies
Feb 11, 2011
i had draw a graph, however i want to display it. can display it to literal?
below is my coding:
' Create an in-memory bitmap where you will draw the image.
' The Bitmap is 300 pixels wide and 200 pixels high.
myImage = New Bitmap(1200, 1200, pixelFormat.Format48bppRgb)
' Get the graphics context for the bitmap.
g = Graphics.FromImage(myImage)
g.DrawString(I_fault_all2(i), New Font("Verdana", 12, FontStyle.Bold), Brushes.Black, xInterval * i + 50 + (width / 3), 500)
g.DrawString(I_total(i), New Font("Verdana", 12, FontStyle.Bold), Brushes.Black, xInterval * i + 50 + (width / 3), 500 - height - 25)
' Draw the axes
g.DrawLine(Pens.Blue, 30, 10, 30, 500)
' y-axis
g.DrawLine(Pens.Brown, 20, 500, 490, 500)
' x-axis
here is the coding i don't want as display as below, because it will go to a new screen without header and template.
[Code]....
View 1 Replies
Apr 21, 2010
I'm trying to render some text into a specific part of an image in a Web Forms app. The text will be user entered, so I want to vary the font size to make sure it fits within the bounding box.
I have code that was doing this fine on my proof-of-concept implementation, but I'm now trying it against the assets from the designer, which are larger, and I'm getting some odd results.
I'm running the size calculation as follows:
StringFormat fmt = new StringFormat();
fmt.Alignment = StringAlignment.Center;
fmt.LineAlignment = StringAlignment.Near;
fmt.FormatFlags = StringFormatFlags.NoClip;
fmt.Trimming = StringTrimming.None;
[Code]....
Now I have two problems.
Firstly, the text sometimes insists on wrapping by inserting a line-break within a word, when it should just fail to fit and cause the while loop to decrement again. I can't see why it is that Graphics.MeasureCharacterRanges thinks that this fits within the box when it shouldn't be word-wrapping within a word. This behaviour is exhibited irrespective of the character set used (I get it in Latin alphabet words, as well as other parts of the Unicode range, like Cyrillic, Greek, Georgian and Armenian). Is there some setting I should be using to force Graphics.MeasureCharacterRanges only to be word-wrapping at whitespace characters (or hyphens)? This first problem is the same as post 2499067.
Secondly, in scaling up to the new image and font size, Graphics.MeasureCharacterRanges is giving me heights that are wildly off. The RectangleF I am drawing within corresponds to a visually apparent area of the image, so I can easily see when the text is being decremented more than is necessary. Yet when I pass it some text, the GetBounds call is giving me a height that is almost double what it's actually taking.
Using trial and error to set the __minimumSize to force an exit from the while loop, I can see that 24pt text fits within the bounding box, yet Graphics.MeasureCharacterRanges is reporting that the height of that text, once rendered to the image, is 122px (when the bounding box is 64px tall and it fits within that box). Indeed, without forcing the matter, the while loop iterates to 18pt, at which point Graphics.MeasureCharacterRanges returns a value that fits.
The trace log excerpt is as follows:
Decrementing font size to 24, as size is 193×122 and limit is 212×64
Decrementing font size to 23, as size is 191×117 and limit is 212×64
Decrementing font size to 22, as size is 200×75 and limit is 212×64
Decrementing font size to 21, as size is 192×71 and limit is 212×64
Decrementing font size to 20, as size is 198×68 and limit is 212×64
Decrementing font size to 19, as size is 185×65 and limit is 212×64
Writing VENNEGOOR of HESSELINK in DIN-Black at 18pt, size is 178×61 and limit is 212×64
So why is Graphics.MeasureCharacterRanges giving me a wrong result? I could understand it being, say, the line height of the font if the loop stopped around 21pt (which would visually fit, if I screenshot the results and measure it in Paint.Net), but it's going far further than it should be doing because, frankly, it's returning the wrong damn results.
View 2 Replies
Jun 2, 2010
I'm trying to rescale uploaded jpeg in asp.netSo I go:
Image original = Image.FromStream(myPostedFile.InputStream);
int w=original.Width, h=original.Height;
using(Graphics g = Graphics.FromImage(original))
{
[code]...
View 2 Replies
Oct 3, 2010
I was wondering how to be able to develop an interactive pop out box that enables users to be able to have checkboxes and buttons in the pop out box.
View 2 Replies
Oct 4, 2010
I was wondering how do I make a pop out box that has interactive controls in it such as buttons or checkboxes in Visual studio, I am using VB script.
View 5 Replies
Oct 23, 2010
What i want to do is something similar to this:[URL], Drag, info, etc)Whats the best way to do it?
View 1 Replies
Nov 19, 2010
Any good starter-kits / examples showing some simple interactive animations in a web page? Is additional software required?
View 3 Replies
Feb 5, 2010
I have a JPEG with of a tree in a HTML page.I have events that fire when the mouse rolls over properties of the tree. Leaves, branch, trunck, root.When the mouse event if fired, descriptive text pops up below the JPEG explaining the leaf or whatever.I wish that the JPEG cant be downloaded, and the text cant be copied, so read/view only.
View 2 Replies
Jan 11, 2011
I would like to know how to build interactive dashboards using sql server reporting services. I am using the .rdl reports where I can generate a static gauge report but I want my user to interact with gauge at runtime to see its effects .I hope am making myself clear.
View 1 Replies
Jul 27, 2010
What i want to do is something similar to this:[URL], Drag, info, etc) Whats the best way to do it?
View 1 Replies
Apr 20, 2010
I am trying to make some sort of map, where users can select a coordinate on it, and get certain information about it. (it's for a game). Is there anyway to do this in vb.net/asp.net?
View 5 Replies
Jun 2, 2010
Is there any way to unsort a sorted report without refreshing it? For example we a provide the interactive sorting feature in some of our reports and one of the user is requesting for the data to go back to the original unsorted condition, after he sortsit. We have recommended the option to refresh the report but according to the user it takes too long. Does any one know of any unsort feature or code for SSRS 2005 that will do the job without refreshing the whole dataset?
View 1 Replies
Jun 11, 2010
I want to create an interactive website using aspx and ajax, that there will be an option to create chess game room for example and other players will be able to join.
I have 2 Questions:
how can I make that after one player clicks on a button and finish his turn, the other player will be able to do a move. After the first player finish his turn I will change the turn by using the database, but the point is how can I refresh the other player's site so when the other one finish his turn, the turn will come to the second player? When someone creates a room and than close his browser - I need that room to be closed. Shall I use the Session_OnEnd to close the room he opened?
View 2 Replies
Nov 15, 2010
I want to create chart using Google Chart Interactive with ASP.NET and C# I was found this example http://code.google.com/apis/visualization/documentation/using_overview.html but i find problem how to i Integrated this with c# and how to integrate data from c# to javascript..can someone hint me what I should do?
View 2 Replies
Jun 2, 2010
I'm trying to implement Google Interactive chart inside an updatepanel.
The regular Google Charts do work (I think because there I'm just calling an URL).
But now I want the interactive chart inside an updatepanel within a tabcontainer etc. But now the request to Google is made, resulting in an infinitely loading white page to Google.
How can I get this to work?
See my FULL code below.
.ASPX
[code]....
View 8 Replies
Jul 29, 2010
I want to make a bar chart from the google analytics data. Current implemetation of the bar chart in my site is by See Analytics I am developing an ASP.NET website and this See Analytics is using PHP and jQuery to conjure the chart. It is also paid. What my client would like is a similar tool that draws chart from analytics, without a PHP Component in it. ie. A similar tool using ASP.NET and jQuery/javascript. What I would like is to get that tool for free(open source).
View 3 Replies
Jun 30, 2010
I am looking for a charting tool to generate charts in my ASP.Net page which will allow me to customize the charts to a great extent like changing the background of chart, specfying custom x and y axis and much more.Moreover, another major requirement is that the chart should be interactive enough. I would like to select data points on my chart, select a range of data points on charts by making a selction with mouse clicks and use these selections for further processing.
View 2 Replies
May 8, 2010
Is there any way to unsort a sorted report without refreshing it? For example we a provide the interactive sorting feature in some of our reports and one of the user is requesting for the data to go back to the original unsorted condition, after he sortsit. We have recommended the option to refresh the report but according to the user it takes too long. Does any one know of any unsort feature or code for SSRS 2005 that will do the job without refreshing the whole dataset?
View 1 Replies