Trouble viewing this newsletter? Click here to read it online.

Want to subscribe or unsubscribe? Let us know!

Dundas Data Visualization · Technical Newsletter

Skip the table of contents

In this issue:

Articles

Features

Send us your feedback!

Send us your feedback!

Next month:

Editor's Note: Happy Holidays!

The various end-of-year holidays occurring this month have cut time a bit short for us here at Dundas, but it hasn't cut down on the amount of interesting and challenging things we've been taking care of. Digital dashboards (look for lots of dashboard source code in the coming months!) and something special with product add-ons will be popping up in the new year, along with the results of our continued development efforts.

Stay tuned and have a happy and safe holiday!

Looking for digital dashboard resources?

Dashboard Insight

Dundas is proud to be a 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.

New releases!

Chart for SharePoint 1.5
Gauge for SharePoint 1.5

Dundas Chart for SharePoint v1.5 has been released and includes nearly a dozen new features and several helpful bug fixes.

Dundas Gauge for SharePoint v1.5 has been released, sporting several new features and helpful bug fixes.

For information about upgrading Dundas products, please refer to this article.

Feedback

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

Updates

The Dundas Support website now includes a Featured Article section, highlighting a different support article every month. Be sure to check the support home page every month to see the featured article.

- Chris Herborth

Jump back to the Table of Contents.

Articles

Formatting Values in OLAP Services

Formatting Values in OLAP Services

The best place to format values when using Dundas OLAP Services is in the Analysis Services database. This allows the values to be formatted appropriately in all client applications, and prevents you from writing code for the chart and/or grid separately to accomplish this. Read more to find out how!

Read full article

Hiding the Web Part Toolbar

Dundas Chart's AJAX Toolbar

Sometimes, you don't want the AJAX toolbar to appear when using Dundas Chart for SharePoint. A line of code in the Dundas Web Part's code editor can be used to disable the Web Part's toolbar. This toolbar should be distinguished from the Dundas Chart toolbar, which offers viewers of the chart to manipulate its properties using AJAX, and is enabled through the chart web part's Advanced Properties.

Read full article

Configuring Dundas HTTP handlers for IIS 7 and up

Setting IIS 7 to Classic mode

In IIS 7, a new integrated .NET mode was introduced as the recommended way to run ASP.NET applications. When using integrated mode, the HTTP handler for Dundas Chart for ASP.NET must be configured differently to work without issues. This applies to servers running Windows Vista and Windows Server 2008 or newer. This also applies only where the application pool has been configured to run in "Integrated" .NET/pipeline mode.

Read full article

Jump back to the Table of Contents.

Add-ons

This month we've got one add-ons for you, a class and code that you can mix in with your own code to get more out of your Dundas products. Dundas add-ons include full source code for the add-on class and sample code demonstrating what it does and how to use it.

Net Present Value (NPV)

Net Present Value

Net Present Value (NPV) is a common financial tool used to help determine if long-term projects are feasible and which projects are worthy investments. NPV is commonly used in capital budgeting and throughout economics. The goal of NPV is to measure the in-flows and out-flows of cash in present-value terms. This add-on will calculate the NPV and plot the data based on the cash flow data.

Read full article

Download

Jump back to the Table of Contents.

Chart

Get more out of Dundas Chart in your applications. In this section, we take a closer look at a Chart sample and one of Chart's properties, and discuss tips and questions about using Dundas Chart.

Featured Sample

The Three Line Break Chart Type sample displays a Three Tine Break chart in the Dundas Chart Samples Environment (under Financial Charting → Price Change Financial Charts → Three Line Break Chart). This demo lets you define the number of lines in the break to adjust the sensitivity of the reversal criteria.

Read more…

Featured Property

The AnimationTheme property gets or sets a predefined animation theme used during Chart animations. Possible values are defined in the AnimationTheme enumeration, and the default value is AnimationTheme.None.

Read more…

Tips

Tips and tricks for using Chart.

Serializing a Chart as a template
A chart's (or gauge's or map's) properties can be serialized into a file using the Serializer.Save() method. The Save() method will persist the object the way it is at the time of the method call, so you should persist the object when it is fully configured and populated with data.

Read more…

Questions & Answers

You've got questions about Chart, we've got answers!

Q. Can I use one data reader object to create more than one series?
A. Yes, you can use one data reader object to create more than one series if you use Microsoft SQL Server because Microsoft SQL Server supports batch queries. The SqlDataReader class' NextResult() method is used to process multiple results, which are generated by executing batch Transact-SQL statements. By default, the data reader is positioned on the first result.

Read more…

Jump back to the Table of Contents.

Gauge

Get more out of Dundas Gauge in your applications. In this section, we take a closer look at a Gauge sample and one of Gauge's properties, and discuss tips and questions about using Dundas Gauge.

Featured Sample

The Deflection Gauge sample displays two different methods of creating deflection gauges in the Dundas Gauge Samples Environment (under Gauge Applications → Deflection Gauge). This demo shows one deflection gauge with a secondary gauge that counts revolutions, and another using an LED counter.

Read more…

Featured Property

The BackColor property specifies the background color used by the gauge component, such as the BackFrame.

Read more…

Tips

Tips and tricks for using Gauge.

Cache your Binary Stream
Caching a Binary Streamed image has the advantage that the image will not be recreated every time a user requests the page. This way, each request is served from the web server's cache and is updated after the specified time has expired. This can save valuable processor and memory resources for gauges (and charts and maps) that don't change very often.

Read more…

Questions & Answers

You've got questions about Gauge, we've got answers!

Q. Why are temporary images created in my root directory by Dundas Gauge for ASP.NET?
A. Dundas Gauge for ASP.NET works by generating images which are viewed in the client's browser. When an ASPX page that has a Gauge control on it is rendered into HTML and sent to the client, it contains an <img> tag that refers to an image on the server. These images need to be generated by the server for the client's browser to retrieve them.

Read more…

Jump back to the Table of Contents.

Map

Get more out of Dundas Map in your applications. In this section, we take a closer look at a Map sample and one of Map's properties, and discuss tips and questions about using Dundas Map.

Featured Sample

The Route Tracing sample displays an interactive driving route through Livingston, Alabama via US Highway 59N in the Dundas Map Samples Environment (under Map Applications → Route Tracing). This demo shows a marker representing a car, which traverses the highway as the user moves the vertical scroll bar. The map view is automatically panned to keep the vehicle centered in the view.

Read more…

Featured Property

The BackColor property specifies the background color used by the map component, such as the Frame, LegendCell, MapLabel or Panel.

Read more…

Tips

Tips and tricks for using Map.

Displaying Dundas Chart as Symbols On Your Map
Dundas Chart can be placed on your map as a symbol, legend icon, or an image within Map's Images collection. To implement a solution which uses Dundas Chart within Map, first put Dundas Chart in BinaryStreaming mode. Then, within an element in Map, reference the full URL path which leads to the ASPX page containing the Chart. Though the example application within the article uses static images for the Chart legend icons, dynamic images can be used as well by making a second Chart ASPX page.

Read more…

Questions & Answers

You've got questions about Map, we've got answers!

Q. How do I show only some elements in the legend or color swatch panel?
A. When the ShowInLegend or ShowInColorSwatch property is set on a shape, path, symbol or group rule the elements and their colors generated by the rule are automatically added to the legend's Items collection or to the color swatch panel. If you have a lot of elements and the rule's field property is set to "(Name)", then this may cause the legend or color swatch to become unreadable due to the high number of items. Use the Category property of your rule and elements to restrict the contents of the legend or swatch.

Read more…

Jump back to the Table of Contents.