Trouble viewing this newsletter? Click here to read it online.
Dundas Data Visualization Technical Newsletter Brought to you by!

Editor's Note: SD Times 100

Earlier this month, Dundas exhibited at the Microsoft Tech·Ed 2007 show in Orlando, Florida. Dundas Data Visualization was a Bronze Sponsor for this show and we had a great time there. Thanks to everyone who dropped by our booth!

Dundas Consulting Our new Dundas Consulting website is now live. Take a look and let us know what you think! We're here to help you by building parts for custom business dashboards and custom user interfaces, help integrate our products with your software, and provide training for your developers. By helping you with what we're good at, you can quickly build your applications while concentrating on what you're good at!

SD Times 100 Once again, Dundas Software has been named to the SD Times 100 list in the Components category.

"The winners of this year's SD Times 100 awards have demonstrated their leadership in shaping the software development industry," said David Rubinstein, Editor-in-Chief of SD Times. "We took into account each nominee's products and services, its reputation among development managers, and the new ideas it brought out. These select individuals and organizations are the ones we identified as helping to move the art of development forward."

Dashboard Insight Dundas is proud to be a founding sponsor of Dashboard Insight, a new online magazine focused on everything related to the digital dashboard industry. We see Dashboard Insight as a comprehensive online destination designed to be the paramount resource for all decision makers in the industry. It offers informative articles, expert interviews, the latest news and much more - posted regularly, in a well-organized, highly navigable library. So check out the instructive articles from Dundas staff.

Next month look for several new recurring articles in the newsletter, showcasing our samples, product features, and detailing each product's properties.

- Chris Herborth

In this issue In this Issue: June, 2007

Contents logo

Send us your feedback!


Financial and Statistical Formulas in Chart

Dundas Chart Dundas Chart supports more than three dozen different financial and statistical formulas intended to provide data analysis in your chart application.

While these formulas are immediately recognizable by analysts, developers might be unfamiliar with them. Knowing more about the available formulas will help you choose the right ones for your application and will also help you when you need to communicate Chart's abilities to the end users of your application.

Read full article

Adding Data Points to a Chart 2, Iterators (Beginners)

Dundas Chart If you're new to Chart, one of the issues facing you is how to get data into the chart so you can put Dundas's code through its paces. In this article, you'll see how to use an enumerator and Chart's data binding features to fill a chart with data automatically.

Sample included! Note this article is for beginners; if you're new to Dundas Chart, this will help you get started.

Read full article

Custom Drawing in Dundas Map

Dundas Chart You can perform custom drawing on your map by using the GDI+ functions during the PostPaint or PrePaint events. (In Reporting Services, these events can be accessed from Map's code editor.) These two events fire for each element that is drawn: the Viewport, followed by Shapes, Paths, and then Symbols. The PrePaint event fires prior to the painting of an element, and the PostPaint event fires after the painting is complete.

This article tells you how to take advantage of these events to add custom drawing elements to your map, and includes both C# and VisualBasic.NET sample code.

Read full article

Tips n' Tricks Chart | Gauge | Map

General Tips

Tip: Where do I go for help?

There are many resources available for developers who need help with Dundas products; spending a few minutes searching them will almost always give you the help you need.

All of our documentation is available online:

The Dundas Support Forums have individual categories for each of our products and are frequented by our excellent support personnel as well as developers like you. You can join for free and you can provide us with feedback, too.

Got a question that you need answered quickly? Dundas provides email support and phone support (in North America, call 800-463-1492; international customers, call + 001 416-467-5100). You get 60 days of unlimited email and phone tech support when you buy a Dundas product, and you can also subscribe to unlimited support on a year-by-year basis.

Every month we publish the free Dundas Technical Newsletter; you can find an archive of past issues on the website. To sign someone up (normally you do this when downloading evaluation copies of our software), just send us email. If you don't want to receive the newsletter anymore, you can easily take yourself off the mailing list.

read more »

Tip: Dundas Consulting

Need help getting a project off the ground? Don't have time to add our products into your application, or build that custom dashboard you need to make your software stand out? We can help you do what you're best at by doing what we're best at; adding the world's best charting, gauges, and maps to your applications. Let us help jump-start your project!

read more »

Tip: Article and Tip Ideas

Got something you'd like to see in the technical newsletter? Send us your ideas, or join the Support Forum!

read more »


Tip: Version of Chart has been released.

This minor release of Dundas Chart for .NET fixes bugs related to rendering ToolTips on Windows Vista, and scrolling anchored annotations.

read more »

Tip: Avoiding Overlapping labels in Pie or Doughnut Charts

SmartLabels™/Auto Position aren't supported on Pie or Doughnut charts. If you have a lot of slices, the labels might be drawn very closely together or overlap. Luckily, there are a number of possibilities for keeping them from overlapping.

read more »

Tip: Making Chart Display All Labels On The X Axis

When there are many data labels on an axis, Dundas Chart starts skipping labels to produce a cleaner image. You can force the chart to show all labels on an axis by setting the axis' Interval property to one.

read more »


Tip: Moving a Custom Label With The Pointer

To create a label that moves around your gauge with the gauge's pointer, add a custom label. Then, use the gauge container's ValueChanged event to ensure that the label's Value property is set to the same value.

read more »

Tip: Handling Mouse Wheel Events

Both Chart and Gauge inherit from the Control class, which lets us use the MouseWheel event to handle mouse wheel clicks and movement for either of these controls. Read more to find out how.

read more »


Tip: Using a Shape Rule with Specific Shapes

Content elements (shapes, paths, symbols and groups) and their rules both have Category properties that you can use to associate rules with elements. For example, you can set the Category property of certain shapes to "Country" and for other shapes to "Water Bodies." By also assigning the Category property of your shape rule to a category, only those shapes will have the rule applied to them.

read more »

Tip: Save Your Map as an Image File

You can use a map's SaveAsImage() method to create an image file of the current map. SaveAsImage() supports the BMP, EMF, Flash, GIF, JPEG, PNG, SVG and TIFF formats.

read more »

Dundas Q & A Chart | Gauge | Map


Q. Why do I receive the error "Unable to add selected web part(s)" when I try to use the Dundas Chart Web Part?

A. On some systems, you must reset the server process after installation before the Dundas Chart Web Part can be used.

read more »

Q. How do I keep Internet Explorer 6 from hanging when using interactive Chart features in SharePoint?

A. With SharePoint installed, IIS uses 'GZIP' compression on all its requests by default. Normally this does not cause a problem, but Dundas Chart's interactive features, such as scrolling, zooming and the user interface, require callback requests. When Internet Explorer 6 receives these compressed AJAX callback responses, it can become unresponsive.

read more »

Q. How can I specify the z-order of the series in the chart?

A. The series doesn't have a property that you set to determine the z-order, but instead the z-order is determined by its position in the collection. If you have three series, for example, the last series to be added (the one in the bottom of the list) will be drawn on top of the others. If there is a series that you want on top of the other series, the easiest time to do this is at design time.

read more »



Q. Can I take advantage of Ajax to make my Gauge more interactive?

A. Yes, Dundas Gauge for ASP.NET has built-in support for Ajax. The Dynamic Range sample demonstrates using the real-time streaming RenderType to update the image as the range changes.

read more »

Q. I am trying to implement the RealTime gauge functionality in my ASP.NET application, but it does not work. I have done everything required, but the Gauge is not updating.

A. The most common reason for the Dundas Gauge's RealTime functionality not working is when the Pointer.ValueSource property is not referencing the ValueSource engine. This is because the real time callback function only updates the value source and relies on a pointer to reference the value source.

read more »



Q. What does the ProjectionCenter property do?

A. If there is any perspective involved in projecting the map onto an image, the ProjectionCenter coordinates set what map coordinates are "front and center." Some projections don't use these coordinates at all, while others use both the X and Y coordinates to project the map into a 3D space.

read more »

Q. How do I change how my map content is positioned in the map image?

A. Pan and zoom the map to display it the way you want by using the Viewport.ViewCenter and Viewport.Zoom properties, either in the designer or in your code.

read more »

Q. How do I use geographical coordinates in Dundas Map?

A. If you have real-world coordinates, for example 43°39′00″N, 79°23′00″W, enter these as double values, with West and South as negative, i.e. X=-79.23, Y=43.39.

read more »