Click here to Skip to main content
   

C#

 
AnswerRe: Why is my windows chart so small, I cant change the size PinmvpDave Kreskowiak3-Feb-13 6:06 
GeneralRe: Why is my windows chart so small, I cant change the size Pinmemberraymond leadingham3-Feb-13 6:30 
GeneralRe: Why is my windows chart so small, I cant change the size PinmvpDave Kreskowiak3-Feb-13 10:05 
QuestionHow to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 21:55 
AnswerRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 22:28 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 22:50 
GeneralRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 22:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 23:20 
GeneralRe: How to List Banks in a Country in web site PinprotectorPete O'Hanlon3-Feb-13 4:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal3-Feb-13 23:14 
AnswerRe: How to List Banks in a Country in web site PinmvpEddy Vluggen3-Feb-13 2:26 
AnswerRe: How to List Banks in a Country in web site Pinmemberjschell3-Feb-13 7:27 
AnswerRe: How to List Banks in a Country in web site PinmvpAbhinav S3-Feb-13 8:00 
QuestionHo to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 10: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 11:08 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 11:17 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 12:36 
GeneralRe: Ho to draw a regression line in windows forms charts? PinmemberPeter_in_27802-Feb-13 15:52 
Questionusing iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 6:50 
AnswerRe: using iTextSharp and c# for page numbers PinmvpAbhinav S2-Feb-13 8:05 
GeneralRe: using iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 9:06 
QuestionHow to investigate ExecutionEngineException PinmemberKASR11-Feb-13 23:21 
AnswerRe: How to investigate ExecutionEngineException PinmvpRichard MacCutchan1-Feb-13 23:55 
QuestionMdi Child Window Z-Order PinmemberRichard Andrew x641-Feb-13 13:16 
AnswerRe: Mdi Child Window Z-Order Pinmemberjibesh1-Feb-13 13:43 
GeneralRe: Mdi Child Window Z-Order PinmemberRichard Andrew x641-Feb-13 14:08 
GeneralRe: Mdi Child Window Z-Order Pinmemberjibesh1-Feb-13 14:10 
AnswerRe: Mdi Child Window Z-Order PinmentorDaveyM692-Feb-13 0:57 
AnswerRe: Mdi Child Window Z-Order PinmemberAlan N2-Feb-13 7:17 
QuestionStrip special characters in row of data Pinmembervanikanc1-Feb-13 6:41 
AnswerRe: Strip special characters in row of data PinmvpEddy Vluggen1-Feb-13 7:53 
AnswerRe: Strip special characters in row of data PinmemberEnnis Ray Lynch, Jr.1-Feb-13 9:15 
QuestionC#,ASP.Net Pinmembersujeet3211-Feb-13 1:51 
AnswerRe: C#,ASP.Net PinmemberSimon_Whale1-Feb-13 2:06 
AnswerRe: C#,ASP.Net PinmvpDave Kreskowiak1-Feb-13 2:30 
AnswerRe: C#,ASP.Net PinmvpAbhinav S1-Feb-13 9:16 
Questionhow to change the background color of a selected row in datagridview [modified] PinmemberNarVish31-Jan-13 22:37 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:21 
GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 23:35 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 23:39 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:46 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 23:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 23:45 
QuestionHow to write events in event log using Log4net Pinmembervenkatpappu31-Jan-13 22:28 
AnswerRe: How to write events in event log using Log4net PinmvpRichard MacCutchan31-Jan-13 23:11 
QuestionThread.Abort - using and lock statement Pinmemberdevvvy31-Jan-13 16:49 
AnswerRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 18:53 
GeneralRe: Thread.Abort - using and lock statement [modified] Pinmemberdevvvy31-Jan-13 18:59 
GeneralRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 20:05 

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
Web03 | 2.8.150326.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid