Search code examples
c#lineasp.net-charts

how do i overlay a "line chart" on a "point chart" using asp.net charting toolkit?


I currently have a point chart using the asp.net charting toolkit, but would like to place a line of best fit on the same chart. Assuming that I know how to calculate the equation for the line (y=mx+b), how would I overlay this in the same graph?


Solution

  • Needed to create a different series within the ChartArea and set ChartType = "Line"