Click here to Skip to main content
       

C#

 
GeneralRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 21:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 22:20 
GeneralRe: How to List Banks in a Country in web site PinprotectorPete O'Hanlon3-Feb-13 3:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal3-Feb-13 22:14 
AnswerRe: How to List Banks in a Country in web site PinmvpEddy Vluggen3-Feb-13 1:26 
AnswerRe: How to List Banks in a Country in web site Pinmemberjschell3-Feb-13 6:27 
AnswerRe: How to List Banks in a Country in web site PinmvpAbhinav S3-Feb-13 7:00 
QuestionHo to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 9:00 
Hey guys, I have pretty much figured out my regression line doing some calculations, but drawing it is where I am stuck. The line comes from the y axis and goes through the middle of the chart roughly, once I get these two points I draw the line, but I do not know how to draw a line THROUGH the middle point to the end of the chart, can anyone please help me out?
 
Here is my chart code:
 
 chart1.Series["Regression Line"].Points.AddXY(0, b0);
            chart1.Series["Regression Line"].Points.AddXY(xAverage, yAverage);
            chart1.Series["Regression Line"].ChartType = SeriesChartType.Line;
            chart1.Series["Regression Line"].Color = Color.Red;
 
You can see the line goes from one point to another, but its only half the line, any assistance would be greatly appreciated I am completely stumped!
 
Many thanks!!!
AnswerRe: Ho to draw a regression line in windows forms charts? PinmemberPeter_in_27802-Feb-13 10:08 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 10:17 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 11:36 
GeneralRe: Ho to draw a regression line in windows forms charts? PinmemberPeter_in_27802-Feb-13 14:52 
Questionusing iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 5:50 
AnswerRe: using iTextSharp and c# for page numbers PinmvpAbhinav S2-Feb-13 7:05 
GeneralRe: using iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 8:06 
QuestionHow to investigate ExecutionEngineException PinmemberKASR11-Feb-13 22:21 
AnswerRe: How to investigate ExecutionEngineException PinmvpRichard MacCutchan1-Feb-13 22:55 
QuestionMdi Child Window Z-Order PinmemberRichard Andrew x641-Feb-13 12:16 
AnswerRe: Mdi Child Window Z-Order Pinmemberjibesh1-Feb-13 12:43 
GeneralRe: Mdi Child Window Z-Order PinmemberRichard Andrew x641-Feb-13 13:08 
GeneralRe: Mdi Child Window Z-Order Pinmemberjibesh1-Feb-13 13:10 
AnswerRe: Mdi Child Window Z-Order PinmentorDaveyM691-Feb-13 23:57 
AnswerRe: Mdi Child Window Z-Order PinmemberAlan N2-Feb-13 6:17 
QuestionStrip special characters in row of data Pinmembervanikanc1-Feb-13 5:41 
AnswerRe: Strip special characters in row of data PinmvpEddy Vluggen1-Feb-13 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 22 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid