Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: search mechanism Pin
mathon16-Oct-04 22:22
mathon16-Oct-04 22:22 
GeneralRe: search mechanism Pin
mathon16-Oct-04 22:29
mathon16-Oct-04 22:29 
General[Message Deleted] Pin
Bedevian16-Oct-04 7:54
Bedevian16-Oct-04 7:54 
GeneralRe: Find String in txt file Pin
Alex Korchemniy16-Oct-04 8:56
Alex Korchemniy16-Oct-04 8:56 
GeneralConsole-Like Text Output Control Or.... Pin
osirisgothra16-Oct-04 7:34
osirisgothra16-Oct-04 7:34 
GeneralRe: Console-Like Text Output Control Or.... Pin
Alex Korchemniy16-Oct-04 8:50
Alex Korchemniy16-Oct-04 8:50 
GeneralRe: Console-Like Text Output Control Or.... Pin
Alex Korchemniy16-Oct-04 8:52
Alex Korchemniy16-Oct-04 8:52 
GeneralGDI+ - line chart Pin
xiaowenjie16-Oct-04 4:56
xiaowenjie16-Oct-04 4:56 
hi all, i need to plot a line chart. i plot my graph in a rectangle. im using this method:

Rectangle myRect1 = new Rectangle (105,115,644,375);<br />
myGraphics.TranslateTransform(105,490); //origin for my x,y axis<br />
for (drawLineIndex1=0; drawLineIndex1<9; drawLineIndex1++)<br />
{							<br />
	for (index1=0; index1<10; index1++)<br />
	{<br />
         ptf[index1] =new PointF(105,(-375/maxValue)* -2.3);	<br />
         //maxValue is the higest value that i wanna plot<br />
        //in this case, -2.3 is the minimum value<br />
	}<br />
}

myGraphics.DrawLine(myPen, ptf[drawLineIndex1], ptf[drawLineIndex1+1]);
however, this method only works for +ve perfectly. but for -ve value i can't fit the -ve points within the range of my rectangle . Is there any other way to plot a line chart for -ve and +ve values?

Chris
GeneralRe: GDI+ - line chart Pin
Kiran Satish16-Oct-04 6:11
Kiran Satish16-Oct-04 6:11 
GeneralRe: GDI+ - line chart Pin
xiaowenjie16-Oct-04 9:40
xiaowenjie16-Oct-04 9:40 
GeneralRe: GDI+ - line chart Pin
Kiran Satish16-Oct-04 18:21
Kiran Satish16-Oct-04 18:21 
GeneralRe: GDI+ - line chart Pin
Alex Korchemniy16-Oct-04 9:22
Alex Korchemniy16-Oct-04 9:22 
QuestionHow can i close my Form Pin
Zapss16-Oct-04 1:31
Zapss16-Oct-04 1:31 
AnswerRe: How can i close my Form Pin
sreejith ss nair16-Oct-04 4:45
sreejith ss nair16-Oct-04 4:45 
GeneralRe: How can i close my Form Pin
Zapss16-Oct-04 20:40
Zapss16-Oct-04 20:40 
GeneralSubclass control over main class Pin
Nekosan16-Oct-04 1:00
Nekosan16-Oct-04 1:00 
GeneralRe: Subclass control over main class Pin
J4amieC16-Oct-04 2:36
J4amieC16-Oct-04 2:36 
GeneralRe: Subclass control over main class Pin
Nekosan16-Oct-04 2:47
Nekosan16-Oct-04 2:47 
GeneralRe: Subclass control over main class Pin
Alex Korchemniy16-Oct-04 9:40
Alex Korchemniy16-Oct-04 9:40 
GeneralRe: Subclass control over main class Pin
Nekosan16-Oct-04 10:01
Nekosan16-Oct-04 10:01 
GeneralRe: Subclass control over main class Pin
Alex Korchemniy16-Oct-04 10:25
Alex Korchemniy16-Oct-04 10:25 
QuestionHow to draw a custom graph/2D plot? Pin
Kiran Satish15-Oct-04 19:24
Kiran Satish15-Oct-04 19:24 
AnswerRe: How to draw a custom graph/2D plot? Pin
Alex Korchemniy16-Oct-04 8:42
Alex Korchemniy16-Oct-04 8:42 
GeneralRe: How to draw a custom graph/2D plot? Pin
Kiran Satish16-Oct-04 18:23
Kiran Satish16-Oct-04 18:23 
GeneralResource Globalization Pin
codes/w15-Oct-04 19:07
codes/w15-Oct-04 19:07 

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.