report interactive problem (Chart's HyperLink)

edited 4:27AM in FastReport .NET
I'm working with Microsoft Charts, pie chart to be exact. I set the parameters of the hyperlink to open a detail report from Chart. Actually, when the user click on white zone, fastreports.NET built and run the report in a separate preview window WITHOUT parameter VALUE

My Questions are:

1. How to I can do to disable hyperlink's event when user do click in white zone of the Chart?
2.Why I can't edit report parameter for Charts Hyperlinks?

Please, see images attach

Thanks in advance.

Comments

  • edited 4:27AM
    LuisMy wrote: »
    1. How to I can do to disable hyperlink's event when user do click in white zone of the Chart?

    Hi, this code helped me with disabling hyperlink if clicked on white zone:
     private void MSChart1_Click(object sender, EventArgs e)
        {
          Page2.Report.Preview.DeleteTab("");
        }
    

    You must create OnClick event on Chart object. Aftert click it delete empty tab immediately.

    Hope it helps.

Leave a Comment