Click here to Skip to main content
11,637,415 members (66,717 online)
   

C#

 
AnswerRe: Why is my windows chart so small, I cant change the size Pin
Dave Kreskowiak3-Feb-13 5:06
mvpDave Kreskowiak3-Feb-13 5:06 
GeneralRe: Why is my windows chart so small, I cant change the size Pin
raymond leadingham3-Feb-13 5:30
memberraymond leadingham3-Feb-13 5:30 
GeneralRe: Why is my windows chart so small, I cant change the size Pin
Dave Kreskowiak3-Feb-13 9:05
mvpDave Kreskowiak3-Feb-13 9:05 
QuestionHow to List Banks in a Country in web site Pin
akhil lal2-Feb-13 20:55
memberakhil lal2-Feb-13 20:55 
AnswerRe: How to List Banks in a Country in web site Pin
Richard MacCutchan2-Feb-13 21:28
mvpRichard MacCutchan2-Feb-13 21:28 
GeneralRe: How to List Banks in a Country in web site Pin
akhil lal2-Feb-13 21:50
memberakhil lal2-Feb-13 21:50 
GeneralRe: How to List Banks in a Country in web site Pin
Richard MacCutchan2-Feb-13 21:57
mvpRichard MacCutchan2-Feb-13 21:57 
GeneralRe: How to List Banks in a Country in web site Pin
akhil lal2-Feb-13 22:20
memberakhil lal2-Feb-13 22:20 
GeneralRe: How to List Banks in a Country in web site Pin
Pete O'Hanlon3-Feb-13 3:57
protectorPete O'Hanlon3-Feb-13 3:57 
GeneralRe: How to List Banks in a Country in web site Pin
akhil lal3-Feb-13 22:14
memberakhil lal3-Feb-13 22:14 
AnswerRe: How to List Banks in a Country in web site Pin
Eddy Vluggen3-Feb-13 1:26
mvpEddy Vluggen3-Feb-13 1:26 
AnswerRe: How to List Banks in a Country in web site Pin
jschell3-Feb-13 6:27
memberjschell3-Feb-13 6:27 
AnswerRe: How to List Banks in a Country in web site Pin
Abhinav S3-Feb-13 7:00
mvpAbhinav S3-Feb-13 7:00 
QuestionHo to draw a regression line in windows forms charts? Pin
raymond leadingham2-Feb-13 9:00
memberraymond 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? Pin
Peter_in_27802-Feb-13 10:08
memberPeter_in_27802-Feb-13 10:08 
GeneralRe: Ho to draw a regression line in windows forms charts? Pin
raymond leadingham2-Feb-13 10:17
memberraymond leadingham2-Feb-13 10:17 
GeneralRe: Ho to draw a regression line in windows forms charts? Pin
raymond leadingham2-Feb-13 11:36
memberraymond leadingham2-Feb-13 11:36 
GeneralRe: Ho to draw a regression line in windows forms charts? Pin
Peter_in_27802-Feb-13 14:52
memberPeter_in_27802-Feb-13 14:52 
Questionusing iTextSharp and c# for page numbers Pin
Tom Paronis2-Feb-13 5:50
memberTom Paronis2-Feb-13 5:50 
AnswerRe: using iTextSharp and c# for page numbers Pin
Abhinav S2-Feb-13 7:05
mvpAbhinav S2-Feb-13 7:05 
GeneralRe: using iTextSharp and c# for page numbers Pin
Tom Paronis2-Feb-13 8:06
memberTom Paronis2-Feb-13 8:06 
QuestionHow to investigate ExecutionEngineException Pin
KASR11-Feb-13 22:21
memberKASR11-Feb-13 22:21 
AnswerRe: How to investigate ExecutionEngineException Pin
Richard MacCutchan1-Feb-13 22:55
mvpRichard MacCutchan1-Feb-13 22:55 
QuestionMdi Child Window Z-Order Pin
Richard Andrew x641-Feb-13 12:16
memberRichard Andrew x641-Feb-13 12:16 
AnswerRe: Mdi Child Window Z-Order Pin
jibesh1-Feb-13 12:43
memberjibesh1-Feb-13 12:43 
GeneralRe: Mdi Child Window Z-Order Pin
Richard Andrew x641-Feb-13 13:08
memberRichard Andrew x641-Feb-13 13:08 
GeneralRe: Mdi Child Window Z-Order Pin
jibesh1-Feb-13 13:10
memberjibesh1-Feb-13 13:10 
AnswerRe: Mdi Child Window Z-Order Pin
DaveyM691-Feb-13 23:57
mentorDaveyM691-Feb-13 23:57 
AnswerRe: Mdi Child Window Z-Order Pin
Alan N2-Feb-13 6:17
memberAlan N2-Feb-13 6:17 
QuestionStrip special characters in row of data Pin
vanikanc1-Feb-13 5:41
membervanikanc1-Feb-13 5:41 
AnswerRe: Strip special characters in row of data Pin
Eddy Vluggen1-Feb-13 6:53
mvpEddy Vluggen1-Feb-13 6:53 
AnswerRe: Strip special characters in row of data Pin
Ennis Ray Lynch, Jr.1-Feb-13 8:15
memberEnnis Ray Lynch, Jr.1-Feb-13 8:15 
QuestionC#,ASP.Net Pin
sujeet3211-Feb-13 0:51
membersujeet3211-Feb-13 0:51 
AnswerRe: C#,ASP.Net Pin
Simon_Whale1-Feb-13 1:06
memberSimon_Whale1-Feb-13 1:06 
AnswerRe: C#,ASP.Net Pin
Dave Kreskowiak1-Feb-13 1:30
mvpDave Kreskowiak1-Feb-13 1:30 
AnswerRe: C#,ASP.Net Pin
Abhinav S1-Feb-13 8:16
mvpAbhinav S1-Feb-13 8:16 
Questionhow to change the background color of a selected row in datagridview Pin
NarVish31-Jan-13 21:37
memberNarVish31-Jan-13 21:37 
AnswerRe: how to change the background color of a selected row in datagridview Pin
OriginalGriff31-Jan-13 22:21
mvpOriginalGriff31-Jan-13 22:21 
GeneralRe: how to change the background color of a selected row in datagridview Pin
NarVish31-Jan-13 22:35
memberNarVish31-Jan-13 22:35 
GeneralRe: how to change the background color of a selected row in datagridview Pin
OriginalGriff31-Jan-13 22:38
mvpOriginalGriff31-Jan-13 22:38 
GeneralRe: how to change the background color of a selected row in datagridview Pin
Richard MacCutchan31-Jan-13 22:39
mvpRichard MacCutchan31-Jan-13 22:39 
GeneralRe: how to change the background color of a selected row in datagridview Pin
OriginalGriff31-Jan-13 22:46
mvpOriginalGriff31-Jan-13 22:46 
AnswerRe: how to change the background color of a selected row in datagridview Pin
Richard MacCutchan31-Jan-13 22:38
mvpRichard MacCutchan31-Jan-13 22:38 
GeneralRe: how to change the background color of a selected row in datagridview Pin
NarVish31-Jan-13 22:45
memberNarVish31-Jan-13 22:45 
QuestionHow to write events in event log using Log4net Pin
venkatpappu31-Jan-13 21:28
membervenkatpappu31-Jan-13 21:28 
AnswerRe: How to write events in event log using Log4net Pin
Richard MacCutchan31-Jan-13 22:11
mvpRichard MacCutchan31-Jan-13 22:11 
QuestionThread.Abort - using and lock statement Pin
devvvy31-Jan-13 15:49
memberdevvvy31-Jan-13 15:49 
AnswerRe: Thread.Abort - using and lock statement Pin
Dave Kreskowiak31-Jan-13 17:53
mvpDave Kreskowiak31-Jan-13 17:53 
GeneralRe: Thread.Abort - using and lock statement Pin
devvvy31-Jan-13 17:59
memberdevvvy31-Jan-13 17:59 
GeneralRe: Thread.Abort - using and lock statement Pin
Dave Kreskowiak31-Jan-13 19:05
mvpDave 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
Web03 | 2.8.150728.1 | Last Updated 30 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid