[Category("General")]
[Description("The Interactivity object associated with the legend item.")]
public Interactivity Interactivity {get;}
Remarks
With the Interactivity object you can control the tooptips, mouse cursor change
and browser redirection (HTML image maps only) associated with the legend item. For more information on the Interactivity object and the interactivity features take a look at the "Interactivity" book in the Users Guide.
Example
The following examples adds a new item to the legend and changes its tooptip.
<para>
Dim legend As Legend = CType(NChartControl.Legends(0), Legend)
legend.Mode = LegendMode.Manual
</para><para>
Dim item As LegendDataItem = New LegendDataItem()
item.Text = "New item"
item.Interactivity.Tooltip = "New item"
</para><para>
legend.Data.Array.Add(item)
</para>
<para>
Legend legend = (Legend)NChartControl.Legends[0];
legend.Mode = LegendMode.Manual;
</para><para>
LegendDataItem item = new LegendDataItem();
item.Text = "New item";
item.Interactivity.Tooltip = "New item";
</para><para>
legend.Data.Array.Add(item);
</para>
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2