Click here to Skip to main content
15,905,073 members
Home / Discussions / C#
   

C#

 
AnswerRe: form don't respond immiditly Pin
OriginalGriff3-Feb-13 22:09
mveOriginalGriff3-Feb-13 22:09 
AnswerRe: form don't respond immiditly Pin
DaveyM694-Feb-13 2:20
professionalDaveyM694-Feb-13 2:20 
GeneralRe: form don't respond immiditly Pin
mohammadkaab5-Feb-13 22:50
mohammadkaab5-Feb-13 22:50 
GeneralRe: form don't respond immiditly Pin
DaveyM697-Feb-13 8:00
professionalDaveyM697-Feb-13 8:00 
QuestionCannot access string in System.String[] Pin
AmbiguousName3-Feb-13 21:06
AmbiguousName3-Feb-13 21:06 
AnswerRe: Cannot access string in System.String[] Pin
Jibesh3-Feb-13 21:19
professionalJibesh3-Feb-13 21:19 
GeneralRe: Cannot access string in System.String[] Pin
AmbiguousName3-Feb-13 21:21
AmbiguousName3-Feb-13 21:21 
GeneralRe: Cannot access string in System.String[] Pin
Jibesh3-Feb-13 21:29
professionalJibesh3-Feb-13 21:29 
GeneralRe: Cannot access string in System.String[] Pin
BobJanova5-Feb-13 4:52
BobJanova5-Feb-13 4:52 
QuestionC# samples Pin
Nard you3-Feb-13 20:33
Nard you3-Feb-13 20:33 
AnswerRe: C# samples Pin
Wayne Gaylard3-Feb-13 20:48
professionalWayne Gaylard3-Feb-13 20:48 
GeneralRe: C# samples Pin
Nard you3-Feb-13 21:00
Nard you3-Feb-13 21:00 
GeneralRe: C# samples Pin
Wayne Gaylard3-Feb-13 21:07
professionalWayne Gaylard3-Feb-13 21:07 
AnswerRe: C# samples Pin
Abhinav S3-Feb-13 21:33
Abhinav S3-Feb-13 21:33 
GeneralRe: C# samples Pin
Nard you3-Feb-13 21:47
Nard 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
ankul kumar from sharanpur3-Feb-13 17:37 
AnswerRe: oops Pin
Abhinav S3-Feb-13 19:12
Abhinav S3-Feb-13 19:12 
QuestionWhy is my windows chart so small, I cant change the size Pin
raymond leadingham3-Feb-13 2:47
raymond 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
mveDave 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
raymond 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
mveDave 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
akhil lal2-Feb-13 20:55 
AnswerRe: How to List Banks in a Country in web site Pin
Richard MacCutchan2-Feb-13 21:28
mveRichard MacCutchan2-Feb-13 21:28 
GeneralRe: How to List Banks in a Country in web site Pin
akhil lal2-Feb-13 21:50
akhil lal2-Feb-13 21:50 

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.