How to Pass parameter value into Graph query from custom web part?

I have created one sample graph using Kentico reporting application. Graph has one query with single parameter. I have to pass value in this parameter from custom web part. So how to possible to pass parameter value in Report query from custom webpart.

Correct Answer

If you are using the built-in DisplayReport control you can simply call the LoadDefaultParamaeters() functionality, you can see an example of this being used in the Report webpart: ~\CMSWebParts\Reporting\Report.ascx.cs you should use this as inspiration for your custom webpart