pop-up graph

Hello sir,

I want to show two pop-up graphs after clicking on the "Graph" button. Please refer to index4.html & graph.js file for data which is attached below & make changes accordingly.

Thanks
Rahul Kumar

Attachment: RRR__Copy_a64500fa.zip

7 Replies 1 reply marked as answer

RK Rahul Kumar December 16, 2020 06:26 AM UTC

Hello sir,

Please reply & resolve my query mentioned above

Thanks
Rahul Kumar


DG Durga Gopalakrishnan Syncfusion Team December 16, 2020 02:33 PM UTC

Hi Rahul,

You can use dialog control to display the chart in pop up while clicking the Graph button. Please refer the below links to know more about dialog.


Kindly revert us if you have any concerns.

Regards,
Durga G



RK Rahul Kumar December 16, 2020 02:46 PM UTC

Hello sir,
I appreciate it, but i have already seen the links you have shared and also used dialog control but it doesn't work, as i want to show two graphs or multiple graphs in one dialog box. So, i want you to make changes in my code snippet shared above.

Thanks 
Rahul Kumar


RK Rahul Kumar December 17, 2020 12:39 PM UTC

Hello sir,

Please refer to index4.html & graph.js file & make changes in my code snippet attached below.
I want to show multiple graphs in pop-up form( dialog) on the button click event.

Thanks
Rahul Kumar

Attachment: RRR__Copy_d410391a.zip


DG Durga Gopalakrishnan Syncfusion Team December 17, 2020 02:16 PM UTC

Hi Rahul,

We have ensured the provided sample, since graph is rendered using Plotly graphing library, we have prepared a separate sample to render a Syncfusion chart in dialog control. Please find the sample below.


Please revert us if you have any concerns.

Regards,
Durga G




RK Rahul Kumar December 18, 2020 05:28 AM UTC

Hello sir,

I have used ejchart instead of plotly library, but it is still not working. Please refer to my snippet code index4.html file & make changes accordingly.

Thanks
Rahul Kumar

Attachment: index4_cd264e9a.zip


DG Durga Gopalakrishnan Syncfusion Team December 21, 2020 08:48 AM UTC

Hi Rahul,

We have ensured the provided sample. The method name used for button click function and calling of method differs, so dialog box doesn't display. We have modified the sample and attached for your reference. 

function Graph() {
    $("#graphdialog").ejDialog("open");
}


Please revert us if you have any concerns.

Regards,
Durga G


Marked as answer
Loader.
Up arrow icon