{"id":1681,"date":"2022-08-30T15:18:33","date_gmt":"2022-08-30T15:18:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/problem-about-chart-controls-for-net-framework-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:18:33","modified_gmt":"2022-08-30T15:18:33","slug":"problem-about-chart-controls-for-net-framework-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-chart-controls-for-net-framework-collection-of-common-programming-errors\/","title":{"rendered":"problem about chart-controls-for-net-framework-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nHi experts, I have a website that contains MScharts. I am trying to deploy it on IIS7. I developed it using asp.net 3.5 sp1 express version. Reading the this forum and some other googling I installed VS 2008 express and MSchart.exe on the server also. So much so that the website works fine when I load into asp.net on the server, it does not give me any error. I would really appreciate your timely help. Regards, Tosho K Server Error in &#8216;\/&#8217; Application. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nHi ,\u00a0 try make simple chart, here is sample code :chart1.Series[&#8220;Series1&#8221;].ChartType = SeriesChartType.Bar;chart1.Series[&#8220;Series1&#8221;][&#8220;PointWidth&#8221;] = &#8220;0.4&#8221;;\/\/ here I try set axis x,y\u00a0 chart1.ChartAreas[&#8220;Series1&#8221;].AxisY.Minimum = 0;chart1.ChartAreas[&#8220;Series1&#8221;].AxisY.Maximum = 100;when, I try set axis\u00a0 x, y\u00a0 it finished with this\u00a0 errors : An unhandled exception of type &#8216;System.ArgumentException&#8217; occurred in System.Windows.Forms.DataVisual<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nWhy can&#8217;t I close my form by clicking on the graph? Imports System.Windows.Forms.DataVisualization.ChartingPublic Class Form1Dim WithEvents chart1 As Chart = New Chart()Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadDim chartArea1 As New ChartArea()chart1.ChartAreas.Add(chartArea1)Dim series1 As New Series()chart1.Series.Add(series1)chart1.Location = New System.Drawing.Point(10, 10)chart1.Size = New System.Drawing.Size(400, 200)Me.Controls.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nHello,I&#8217;m continually getting an overflow exception on a chart. I&#8217;m setting up my chart as follows:InstrChart.Legends.Clear();dataArea = InstrChart.ChartAreas.Add(&#8220;Instr1&#8221;);dataArea.AxisX.MajorGrid.Enabled = false;dataArea.AxisY.MajorGrid.Enabled = false;dataArea.CursorX.IsUserSelectionEnabled = true;I&#8217;m then adding\u00a012 series with about 10000 points each.The exception occurs when I zoom down to show only 3 or 4 point per series. Immediately after I release the mouse button for a zoom I<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nI discovered an issue with my VS 2008 C# application (.NET 3.5 SP1) using Chart Tools.The Chart&#8217;s series has points added to it and works fine except with large float or double numbers.The following simple code causes this error on multiple machines:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chartMain.Series[0].Points.AddXY(5.0, 3.0);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 chartMain.Series[0].Points.AddXY(6.0, 6.0);\u00a0\u00a0\u00a0\u00a0\u00a0<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nHello,in my project i have one ChartArea with one StepLine series (100 points) in it. Data are generated by the following code:\u00a0double yValue = 123;double c=0;\u00a0Random random = new Random();\u00a0for (int i = 0; i &lt; 100; i){\u00a0yValue = yValue (random.NextDouble() * 10.0 &#8211; 5.0);\u00a0chart.Series[0].Points.AddXY(i, yValue c);}I have wired method chart_GetToolTipText() to the GetToolTipText Event.\u00a0chart.GetToolTipText = new EventHandler&lt;ToolTipEventArgs&gt;(chart_GetToolTi<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\nnet-framework-forums chart-controls-for-net-framework<br \/>\nI have the following query and chart databinding.When I run it I get error message &#8220;Unhandled Exception: The method\u00a0 or operation is not implemented&#8221;.Can anyone point out what, if anything, I am doing incorrectly and how I can get the chart to show results.\u00a0\u00a0 \u00a0private IEnumerable getChartData()\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var chartQuery =\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from trans in dataSet.Transaction \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 select new\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Date = trans.T_Date,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:28:32. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>msdn net-framework-forums chart-controls-for-net-framework Hi experts, I have a website that contains MScharts. I am trying to deploy it on IIS7. I developed it using asp.net 3.5 sp1 express version. Reading the this forum and some other googling I installed VS 2008 express and MSchart.exe on the server also. So much so that the website works [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1681","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1681"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1681\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}