Forms Data Controls :: Auto Size Length Of X-axis When The Range Is High In Dunda Charts
Mar 22, 2010
There are dynamic values on x axis which can range from 1-100. I need to increase the size of X-Axis when the range is high, so as to display the data properly.
View 1 Replies
Similar Messages:
Mar 22, 2010
I have to display text values dynamically on Y-axis of a bar graph in Dunda charts.
Like Region 1, Region2 .....................
how can I do that?
View 3 Replies
Jan 1, 2013
I want to display the multiline chart for comparing two or more employee attendance in asp.net ... I am trying but I didn't get exact solution ....
View 1 Replies
May 20, 2010
This is my first attempt at paging on a listview. The first time my page loads it loads the listview fine, but when I try to use the paging I get the following error:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Here's my code:
[code].....
When I take the following line out I don't get the error, but i need it to populate my controls:
DataKey currentDataKey = this.lvReports.DataKeys[currentItem.DataItemIndex];
View 8 Replies
Mar 1, 2011
i am trying to do a really simple thing but it won't work...
[Code]....
this is the error i get
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
i can see different columns in gridview but when hidding gives me error
View 1 Replies
Jan 26, 2011
I have gridview like this.
[Code]....
is index was out of range must be non negative and less than the size of the collection
View 7 Replies
Mar 30, 2011
Iam having simple chart.
Which is displaying X and Y values.
Iam using SqlDataSource control to Bind data from database.
Now, How to display Sum of X values on top of chart ?
View 1 Replies
Apr 21, 2010
I have a few applications/websites running with LINQ to SQL and the other day I decided to go ahead and optimize some of the queries, etc and I found that the size for variable length data types is derived from the parameter value instead of the column actual size? for example a column is defined as nvarchar(30). when I use linq to query that column with a value that's 5 characters long the parameter in sp_executesql will be defined as nvarchar(5)...this causes a major procedure cache bloat even for a small utility site that has a lot of queries is there a way to optimize this?
View 1 Replies
Jun 1, 2012
Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index after binding the gridview with data i need to set the column width as defined in a array.i am setting it as
string[] cwidth = Session["width"].ToString().Split(',');
int colcount = coln.Length;
for (int i = 0; i <= colcount - 1; i++)
{
Gridview1.Columns[i].HeaderText = coln[i].ToString();
int swidth = Convert.ToInt32(cwidth[i]);
Gridview1.Columns[i].HeaderStyle.Width = Convert.ToInt32(cwidth[i]);
}
but i get the above error
View 1 Replies
Feb 2, 2012
I have an array called"List" with 1 item and a gridview "grdWorkingDays" with two columns.
In the First column, I want to display the working days dynamically from the arraylist and in the second column I need to display a dropdown with CL/PL/Halfday(Which has values from a database table and is already written in a method)Â against each date of array list.
The code is:
int NoOfWorkingDays = List.Count;
for (int j = 0; j < NoOfWorkingDays; j++){
String Date = ((Label)grdWorkingDays.Rows[j].Cells[0].FindControl("lblLeaveType")).Text;
Date = List[j].ToString();
[Code] .....
Â
When I run this, I am getting error as:
"Index was out of range. Must be non-negative and less than the size of the collection." pointing to the 1st row of for loop.
I am struggling with this for past few days and count find what the error is.
FYI, the array count is being calculated correctly as "1" .
View 1 Replies
Feb 10, 2011
i'm doing a page which allow user to choose date from calender extender using a text box.. after choosing the date, the text box will have the event ontextchange that will display all data related to that date without user clicking any button.. i will be using a range validator to check whether the user access to more than 2 days from the system date..
the problem i'm having is,
- after everytime i choose the date, the range validator will keep disappear due to the auto post back which i use in order to make the text event (ontextchange) work..
- i need some advise on how to solve this problem?? been trying to solve it for 2 days alread T.T
View 2 Replies
Sep 6, 2010
I want to display time on Y axis and days on x axis.
I want to dispaly 12:00 AM,11:00 AM...11:59 PM. on Y axis.I want function to create sequence like that and on X axis display week like 6-sep,7-sep,..11-sep.
View 6 Replies
Mar 9, 2010
I have a "database explorer" page that is desgined to be pointed to an unknown database and allow users to browse the data, so it basically uses the SQL system tables to develop its queries and pull in data to tables using auto-generate columns.The problem that I have is that I would like certain types of columns to have certain formats and I'm wondering the best way to go about it. I could format the column in code in the RowDataBound event I assume, but I'm wondering if there some better standard way to do this? Is there a setting of any kind that I can use? For example I want all of the datetime fields to be formated for short date, like {0:d}, I want decimal fields to have 4 decimal places, etc.
View 2 Replies
Nov 3, 2010
I am exporting a HTML table to excel by sending the data as a HTML Table string and setting the content headers:
[code]....
Is there a simple way of setting the content-length based on the size of the HTML string? Or should I just leave it blank anyway...would be nice to have the content-length ideally...
View 3 Replies
Feb 24, 2011
I am Getting this exception when i select the checkbox control in Grid view"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
I have Checkbox in Gridview control, when i select the record in grid view corresponding entire record will be populated into form fields,it working absolutely fine,I have search method on my webform, if i searched based on particular value in form fileds, records will be filtered in Girdvie control when i select the record, same reocrd suppose to populate in form fields but not loading, above error occuring.normally no issues error occuring when i search and select record. error occuring at redline in the code
[code].....
View 3 Replies
Jul 26, 2010
i am uploading a file through file upload control , file size has greater then 4 MB, I have to give the proper alert msg to the user that file size exceeding the limit.how to do it , because at server side it is crashed on the IIS and not return to the server to check the file size validation.that how it is possible to validate the file size and give the proper alert messege
View 3 Replies
Aug 19, 2010
My application work in this ways. I got a database collect data from 20 sensors. Database holds Temperature and DateTime data/Records from sensors. So i would like to make it whenever i view the chart, it will plot a line chart one by one according to the temperature and timestamp(DateTime). Which mean my X axis is a colleborate time on that particular date.I already design a in the way that the line chart will plot base on both dropdownlist, Sensor ID and Date. So it will work like whenever i select a Date or ID it will read the records from database table temperature.
View 9 Replies
Jun 29, 2010
I am working with a chart control and on the Y axis i have numbers that fall between millions and billions.
The numbers on the axis themselves are not formatted and as such can be difficult to read. I wanted to know if there was a way for me to format the value that appears on the axis itself to be coma seperated?
here's what the Y axis looks like
600000000
300000000
100000000
numbers are just hard to read. How do i format them with coma's or even add a label saying (Millions) and then displaying only 100, 300, 600 etc
View 5 Replies
Sep 17, 2010
I have 2 series in the same chartarea. Both contain values by year (x axis). The problem is if one series does not have data for a given year, the chart will display the first value in a series on the first tick mark whether it matches the xaxis label or not.
Example:
[Code]....
Notice the 2009 value for series1 appears in the first column and the Xaxis now has 2 2009 tick marks. How do I get the values to appear on the correct X axis marks?
View 4 Replies
Aug 11, 2010
I have a .net3.5 mschart control bound to a data table displaying a line graph. I wigh to zoom in on an axis on an asp.net web form.
View 1 Replies
Jan 28, 2011
I have a chart with Y1, Y2 and X.X is date time.Issue is first and last point of the line chart is plotted on the Y1 and Y2 axis. They do not leave any space.I would like to leave some space before and after each series (some distance from Y1 and Y2).So instead of this,
i
i
x
i
I would like to have
i
i
i x
i
View 3 Replies
Jan 19, 2010
I am making a chart on a asp.net page (visual studio 2010). I am "summing" time. As long as the sum is not more than 24hours, all goes well. But if the sum is bigger than 24hours, then I get a "Not a legal Oleaut date" error.
This is my code (simplified) :
Chart1.DataBindCrossTable(_dataset._table.AsEnumerable(), "factor",
"week",
"time",
"");
Chart1.Series[0].YValueType =
ChartValueType.Time;
duurhhmm is a DateTime field. "factor" and "week" are my groupings for the x-axis.
first question : what to do about the "not a legal oleaut date" ?
second question : on the axis I see 00:00,06:00, 12:00,18:00 and then again 00:00,06:00, etc... But I would like to have 24:00, 30:00.
View 2 Replies
Jun 7, 2010
i created a chart in Excel, but now I am having the time of my life to create the same chart in a control.
If you can see on the bottom I have converted the labels to percentages.
In excel I am using a series of data cells to create the bottom labels (0-8 with a .5 increment).
The Y-axis is done with a fixed maximum value of 2 and the labels are percentages as well. How do I get those same axes on the chart control?
View 1 Replies
Nov 17, 2010
I´ve got a chart control (column type) and must show many elements at y axis, but when system generates the chart draw, it´s shows only odd elements: For example: My chart must show a colunm containing systems (x) and error incidences (y):
1. SIEMP
2. SISOUT
3. SIGTI
4. SISFIN
5. SISPL
6. SISTER
But it´s only shows:
1. SIEMP
2.
3. SIGTI
4.
5. SISPL
6.
I must set a parameter that forces "all" series to be showed.
View 2 Replies
Sep 9, 2010
I have a fairly basic line graph which is bound to a SQLDataSource control. The graph displays perfectly, but I want the labels on the X-axis to display vertically rather than horizontally.
I have used the following code to try and do this but it is having no effect:
<AxisX Title="Patient Safety Submissions" IsLabelAutoFit="True">
<LabelStyle Angle="90" interval="1" />
</AxisX>
[code]....
View 2 Replies