ComponentOne Chart for .NET (2.0) Search HelpCentral 

Interacting with C1WebChart

C1WebChart allows you to associate ToolTips and links with chart elements, so the chart responds to mouse events. This is done using an HTML image map, which is handled on the client.

The image map is defined by the ImageAreas property, a collection of chart elements with associated dynamic ToolTips and HRefs. The ToolTips allow you to specify the text that is displayed to the user when he moves the mouse over chart elements. The HRefs allow you to specify actions to be taken when the user clicks a chart element.

When the ImageAreas contains non-empty elements, C1WebChart automatically generates <map> and <area> tags, and associates the map with the chart by adding a usemap attribute to the chart’s image tag.

Note that the automatic creation of image maps does not work when the ImageRenderMethod property is set to BinaryWrite. The workaround is to create a Web chart with image maps on a Web page other than the one that contains the resulting image.


Defining the ImageAreas Property

Defining the MapArea Properties and Keywords

Using Special Keywords


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.