I'm using the asp.net charting control, and liking it for the most part. However, I would like my charts to size with the panels they are contained in. I cannot set the width of the chart to 100%, I have to give them an exact size. I don't want to stretch and distort the rendered chart image.
Does anyone have an example of how I might...
Okay, so if I had a project that used:
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Color;
import java.awt.Polygon;
Would it make the Class file smaller to use:
import java.awt.*
I'm thinking against it because I'm importing a lot of things I don't need. I'm ...
Hi, I'm new to jquery and even javascript. I'm trying to create a system where you can edit very simple, static page by logging in and just dragging and resizing divs. The system works to the point where you get to edit the site, but the problem is how to save the coordinates and sizes of the divs.
The system doesn't use mysql, since t...
I am currently working with Panels in WPF, and I noticed that as regards the Width and Height properties, there are also two other properties called ActualWidth and ActualHeight.
ActualWidth
Gets the rendered width of this
element. This is a dependency
property. (Inherited from
FrameworkElement.)
Width
Gets or se...
Is there some way to delay defining the size of an array until a class method or constructor?
What I'm thinking of might look something like this, which (of course) doesn't work:
class Test
{
private:
int _array[][];
public:
Test::Test(int width, int height);
};
Test::Test(int width, int height)
{
_array[width][he...
Suppose the overall dll size is 100M, here are the 2 cases:
100M * 1
10M * 10
Will their be much performance impact when using many small sized DLLs? why?
We did a testing recently but didn't detect much performance difference between the 2 cases, I am not sure if there are some wrong steps with my testing or this is the fact.
...
I have read several times that after you delete a row in an InnoDB table in MySQL, its space is not reused, so if you make a lot of INSERTs into a table and then periodically DELETE some rows the table will use more and more space on disk, as if the rows were not deleted at all.
Recently I've been told though that the space occupied by ...
Hi there,
I worked with ESRI shapefile format right now and i have some problem with changing/editing database field size. I created a field with 200 length/size and now i want it to only 80 length/size (space & other improvement).
However i can't edit field size anymore :( can somebody point out how to change the field size?
Btw i ha...
Is there some hard and fast rule about how big is too big for a SQL table?
We are storing SCORM tracking data in a name/value pair format and there could be anywhere from 4-12 rows per user per course, down the road is this going to be a bad thing since there are hundreds of courses and thousands of users?
...
I have a legacy firmware application that requires new functionality. The size of the application was already near the limited flash capacity of the device and the few new functions and variables pushed it over the edge. Turning on compiler optimization does the trick, but the customer is wary of doing so because they have caused failure...
I have very large images (jpg) and i want to write a csharp program to loop through the files and reduce the size of each image by 75%.
I tried this:
Image thumbNail = image.GetThumbnailImage(800, 600, null, new IntPtr());
but the file size is still very large.
Is there anyway to create thumbnails and have the filesize be much small...
I know we can monitor heap size manually by ,
"Show heap status" under Window -> Preferences -> General
So is there anyway to say automatically grab the highest memory used in my eclipse plug-in?
This would be convenient to me because my plug-in could run for a long time and monitoring manually is not feasible.
Thanks
...
What does the slash mean here: "font-size: 100%/120%"?
...
I'm trying adding my own toolbar icon to Internet Explorer but am unsure what size it should be.
The Designing Toolbar Icons for Internet Explorer articles on TechNet indicates 20x20 and 16x16 pixels.
Messages (1, 2) in the Internet Explorer Toolbar (Deskband) Tutorial at Code Project imply 22x22 and 16x16 pixels.
Using Internet Expl...
I got a problem with the java heap space while using servlets in netbeans5.0 and got a solution to resolve it too,they asked to change the VM options of run category in the project properties.But,i couldnt find such option in my properties.Please do tell me what to do with this error. This is the picture of my project properties.
...
I'm looking for drag/size handle implementations or explanations.
Perhaps I'm using the wrong nomenclature, but I mean the "handles" that appear around an object (mostly in drawing programs) when you select it and want to perform an operation on that object such as rotate, size, scale, etc...
Can anyone point me to an OSS implementatio...
I want to make a website that fills the pagewidth to 100% for all widths (available space) lower or equal to 1280px and for all widths greater than 1280 two filling side bars should appear (like this: |fill|website|fill|).
(How) can i do this without scripts? (by using css settings?)
...
I want my Silverlight app to fill the entire browser window. I've set the plugin object width and height to 100%, and set my LayoutRoot container's height and width to Auto, but still no luck. Any suggestions?
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Silverlight ID="Silverlig...
While debugging something, I saw the STL vector::empty() implementation:
bool empty() const
{return (size() == 0); }
I believe, whenever we are probing the emptiness of vector it is always recommended to use empty over size(). But seeing that implementation, I am wondering, what is the benefit of doing so? Instead, there is a fun...
When I save a page from my web site about Mother Teresa - http://www.peopleforever.org/nfhomepage.aspx?nfid=41 it takes up 1.73mb which is HUGE!
A similar wikipedia page takes much lesser. I understand I have a lot of images so it should take more space, but so much more?
When I save, I see the following files:
ScriptResource_002.js -...