Hi Zeljka,
Yes you can alter the generated interactivity using custom source code. In general each object that supports interactivity exposes an interactivity object. In the case of series data points those interactivity objects are stored in the interactivity styles collection of the series - the following snippet shows how to iterate trough them:
int count = bar.Values.Count;
for (int i = 0; i < count; i++)
{
NInteractivityStyle interactivity = bar.InteractivityStyles[i] as NInteractivityStyle;
if (interactivity != null)
{
NInteractivityAttributeCollection interactivityAttribytes = interactivity.InteractivityAttributes;
// do something with the interactivity attributes
}
}
Where bar is an instance of bar series. When the control generates interactivity attributes it will place one of the following attributes in the attributes collection per data point:
NRSBookmarkInteractivityAttribute
NRSDrillthroughInteractivityAttribute
NRSHyperlinkInteractivityAttribute
If you wish to disable the interactivity per data point you can simply erase the interactivity style for a particular data point:
bar.InteractivityStyles.Remove(dataPointIndex);
Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team