Click here to Skip to main content
12,297,208 members (65,534 online)
   

C#

 
GeneralRe: Cannot access string in System.String[] Pin
BobJanova5-Feb-13 4:52
memberBobJanova5-Feb-13 4:52 
QuestionC# samples Pin
Nard you3-Feb-13 20:33
memberNard you3-Feb-13 20:33 
AnswerRe: C# samples Pin
Wayne Gaylard3-Feb-13 20:48
mentorWayne Gaylard3-Feb-13 20:48 
GeneralRe: C# samples Pin
Nard you3-Feb-13 21:00
memberNard you3-Feb-13 21:00 
GeneralRe: C# samples Pin
Wayne Gaylard3-Feb-13 21:07
mentorWayne Gaylard3-Feb-13 21:07 
AnswerRe: C# samples Pin
Abhinav S3-Feb-13 21:33
mvpAbhinav S3-Feb-13 21:33 
GeneralRe: C# samples Pin
Nard you3-Feb-13 21:47
memberNard you3-Feb-13 21:47 
AnswerRe: C# samples Pin
Amir Mohammad Nasrollahi29-Jul-13 22:52
professionalAmir Mohammad Nasrollahi29-Jul-13 22:52 
Generaloops Pin
ankul kumar from sharanpur3-Feb-13 17:37
memberankul kumar from sharanpur3-Feb-13 17:37 
AnswerRe: oops Pin
Abhinav S3-Feb-13 19:12
mvpAbhinav S3-Feb-13 19:12 
QuestionWhy is my windows chart so small, I cant change the size Pin
raymond leadingham3-Feb-13 2:47
memberraymond leadingham3-Feb-13 2:47 
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 
The code isn't here, but you may have set the size of the ChartArea1 in the designer to be a fixed size instead of Auto.

I preffer to remove all of the default collection items that dropping the chart object on the form adds, including all Legends, ChartAreas, Series, Annotations, ... and just create everything in code and add them to the appropriate collectiosn manually instead of modifying what's there. I did this without any problems:
Dim chartArea As New ChartArea("TestChartArea1")
chartArea.AlignmentOrientation = AreaAlignmentOrientations.All
chartArea.AlignmentStyle = AreaAlignmentStyles.All
Chart1.ChartAreas.Add(chartArea)
 
Dim legendArea As New Legend("TestLegend1")
Chart1.Legends.Add(legendArea)
 
Dim series As New Series("Series1")
series.ChartArea = "TestChartArea1"
series.ChartType = DataVisualization.Charting.SeriesChartType.Line
series.XValueType = DataVisualization.Charting.ChartValueType.Int32
series.YValueType = DataVisualization.Charting.ChartValueType.Int32
 
For Each p In New Integer() {1, 2, 3, 4}
    series.Points.AddXY(p, p)
Next
 
Chart1.Series.Add(series)

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 
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 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web01 | 2.8.160525.2 | Last Updated 27 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid