General Tips
Tip: Trade Shows
With summer approaching, we're getting ready to attend several
industry trade shows. We'll be including information about them
here as soon as we've confirmed our attendance so you'll have
plenty of time to get signed up.
Microsoft Tech·Ed 2007
- Dundas Data Visualization is a Bronze Sponsor for
Microsoft's
Tech·Ed 2007 show, June 4-8 in Orlando, Florida. Dundas
will be in Booth 614 if you want to say "Hi!"
No Help Viewer Installed
If the Microsoft Document Explorer (the application used to read
Microsoft Help files, such as the Dundas documentation) is installed
in a non-standard location, you will need to manually install the
documentation for your Dundas products. Read on for details about
this simple process.
read more »

Tip: Grid Lines on Multiple Chart Areas
Say you've got a form with several bar charts aligned horizontally,
so they look like they're all part of the same logical chart. How can you
set up Y Axis major grid lines so they span the entire logical chart?
Disable the Axis.LabelStyle,
Axis.MajorTickMark and Axis.MinorTickMark
properties on all but the leftmost chart. Don't disable the entire
Axis on the other charts or the GridLines will not
be displayed.
You will also have to adjust the width of the first chart to account
for the width of the Y Axis labels (or reduce the width of the other
charts).
(This tip comes from a question in the Dundas Support Forum; you
can read the original question and response by clicking
here.)
Tip: Getting Chart Coordinates in a Click Event
If you attempt to get coordinates from a Chart in its Click event,
you can recieve NaN as the answer. How is this possible? If the
Chart's areas haven't been calculated previously, the values used
by the Axis' PixelPositionToValue() method haven't
been initialized.
Use the ChartAreas' ReCalc() method
before calling PixelPositionToValue() to make sure
the values have been initialized properly.
(This tip comes from a question in the Dundas Support Forum; you
can read the original question and response by clicking
here.)

Tooltips in Reporting Services
Reporting Services currently
has a
limitation of one tooltip per control;
be aware of this limitation when designing your application.
To correctly set the tooltip, don't use the Properties
window of VisualStudio. Instead, follow these steps:
-
Right-click your Gauge control, then choose Properties from the
context menu.
-
Switch to the Advanced tab.
-
Select the Gauge Control in the dropdown list.
-
Set its ToolTip property.
read more »

ESRI Shapefiles (.shp)
Looking for ESRI Shapefiles (.shp) to use with Map? You're in luck,
because we have quite a few of them on the Dundas web site, including
US zip codes, US counties, maps with administrative boundaries, geologic
data, and lots more.
read more »
Clickable Symbols
If you've got symbols on your map, and you'd like to perform an
operation when the user clicks one, use the Map control's
Click event and the HitTest() method to figure
out which object was clicked:
protected void MapControl1_Click(object sender, ClickEventArgs e)
{
HitTestResult test = e.MapControl.HitTest(e.X, e.Y);
if (test.Object is Symbol)
{
Symbol symbol = (Symbol)test.Object;
Response.Redirect(
ResolveUrl("/Content/Reports/NetworkReports/PlayerConnection.aspx?UserName="
+ symbol.Name));
}
}
read more »
|