Web Forms :: Drag Ndrop In Chart Control?
Jul 13, 2010Is it possible to drag n drop chart bar after control rander on page.or tell me if u konw some javascript control for this requirement.
View 1 RepliesIs it possible to drag n drop chart bar after control rander on page.or tell me if u konw some javascript control for this requirement.
View 1 RepliesI have to generate an organization chart, in my asp.net application and it should supports drag and drop feature to update the linkage between organization structure. What would be the best way to deal with it, (jQuery or silver light or .net chart controls). My primary needs is to support drag and drop.
View 4 RepliesI 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 Replieshow 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 RepliesAm 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?
I am using MS Chart control (3.5), and have a requirement where I need to display 2 pie charts. The datapoints for the pie charts is set programatically. My doubts are as follows:
1. Can I display both the pie charts in a single chart control and area, or do I have to use two controls? (Currently I am using two controls)
2. How can I maintain the same size for both the pie charts? This is my main concern, since the pie sizes keep changing, depending on the number of datapoints. I tried using custom properties like "MinimumRelativePieSize", but it's not working.
i'm trying to create a stacked bar chart on a vb web form using vs2010.My data source returns:
Error in Functionality Awaiting on Supplier
1IMT IssuesmActive6
IMT Issues,Awaiting on Supplier
2,IMT Issues,Awaiting on User 4
IMT Issues Closed 120
Login / Password Active
But I can't get this into a stacked chart. I know I must have to do quite a bit of work declaring what the series are and soforth, or having a different dataset but can't find any documentation on it.A link to some documentation or an example of a stacked chart from an sql datasource would be much appreciated.
I started using the awesome chart controls with my asp.net apps recently and so far they've been nothing short of breath taking. Right now I have a weird problem, on the first load of my page, the chart control appears correctly and the tooltip is correct, however, when I update it with new data, the chart displays correctly, but the tooltips are for the previous set of data.
I hope this makes sense. The first time I load the chart, the pie chart segments and tooltips are correct, after a partial postback (to get the new data), the pie chart segments are correct but the tooltips are for the previous data set.
Basically once the tooltips are set the first time, they can't be updated after that without a full page postback.
Here's how I set the tooltip:
[Code]....
Anyone else noticed this behaviour and have a work around?
Currently my only workaround is to check for a partial postback and not render the tooltip, which I'd rather not do as the tooltip display actual statistical data as opposed to the pie itself (which uses percentages).
I have X and Y data columns coming from database.
I have to show scatter plot chart with Linear, Exponential, Log, power using asp.net chart control.
How to do that?
im trying to create simple pie chart using the MS Chart controls. When my pie chart gets rendered in the browser i get padding around the pie chart that i cant get rid of. i would like the pie chart to sit up against the edge of the image with no padding or margin. in my code below the padding is highlighted in blue. i.e Chart1.BackColor = System.Drawing.Color.Blue;
<script type="text/C#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
//Set the chart type
Chart1.Series["Series1"].ChartType = SeriesChartType.Pie;
//add points
Chart1.Series["Series1"].Points.AddY(12);
Chart1.Series["Series1"].Points.AddY(45);
Chart1.Series["Series1"].Points.AddY(67);
//set back color of chart object
Chart1.BackColor = System.Drawing.Color.Blue;
//set back color of chart area
Chart1.ChartAreas["ChartArea1"].BackColor = System.Drawing.Color.Green;
}
</script>
<asp:Chart ID="Chart1" runat="server">
<Series>
<asp:Series Name="Series1" ChartType="Pie">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
I am a novice programmer using ms chart control for my dashboard, I have a problem displaying chart series.
Here is my sample query & result
Sample Query: "SELECT Brand, sales, Manufacturer From TABLE"
Sample Result:
[code]....
How can I display BrandA for XValueMember & Salesvalue(10000) for YValueMembers as Series1 having a column chart type.
And to display BrandY & BrandZ for XValueMember ; Salesvalue for YValueMembers as Series2 having a line chart type.
I want my chart to have 2 Y-axis; Series1 for primary Y-axis & series2 for secondary Y-axis.
My problem here is how can I display BrandA in Series1 and BrandY,BrandZ in Series2 where the values are in the same field?
Or is it possible to set more than one data source for the chart control?
I've been working on this for two days but I wasn't able to get the desired result.
I'm writing you because I can't display on Firefox the drag cursor for drag&dropping webparts. Is it possible to make this function available on Firefox?
View 1 RepliesI am having a requirement, where I need to have a pie-chart, i need text around pie-chart , the text should be a hyperlink. Ex: we have 3 three fields A,B,C. A's ratio is 30%, B's ratio is 40%, c's ratio is 30% So pie chart gets divided into 3 parts, outside the graph , we should get the label A(in A's area only), when we point on , tool tip should say "A's ratio is 30 %'. I am working in .Net 3.5, VS 2008, using MS chart control(added explicitly by executing MSChart.exe.
View 1 Repliesthere any control that i can use like to drag an image from Localdrive to webapplication in runtime and then it show the image on the control ?
View 3 RepliesI am using a Reorder list. I had a requirement that i have to drag a record from the reorder list to another control(may be list control or grid view). Is it possible like that?
View 1 RepliesCan the ImageButton Control be used to implement Drag&Drop? My Drag&Drop function means drag the image,and drop it to desktop as a file or other applications, for example, Office Word,Office Excel,etc. Can the ImageButton Control be used to implement it?
View 1 Repliesusing the control in web application.
View 1 RepliesIs there a way to change the code inserted when you drag and drop a control on a form?For instance, the application I'm working on always has Display=Dynamic and CssClass="errormessage" in a field validator. Is there a way to get VS 2008 to use these defaults, and insert the code for them when I drag and drop a control onto the page?
View 1 RepliesCould you point me to a reference article on how to implement drag and drop within a treeview control using ASP.NET in C#? Is this best implemented with AJAX? I will be using an XMLDatasource. Also, I did not want to use any third party control at this point
View 2 Repliesi work with Chart control in my project but when I tried to change my bar chart with the properties of the control, for example, add a new series nothing changes on the Chart at the same aspx code:
<asp:Chart ID="Chart1" runat="server" DataSourceID="LinqDataSource1"> <Series> <asp:Series Name="Series1"> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name="ChartArea1"> </asp:ChartArea> </ChartAreas> </asp:Chart>
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.
Does anyone know how to explode a certain section of the piechart, which is part of microsoft chart controls?
View 5 RepliesIs there a way to add a legend to the chart it creates? I have created a line chart and by default it has created different colors for the different y - axis data.
I would like a legend on the side that displays what data goes with which line color.
I'm using MS Chart Controls, i want to add a feature to my charts, im primarily using Bar charts. I will have a large numnber of Data points on my chart for example 20 bars etc, i want to limit the display to 10 so if there is more than 10 it will only show the last 10 bars and display a scrolling bar to scroll back and fort to see all the charts. I have the code to do this, and it works extremely well, only problem is. the code is in VB.NET I've converted it to C# and I am not getting any errors on page_load but my code doesnt seem to affect my chart in anyway, basically it doesnt work. Just wondering could some one have a look at my code and give me any pointers where i may have gone wrong or if anyone has ever got something similair to this working in c#. Im going to post both the VB.NET and the C#,
VB CODE
[Code]....
C#
[Code]....
I am using a Chart Control, and I have 2 series. In my case 1 for month and 1 for year. The problem is when the chart control is displayed during run time for some reason the legend has 4 entries 1 says Mont, 1 says Year, 1 says Series 1, and 1 says series 2. My question is why are there 4 entries for the legend?
View 5 Replies