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 5:06 
GeneralRe: Why is my windows chart so small, I cant change the size Pinmemberraymond leadingham3-Feb-13 5:30 
GeneralRe: Why is my windows chart so small, I cant change the size PinmvpDave Kreskowiak3-Feb-13 9:05 
QuestionHow to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 20:55 
AnswerRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 21:28 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 21:50 
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 
AnswerRe: Strip special characters in row of data PinmemberEnnis Ray Lynch, Jr.1-Feb-13 8:15 
QuestionC#,ASP.Net Pinmembersujeet3211-Feb-13 0:51 
AnswerRe: C#,ASP.Net PinmemberSimon_Whale1-Feb-13 1:06 
AnswerRe: C#,ASP.Net PinmvpDave Kreskowiak1-Feb-13 1:30 
AnswerRe: C#,ASP.Net PinmvpAbhinav S1-Feb-13 8:16 
Questionhow to change the background color of a selected row in datagridview [modified] PinmemberNarVish31-Jan-13 21:37 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 22:21 
GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 22:35 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 22:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 22:39 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 22:46 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 22:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 22:45 
QuestionHow to write events in event log using Log4net Pinmembervenkatpappu31-Jan-13 21:28 
AnswerRe: How to write events in event log using Log4net PinmvpRichard MacCutchan31-Jan-13 22:11 
QuestionThread.Abort - using and lock statement Pinmemberdevvvy31-Jan-13 15:49 
AnswerRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 17:53 
GeneralRe: Thread.Abort - using and lock statement [modified] Pinmemberdevvvy31-Jan-13 17:59 
GeneralRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 19: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
Web04 | 2.8.140709.1 | Last Updated 14 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid