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]....
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.
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.
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
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..
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?
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.
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.
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]....
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
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";
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.
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:
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);
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?
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
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.
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 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.