C# - Display Time Data With Telerik Chart?

Jan 2, 2011

We need to visualize the number of forms submitted over a 2 week period where it is broken down by day/hour.

I have the query returning data such as:

My question is, how do I tell MS chart to display this data? When I bind it I get the following:

I'd like it to expand out and show the hours between the dates.

View 1 Replies


Similar Messages:

Forms Data Controls :: Chart Label Display (Percentage Of Available Time)

Jul 12, 2010

I have a chart to display the percentage of available time for a machine, but it won't display all the labels. It will only display a select few, spread out evenly apart but I need it to show ALL of them. Here is how it's set up, however, I don't know what I would change in order for it to display all labels:
[Code]....

View 1 Replies

How To Get The Time Slot Of Telerik's Scheduler From Client Side By The Time Or Date Of That Time Slot

Nov 19, 2010

I'm using Telerik's RadScheduler Control with WebService Binding.

I've used RadScheduler with Server Side Binding which has an event called "OnTimeSlotCreated" which fires every time when a particular time slot creates so that i can access the time slot and get the control (HtmlTableCell Control) to modify it according to the requirement.

But now i'm binding it from client side through WebService which has no such "onClientTimeSlotCreated" event, also these time slots are not having any identity at client side to access.

View 1 Replies

Forms Data Controls :: Chart X Axis Is In Time?

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

Forms Data Controls :: Change Date Time In Chart

Feb 17, 2011

I have a chart on a page and i call a dataset which sends the infomation to the chart this works fine and all the infomations is displayed fine. However my x axis is a time which is UTC time. Most of the people looking at the charts will be using EST is there anyway in which i can change the Xasis times to corespond with EST instead of UTC

View 3 Replies

Forms Data Controls :: Create A Real Time Chart Using Vs2010?

Aug 13, 2010

im using Vs2010 to plot real time line chart. i have been looking for the section that allow me to set X and Y axis..

i jus couldn't find the place for me to set.

my Y axis is a double, min =0, max = 100 and my X axis, min =0, max = 300(seconds).

View 3 Replies

C# - Telerik RadAjaxManager Loads Controls Slow The First Time?

Mar 15, 2011

So I have a RadPanelBar, and within that a RadTreeView. On a node click event I want so update some control.. for now I am just trying to update a textbox. It works fine except that the first time I click on a child node it takes a very long time to update the control.. Just a simple text change. I set a break point in my function and I noticed that it is taking long to fire the OnNodeClick event.. If I click a parent node in the tree view it loads fine on the first click. Also, after the first time I've clicked it.. it loads quickly.. If I refresh the page, it is slow on the first click again.. Is there something I am missing.. Is the structure of my HTML inappropriate for these AJAX calls? I feel like this is a really simple example that should work..

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="IncidentReportPanel">

[Code]....

EDIT: I updated my code according to this article, [URL] , and the problem persisted... again it only happens the first time..

EDIT: Just to clarify, by updating according to that article, I mean that I removed all the tables and relative widths and replaced them with css positioning and fixed widths.. the problem only happens the first time.. and it only happens sometimes.. quite a few times i thought i solved the problem as it would start responding quickly.. but then after I change my .aspx and change it back (even to the exact same thing when it was working quickly).. I get the same problem..

EDIT: So, I removed the AJAX component.. and setup the control so that it does a PostBack.. and it still takes long to hit my break point.. so it seems that its not an AJAX issue... but for some reason my events are taking long to fire..

EDIT: So I followed the advice on this post and I used the webservices to do my binding and handle everything from the client side code.. All seemed to be ok until I decided that I wanted to return nodes from my webservice that could also be expanded.. So in my webservice I set the ExpandMode of my RadTreeNodeData object to Webservice.. and it renders the data correctly when I expand the child nodes.. However now I see the same problem from before where some calls take 20-30 seconds.. It takes 20-30 seconds to even hit the break point in my webservice.. Should I use the OnClientNodeExpand event instead?

View 3 Replies

Forms Data Controls :: How To Display Bar Chart

Sep 27, 2010

I am new to asp.net. I am suppose to continue a project. The previous person has created a line chart and I have to create a bar chart. However I do not know how to create a bar chart. Could u email me for the code as I realise that I can't upload the files.

View 5 Replies

Display A Message If MS Chart Control Has No Data?

Dec 15, 2010

Is there a way to display a "default" message on a MS Chart Control if there is no data to chart?

I have a chart, with some controls that allow the user to pick various date ranges. If there is no data to be charted in that date range, it currently just displays nothing (or at least it shows the legend, and background, but that's it.)

I want there to be a message saying "no data for this period" or something instead.

View 2 Replies

Forms Data Controls :: MS Chart Display AxisY Value

Jul 18, 2010

I have 2 MS Charts(OriginalChart, encryptedChart) which are working well. I spent hrs trying to set these charts so that they display the same AxisY value. Example, OriginalChart displaying max AxisY value 50 (this value may change depends on the data), I need the encryptedChart to display max AxisY value 50 (regardless of its data) as well, This would allow user to compare the differences in these chart more easily. Currently, my encryptedChart is showing 5 to 10 for the AxisY value. I tried most of the possibility to set below but no luck. Research on this also not much useful info (or I don't understand them.)

"encryptedChart.ChartAreas(0).AxisY.ScaleView.... = OriginalChart.ChartAreas(0).AxisY.ScaleView....."
Below's my HTML code fyi.
[Code]....

View 1 Replies

Forms Data Controls :: How To Display Null / Zero Value In Pie Chart

May 28, 2010

I am using Mschart in that I want to display null value or zero value in pie chart. How to display that.

View 2 Replies

Forms Data Controls :: MS Chart Does Not Display All Fields Y

Jan 12, 2011

When I try to generate a StackedBar char, some Y fields are not displaying because of space. Example with following chart
Ex :columns in DataSource : 2,4,6,8,10
Columns displayed on chart : 2,6,10

View 2 Replies

Forms Data Controls ::Pie Chart Display Wrong Percentages

Apr 19, 2010

I have use chart controller in my web application but it display wrong percentages this are the value:
TOTAL COST : 75000000000.00
LOYALTY DISCOUNT : 7500000000.00

When it display on pie chart it display TOTAL COST :90.91% and LOYALTY DISCOUNT=9.09%
but it should be 90% and 10 % how can I correct it
chtSavingBrekDown.Series["Series1"].Points.AddXY("Total Cost", totalCost);
chtSavingBrekDown.Series["Series1"].Points.AddXY("Discounted Dolers", discountValue);
chtSavingBrekDown.Series["Series1"].ChartType = SeriesChartType.Pie;// Set the Pie width
//chtSavingBrekDown.Series["Series1"]["PointWidth"] = "0.5";// Show data points labels
chtSavingBrekDown.Series["Series1"].IsVisibleInLegend = true;
chtSavingBrekDown.Series["Series1"].LegendText = "#AXISLABEL";
chtSavingBrekDown.Series["Series1"].Label = "#PERCENT";
chtSavingBrekDown.Series["Series1"]["BarLabelStyle"] = "Center";// Show chart as 3D
chtSavingBrekDown.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = true;// Draw chart as 3D
chtSavingBrekDown.Series["Series1"]["DrawingStyle"] = "Cylinder";
chtSavingBrekDown.Series["Series1"].Points[1].Color = System.Drawing.Color.Yellow;
chtSavingBrekDown.Series["Series1"].Points[0].Color = System.Drawing.Color.Blue;
chtSavingBrekDown.Series["Series1"].Points[1]["Exploded"] = "true";
chtSavingBrekDown.Legends[0].Enabled = true;
chtSavingBrekDown.Titles[0].Text = "SAVING ESTIMATE BREAKDOWN";

View 1 Replies

Forms Data Controls :: Chart Label Display (Three Columns)

Feb 7, 2011

I am using asp:chart control in my 3.5 application. My dataset have three columns i.e. Subject, Score, testDate. I am drawing the chart like this,
[Code]....
And my chart is displaying like this. And what I want is, the third column testDate should be displayed on the top of the series as follows.

View 1 Replies

Vb.net - Chart Labels To Display At The Data Points On Multiple Series?

Mar 9, 2011

I have an ASP Chart (v4) which displays the data I need perfectly. I want it to show labels at the top of the data points and I am having some difficulty with it.

Here is my code that works for both series but does not display the labels:

[code]....

View 1 Replies

Data Controls :: Display Monthly Sales Report Using Pie Chart?

May 7, 2015

I have a table where I have

Amount paid, payment date

I want to write a query which will fetch the total amount of sales for a month based on the payment date.

And i want to represent the result in a pie chart  like january(3000),february(90000),march(20000) etc.

View 1 Replies

Forms Data Controls :: Display Legends Of Chart In Tabular Form

Oct 13, 2010

I am working on charts with ms chart 3.5 control my question is I have to display legends of pie charts in tabular form. Which will contain the color used for different points and x values and y values. I managed to show the colors and x values but not able to show the y values. I am giving the code also. Example of x and y values are:
xvalues- InCorrect YValue- 5
xvalues- Correct YValue- 10
xvalues- UnAttempted YValue- 15

Here is the code used to bind legend values.----
LegendCellColumn firstColumn = new LegendCellColumn();
firstColumn.ColumnType = LegendCellColumnType.SeriesSymbol;
firstColumn.HeaderText = "Color";
firstColumn.HeaderBackColor = Color.WhiteSmoke;
Chart1.Legends["Default"].CellColumns.Add(firstColumn);
// Add second cell column
LegendCellColumn secondColumn = new LegendCellColumn();
secondColumn.ColumnType = LegendCellColumnType.Text;
secondColumn.HeaderText = "Name";
secondColumn.Text = "#LEGENDTEXT";
secondColumn.HeaderBackColor = Color.White;
secondColumn.Alignment = System.Drawing.ContentAlignment.MiddleLeft;
Chart1.Legends["Default"].CellColumns.Add(secondColumn);
// Add header separator of type line
Chart1.Legends["Default"].HeaderSeparator = LegendSeparatorStyle.Line;
Chart1.Legends["Default"].HeaderSeparatorColor = Color.FromArgb(64, 64, 64, 64);
// Add item column separator of type line
Chart1.Legends["Default"].ItemColumnSeparator = LegendSeparatorStyle.Line;
Chart1.Legends["Default"].ItemColumnSeparatorColor = Color.FromArgb(64, 64, 64, 64);
// Set Min cell column attributes
LegendCellColumn minColumn = new LegendCellColumn();
minColumn.Alignment = System.Drawing.ContentAlignment.MiddleLeft;
minColumn.Text ="#TOTAL{N1}";

I want to show the individual value of each data point is there any idea how to show the Yvalue of each datapoints
minColumn.HeaderText = "Questions";
minColumn.Name = "Questions";
minColumn.HeaderBackColor = Color.WhiteSmoke;
Chart1.Legends["Default"].CellColumns.Add(minColumn);

View 1 Replies

Data Controls :: Display And Bind AJAX Bar Chart Inside GridView?

Mar 22, 2014

how to display barchart in gridview of one column depending on that cell value

View 1 Replies

Telerik RadGrid Doesn't Display On First Page_Load But Does On Postback

Mar 17, 2010

I have a page with a drop-down. Based on the selection in the drop-down, data gets loaded and populates a RadGrid. I am using a custom user control for the EditTemplate, so I can't use radGrid.DataBind(). Instead, I have to use radGrid.MasterTableView.Rebind() in association with a NeedDataSource event handler.

My problem is that when I load the page initially, I populate the drop-down and automatically select a value (first item in the list) which triggers the databinding on the RadGrid. I can step through the code in debug mode and see that the grid is being populated with data, but when the page displays, it doesn't get rendered. When I then manually choose an item from the drop-down, which triggers the same grid databinding code, it displays properly the second time.

How do I get it to display the grid the first time the page loads?

View 2 Replies

C# - Telerik RadCalendar - Specialdays: Display Date Of The Special Day?

Jul 4, 2010

My purpose is to display selected days with different BackColor values, according to the selection of the client. Basically only changing the ItemStyle for the selected days are acceptable for me, but I couldn't find how to do it?So I tried a differen approach as follows: I created SpecialDays in my Calendar

<telerik:RadCalendar AutoPostBack="true" ID="calendar1" runat="server" Width="400px" Height="300px" FirstDayOfWeek="Monday">
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp1"></telerik:RadCalendarDay>
</SpecialDays>
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp2"></telerik:RadCalendarDay>
</SpecialDays>
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp3"></telerik:RadCalendarDay>
</SpecialDays>
<CalendarDayTemplates>
<telerik:DayTemplate ID="temp1" runat="server">
<asp:Label ID="lblTemp1" runat="server"></asp:Label>
</Content>
</telerik:DayTemplate>.......................................

View 1 Replies

Forms Data Controls :: Using Dot Net Chart Control Last Column Of Chart Is Not Completely Appearing?

Jul 9, 2010

I have an issue in using dot net chart control. In chart last column is not completely shown which give bad appearance and on right side of chart it looks like TickMark are enabled. I set MajorTickMark of AxisY2 disabled but still tick marks on right side.

View 2 Replies

Setting Time Labels On RangeBar Chart?

Feb 22, 2011

I have a RangeBar chart that will show different schedules and how they overlap. I can't seem to get AxisY (which is really AxisX, but they switch when you use a RangeBar for some reason) to display the hour. It displays a gridline for every hour, but the label is the date, which is not helpful at all.

I tried

asChart.ChartAreas["ChartArea1"].AxisY.CustomLabels.Add(0, DateTimeIntervalType.Hours, string.Format("{0:H}"));

but I get the error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

View 1 Replies

Forms Data Controls :: How To Freeze The X Axis Of The Chart Control In Ms Chart

Feb 24, 2010

how to freeze the x axis of the chart control in ms chart? need to use because data displayed at large amount that is scrollable.

View 1 Replies

Forms Data Controls :: MS Bar Chart.How To Reload Ms Bar Chart On Selecting A Value From A Dropdownlist

Jan 28, 2011

I have a drop downlist,and next to it there is an MS bar chart.i want to change the datate of the MS chart ,once the user selects another year from the dropdownlist.

When the page loads ,the chart displays the default year(2011) and it works.The problem is that is does not change the data when you select another year from the dropdownlist.

View 1 Replies

Forms Data Controls :: .net 4 Chart Control - Hide Labels In Pie Chart?

Apr 28, 2010

Am I going mad/blind? Probably a combination of the two.

How does one go about removing the data labels from a pie chart with the new chart control in .net 4?

I can get these to display as tooltips absolutely fine, but ultiamtely I'd like the labels not to be present as it looks rather busy.

I've searched previous answers and seen code behind resolutions but surely there must be some sort of code infront option to turn these labels off?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved