How can I fix line chart in ASP.NET Web Forms?
You can draw the chat with start of XAxis by using ASP.NET Chart. Please refer the below code snippet which illustrates this:
C#
this.ChartWebControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;
this.ChartWebControl1.PrimaryXAxis.Range =new MinMaxInfo(0, 100, 20);
this.ChartWebControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
this.ChartWebControl1.PrimaryYAxis.Range = new MinMaxInfo(0, 250, 50);
VB
Me.ChartWebControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set
Me.ChartWebControl1.PrimaryXAxis.Range = New MinMaxInfo(0, 100, 20)
Me.ChartWebControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set
Me.ChartWebControl1.PrimaryYAxis.Range = New MinMaxInfo(0, 250, 50)
Please refer the sample in the below link which illustrates the above:"
http://help.syncfusion.com/support/samples/kb/chart.Web/6.1.0.34/71163/71163.zip
Note:
A
new version of Essential Studio for ASP.NET is available. Versions prior to the
release of Essential Studio 2014, Volume 2 will now be referred to as a classic
versions.The new ASP.NET suite is powered by Essential
Studio for JavaScript providing client-side rendering of HTML 5-JavaScript
controls, offering better performance, and better support for touch
interactivity. The new version includes all the features of the old version, so
migration is easy.
The Classic controls can be used in existing projects; however, if you are starting a new project, we recommend using the latest version of Essential Studio for ASP.NET. Although Syncfusion will continue to support all Classic Versions, we are happy to assist you in migrating to the newest edition.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.
You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!