Geeks With Blogs
rusty "Razorblade" coslett stainless musings
When using the Ultrachart I have found only through pain that I was trying to do too much too fast.  Here are a few insights I have into using the Ultrachart.

There are different 'levels' of usage in order of your understanding that is required.  I will refer to Design-Time Creation and Run-Time Creation by my acronyms DTC and RTC respectively.

Choose one method (you still pick the type of chart(s) you want).
  1. DTC Simple Chart
  2. DTC Composite Chart
  3. RTC Simple Chart
  4. DTC Composite Chart
Then work your way down until you get the results you want.
  1. DTC Data Binding
  2. RTC Data Binding
  3. RTC DataPoints
  4. RTC Handling Render/Draw events
On top of the choices above, you also have a choice of rendering.  A note as well (unless a later update fixed this) the results can be very different and the same setup may not work with both methods.
  1. Drag/Drop Rendering
  2. Image Rendering (chart.SaveTo a Stream)

Depending on your needs, start very small and use the DTC in a simple way to peak into what is going on under the covers.  Binding is not always a good thing unless you transform the real data into exactly what you want.  I had a little bit of reuse of the data containers so I massaged them into other objects to make the charting easier.

I ultimately ended up with a RTC Composite Chart (column and scatter) using Datapoints and IRenderLabels with Infra 6.3.  It was an extremely frustrating process and yet rewarding.  I had an advantage that I already had an example of what the customer wanted in Excel so I could reverse engineer what Excel did to help guide me.

I still think using a toolkit is better than rolling your own unless you are a really good charting/drawing person and have the time to make it nice.  No matter what you use it will feel like it is lacking.  I am so tired of reinventing the wheel only to find my wheel is not any better than the one I could have bought for cheaper (accounting for my time). 

If you are wanting a learning experience then by all means have fun, otherwise, make the customer happy and satisfy your curiosity after implementation!

Here is another post of mine about the Ultrachart that might be helpful (link). 

Updated: Adding link for future reading.
Updated: 2008.10.01

rusty Posted on Friday, September 26, 2008 11:59 AM .NET , the Meanderings | Back to top


Comments on this post: Infragistics Ultrachart Newbie Insight

# re: Infragistics Ultrachart Newbie Insight
Requesting Gravatar...
If you already have the chart in Excel, you might want to consider using SpreadsheetGear 2008 which can create, read, modify, calculate and write Excel 97-2007 workbooks as well as render Excel compatible charts in Windows Forms and ASP.NET applications. SpreadsheetGear 2008 does support Composite Charts.

Kind Regards,
Joe Erickson
Founder & CEO
SpreadsheetGear LLC
Left by Joe Erickson on Sep 29, 2008 11:48 AM

# re: Infragistics Ultrachart Newbie Insight
Requesting Gravatar...
Thanks for the feedback, I noted that you support xlsx now. Great!

rusty
Left by rusty on Sep 29, 2008 12:42 PM

# re: Infragistics Ultrachart Newbie Insight
Requesting Gravatar...
Thank you for sharing your experience regarding development with the Infragistics UltraChart. There is indeed a large range of uses for this chart control from the very simple to the highly complex. I know from experience that it does take some getting used to but it is indeed highly rewarding once you get the hang of it. It seems you were able to successfully create a very complex chart type, composite with the IRenderLabel interface. To aid developers such as yourself to get to this level of complexity, I posted a complete how to in using the Infragistics UltraChart control. This post will cover the basics in setting up a chart, minor modifications such as custom axis ranges, and complex modifications as you have in your chart.
Left by Sung Kim on Sep 29, 2008 3:18 PM

# re: Infragistics Ultrachart Newbie Insight
Requesting Gravatar...
Thanks for the responses. @Sung Kim, yes I used your blog post to get started and then had to extrapolate from there. I am still having an issue with a different composite chart with multiple series that are not showing up in the legend though.

I will keep plugging away at it.

rusty
Left by rusty on Sep 30, 2008 7:52 AM

Your comment:
 (will show your gravatar)


Copyright © rusty | Powered by: GeeksWithBlogs.net