Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
AmbiguousName14-Jul-11 23:57
AmbiguousName14-Jul-11 23:57 
AnswerRe: Using C++ Code in C# Project/Solution? Pin
Morton song19-Jul-11 17:37
Morton song19-Jul-11 17:37 
QuestionDrawing a grid for plotting a graph Pin
Praveen Raghuvanshi12-Jul-11 19:23
professionalPraveen Raghuvanshi12-Jul-11 19:23 
AnswerRe: Drawing a grid for plotting a graph Pin
lukeer12-Jul-11 21:03
lukeer12-Jul-11 21:03 
QuestionRe: Drawing a grid for plotting a graph Pin
Praveen Raghuvanshi12-Jul-11 22:41
professionalPraveen Raghuvanshi12-Jul-11 22:41 
AnswerRe: Drawing a grid for plotting a graph [modified] Pin
lukeer13-Jul-11 0:38
lukeer13-Jul-11 0:38 
GeneralRe: Drawing a grid for plotting a graph Pin
Praveen Raghuvanshi13-Jul-11 22:31
professionalPraveen Raghuvanshi13-Jul-11 22:31 
AnswerRe: Drawing a grid for plotting a graph Pin
BobJanova12-Jul-11 22:52
BobJanova12-Jul-11 22:52 
As Lukeer says, you should calculate the canvas position from chart coordinates yourself. Using translate and scale seems clever but as you've discovered it causes text to be drawn upside down as well.

When I draw a log chart I still place gridlines linearly but label them logarithmically (e.g. 0.5, 1, 2, 4, or 1, 10, 100, 1000). I find the 'log graphpaper' approach to be fussy and generally not helpful. But if you want to do that then it is easy enough to calculate the appropriate chart coordinate Y values (log y at sensible Y values such as 1, 2, 5 each power of 10), and then you can transform those like all the other things for drawing.
QuestionXMLTextReader - Find Max Depth Pin
Kevin Marois12-Jul-11 7:30
professionalKevin Marois12-Jul-11 7:30 
AnswerRe: XMLTextReader - Find Max Depth Pin
Heath Stewart12-Jul-11 12:27
protectorHeath Stewart12-Jul-11 12:27 
AnswerRe: XMLTextReader - Find Max Depth Pin
BobJanova13-Jul-11 0:48
BobJanova13-Jul-11 0:48 
QuestionVertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 7:28
Blubbo12-Jul-11 7:28 
AnswerRe: Vertical Alignment in RichTextbox [modified] Pin
Carmelo La Monica12-Jul-11 7:55
professionalCarmelo La Monica12-Jul-11 7:55 
GeneralRe: Vertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 8:00
Blubbo12-Jul-11 8:00 
GeneralRe: Vertical Alignment in RichTextbox Pin
Carmelo La Monica12-Jul-11 8:14
professionalCarmelo La Monica12-Jul-11 8:14 
GeneralRe: Vertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 8:16
Blubbo12-Jul-11 8:16 
QuestionSQL DataGridView Pin
Falterfire12-Jul-11 6:02
Falterfire12-Jul-11 6:02 
AnswerRe: SQL DataGridView Pin
Dan Mos12-Jul-11 8:35
Dan Mos12-Jul-11 8:35 
GeneralRe: SQL DataGridView Pin
Falterfire12-Jul-11 8:58
Falterfire12-Jul-11 8:58 
AnswerRe: SQL DataGridView Pin
PIEBALDconsult12-Jul-11 17:42
mvePIEBALDconsult12-Jul-11 17:42 
QuestionManaged C# DLL called from native C main with callbacks Pin
Stuart Rubin12-Jul-11 4:18
Stuart Rubin12-Jul-11 4:18 
AnswerRe: Managed C# DLL called from native C main with callbacks Pin
Pete O'Hanlon12-Jul-11 5:57
mvePete O'Hanlon12-Jul-11 5:57 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
GuyThiebaut12-Jul-11 10:28
professionalGuyThiebaut12-Jul-11 10:28 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Stuart Rubin13-Jul-11 7:04
Stuart Rubin13-Jul-11 7:04 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Pete O'Hanlon13-Jul-11 7:09
mvePete O'Hanlon13-Jul-11 7:09 

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.