0

Anyone knows if this is possible? If yes is there any sample code so I can easily just put my data and get my chart?

gsharp
  • 27,557
  • 22
  • 88
  • 134
user579674
  • 2,159
  • 6
  • 30
  • 40
  • @digEmAll do you know how to do it for any of them? – user579674 Feb 06 '11 at 20:43
  • @user579674: no, I was just asking to know the answer to give... – digEmAll Feb 06 '11 at 20:56
  • 1
    @digEmAll so in any case you wouldn't no but you still asked. very helpful – user579674 Feb 06 '11 at 20:59
  • 1
    Actually, I know winforms mschart, but someone already answered what I would have said myself, so I won't add my answer. I asked that, because you didn't specified the GUI subsystem and so I didn't know even if I was able to answer... – digEmAll Feb 06 '11 at 21:07

1 Answers1

0

There is no such thing as a C# Chart. I think what you are referring to is Microsoft Chart Controls.

Check here for examples.

James
  • 80,725
  • 18
  • 167
  • 237
  • Yes that's right.. The point though is that I'm using C# and want a chart.. I've already checked the examples but they require more knowledge about the charts than just a simple copy/paste.. Has anyone used something similar and point me to the right direction? – user579674 Feb 06 '11 at 20:34
  • @user579774 - Your question asks is there examples of how to put data into a chart and display....those examples do that. Scrollbars will come into play when your chart is zoomed. – James Feb 06 '11 at 20:36
  • I actually ask how to enable scrollbars.. I don't need it because I need zooming but because I have lot of data that won't fit in one screen. – user579674 Feb 06 '11 at 20:40
  • You may want to view the question @beta has posted. Seems to cover what you are looking for. – James Feb 06 '11 at 20:42
  • the only problem is that I cannot find that isuserenabled property – user579674 Feb 06 '11 at 20:46
  • @user579674: chart exposes ChartAreas collection (basically the layers in use, and normally only one is present). Every ChartArea has a `CursorX` and `CursorY` property related to the axis X and Y. Finally, they expose `IsUserEnabled/IsSelectionEnabled` properties so for example use something like `chart1.ChartAreas[0].CursorX.IsUserEnabled = true;` – digEmAll Feb 06 '11 at 21:19