View Full Version : .netCharting Help

04-18-2007, 02:03 AM
Hi everyone,

I have a couple of questions about .netCharting and I hope you guys can help me out. Basically, my charts are fine and they work perfectly, they just need a little tweaking to get how I want them.
My first problem is the order of graphs along the x-axis. I have dates along the x-axis and they go from oldest (far left) to newest (far right), I wish to swap this around so that the newest is on the far left and the oldest is on the far right. How do I got about doing that?

My other problem is the number of graphs that get displayed. At the moment there are only five dates (or entries) and I wish to increase this to 10.

My graphs are retrieving the data from a local MS SQL Database. If you need any more information, just ask and I will do my best to give it to you.

Thanks in advance,


04-18-2007, 02:13 PM
I don't use .netCharting myself, but I'm wondering if you've checked the documentation (http://www.dotnetcharting.com/documentation/v4_2/Data%20Tutorials.html)?

04-18-2007, 03:01 PM
Hey mate, thanks for the help. Yes, I have had a brief look at the documentation. The reason I posted here before really taking a detailed look was because I simply didn't have the time. I'm working on a project at the moment (I'm an IT Consultant) and had to direct my attention elsewhere. Now I have had time to sit down and read it, I think I may have a fair idea of what to do for extra data entries.

As for reversing the dates, I found that code.

For anyone who is interested:

Chart.XAxis.InvertScale = true

If anyone has ideas on my other issue, please let me know. I'm sure I'll find it if I look hard enough but with help from people here, I could save a lot of time.