asp.net chart always draw columns and I want to represent my data as lines. However, I add this code, in asp.net page:
<asp:Series Name="Series1" XValueType="String" XValueMember="Date" YValueMembers="Utilization" IsValueShownAsLabel="True" YValueType="Auto" ChartType="Point" BorderWidth="5" Palette="BrightPastel"> </asp:Series>
and in aspx.cs
chart1.Series["Series1"].ChartType = System.Web.UI.DataVisualization.Charting.SeriesChartType.Line;
Could anyone help please??
I recommend to instead use Google Charts. They have line charts plus many others https://developers.google.com/chart/interactive/docs/gallery